Skip to main content

snapshots

Index Snapshots. Current levels for all indices from a provider, grouped by region.

Examples​

from openbb import obb
obb.index.snapshots(provider='tmx')
obb.index.snapshots(region='us', provider='cboe')

Parameters​

NameTypeDescriptionDefaultOptional
regionstrThe region of focus for the data - i.e., us, eu.usTrue
providerLiteral['cboe', 'tmx']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: cboe, tmx.NoneTrue

Returns​

OBBject
results : List[IndexSnapshots]
Serializable results.

provider : Optional[Literal['cboe', 'tmx']]
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 index.
currencystrCurrency of the index.
pricefloatCurrent price of the index.
openfloatThe open price.
highfloatThe high price.
lowfloatThe low price.
closefloatThe close price.
volumeintThe trading volume.
prev_closefloatThe previous close price.
changefloatChange in value of the index.
change_percentfloatChange, in normalized percentage points, of the index.