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 for the query, by default None. If None, the provider specified in defaults is selected or 'cboe' if there is no default.cboeTrue

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.