Skip to main content

gainers

Get the top ETF gainers.

Examples

from openbb import obb
# Get the top ETF gainers.
obb.etf.discovery.gainers(provider='wsj')

Parameters

NameTypeDescriptionDefaultOptional
sortLiteral['asc', 'desc']Sort order. Possible values: 'asc', 'desc'. Default: 'desc'.descTrue
limitintThe number of data entries to return.10True

Returns

OBBject
results : List[ETFGainers]
Serializable results.

provider : Optional[Literal['wsj']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data

NameTypeDescription
symbolstrSymbol representing the entity requested in the data.
namestrName of the entity.
last_pricefloatLast price.
percent_changefloatPercent change.
net_changefloatNet change.
volumefloatThe trading volume.
dateUnion[date, str]The date of the data.