Share Price Index
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
SharePriceIndex | SharePriceIndexQueryParams | SharePriceIndexData |
Import Statement
from openbb_core.provider.standard_models.share_price_index import (
SharePriceIndexData,
SharePriceIndexQueryParams,
)
Parameters
- standard
- oecd
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.
country: str
Default: united_states
The country to get data.
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
- standard
- oecd
date: date | str
The date of the data.
country: str
value: float
Share price index value.
date: date | str
The date of the data.
country: str
value: float
Share price index value.