Skip to main content

active

Get the most actively traded stocks based on volume.

Examples​

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

Parameters​

NameTypeDescriptionDefaultOptional
sortLiteral['asc', 'desc']Sort order. Possible values: 'asc', 'desc'. Default: 'desc'.descTrue
providerLiteral['yfinance']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: yfinance.NoneTrue

Returns​

OBBject
results : List[EquityActive]
Serializable results.

provider : Optional[Literal['yfinance']]
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.
pricefloatLast price.
changefloatChange in price value.
percent_changefloatPercent change.
volumefloatThe trading volume.