House Price Index
Implementation details
Class names
Model name | Parameters class | Data class |
---|---|---|
HousePriceIndex | HousePriceIndexQueryParams | HousePriceIndexData |
Import Statement
from openbb_core.provider.standard_models.house_price_index import (
HousePriceIndexData,
HousePriceIndexQueryParams,
)
Parameters
- standard
- oecd
Name | Type | Description | Default | Optional |
---|---|---|---|---|
country | Union[str, List[str]] | The country to get data. Multiple items allowed for provider(s): oecd. | united_states | True |
frequency | Literal['monthly', 'quarter', 'annual'] | The frequency of the data. | quarter | True |
transform | Literal['index', 'yoy', 'period'] | Transformation of the CPI data. Period represents the change since previous. Defaults to change from one year ago (yoy). | index | True |
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
country | str | The country to get data. | united_states | True |
frequency | Literal['monthly', 'quarter', 'annual'] | The frequency of the data. | quarter | True |
transform | Literal['index', 'yoy', 'period'] | Transformation of the CPI data. Period represents the change since previous. Defaults to change from one year ago (yoy). | index | True |
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
Data
- standard
- oecd
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
country | str | |
value | float | Share price index value. |
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
country | str | |
value | float | Share price index value. |