share_price_index
Get the Share Price Index by country from the OECD.
Examples
from openbb import obb
obb.oecd.share_price_index(provider='oecd')
obb.oecd.share_price_index(country='united_kingdom,germany', frequency='quarter', provider='oecd')
Parameters
- standard
- oecd
country: str | None | list[str | None]
Default: united_states
The country to get data. Multiple items allowed for provider(s): oecd.
Choices
- argentina
- australia
- austria
- belgium
- brazil
- bulgaria
- canada
- chile
- china
- colombia
- costa_rica
- croatia
- czechia
- denmark
- estonia
- euro_area_19_countries
- euro_area_20_countries
- finland
- france
- germany
- greece
- hungary
- iceland
- india
- indonesia
- ireland
- israel
- italy
- japan
- korea
- latvia
- lithuania
- luxembourg
- mexico
- netherlands
- new_zealand
- norway
- poland
- portugal
- romania
- russia
- saudi_arabia
- sdr
- slovak_republic
- slovenia
- south_africa
- spain
- sweden
- switzerland
- turkiye
- united_kingdom
- united_states
- all
frequency: str | None
Default: monthly
The frequency of the data.
Choices
- monthly
- quarter
- annual
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format.
country: str | None | list[str | None]
Default: united_states
The country to get data. Multiple items allowed for provider(s): oecd.
Choices
- argentina
- australia
- austria
- belgium
- brazil
- bulgaria
- canada
- chile
- china
- colombia
- costa_rica
- croatia
- czechia
- denmark
- estonia
- euro_area_19_countries
- euro_area_20_countries
- finland
- france
- germany
- greece
- hungary
- iceland
- india
- indonesia
- ireland
- israel
- italy
- japan
- korea
- latvia
- lithuania
- luxembourg
- mexico
- netherlands
- new_zealand
- norway
- poland
- portugal
- romania
- russia
- saudi_arabia
- sdr
- slovak_republic
- slovenia
- south_africa
- spain
- sweden
- switzerland
- turkiye
- united_kingdom
- united_states
- all
frequency: str | None
Default: monthly
The frequency of the data.
Choices
- monthly
- quarter
- annual
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format.
Returns
results: OecdSharePriceIndex
Serializable results.
provider: str | None
Provider name.
warnings: Optional[list[Warning_]]
List of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard
- oecd
date: date | None | str
The date of the data.
country: str | None
value: float | None
Share price index value.
date: date | None | str
The date of the data.
country: str | None
value: float | None
Share price index value.