Skip to main content

Index Snapshots


Implementation details​

Class names​

Model nameParameters classData class
IndexSnapshotsIndexSnapshotsQueryParamsIndexSnapshotsData

Import Statement​

from openbb_core.provider.standard_models.index_snapshots import (
IndexSnapshotsData,
IndexSnapshotsQueryParams,
)

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

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.