Skip to main content

Share Price Index


Implementation details

Class names

Model nameParameters classData class
SharePriceIndexSharePriceIndexQueryParamsSharePriceIndexData

Import Statement

from openbb_core.provider.standard_models.share_price_index import (
SharePriceIndexData,
SharePriceIndexQueryParams,
)

Parameters

country: str | list[str]
Default: united_states
The country to get data. Multiple items allowed for provider(s): oecd.

frequency: Literal['monthly', 'quarter', 'annual']
Default: monthly
The frequency of the data.

start_date: date | str
Start date of the data, in YYYY-MM-DD format.

end_date: date | str
End date of the data, in YYYY-MM-DD format.

Data

date: date | str
The date of the data.

country: str
value: float
Share price index value.