Skip to main content

active

Get the most active ETFs.

Examples​

from openbb import obb
# Get the most active ETFs.
obb.etf.discovery.active(provider='wsj')

Parameters​

NameTypeDescriptionDefaultOptional
sortLiteral['asc', 'desc']Sort order. Possible values: 'asc', 'desc'. Default: 'desc'.descTrue
limitintThe number of data entries to return.10True
providerLiteral['wsj']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: wsj.NoneTrue

Returns​

OBBject
results : List[ETFActive]
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.
datedateThe date of the data.