Skip to main content

gainers

Get the top price gainers in the stock market.

Examples

from openbb import obb
obb.equity.discovery.gainers(provider='yfinance')
obb.equity.discovery.gainers(sort='desc', provider='yfinance')

Parameters

sort: Literal['asc', 'desc']
Default: desc
Sort order. Possible values: 'asc', 'desc'. Default: 'desc'.


Returns

results: list[EquityGainers]

Serializable results.

provider: Optional[Literal['fmp', 'tmx', 'yfinance']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

symbol: str
Symbol representing the entity requested in the data.

name: str
Name of the entity.

price: float
Last price.

change: float
Change in price.

percent_change: float
Percent change.

volume: Union[float, int]
The trading volume.