Historical Attributes
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
HistoricalAttributes | HistoricalAttributesQueryParams | HistoricalAttributesData |
Import Statement
from openbb_core.provider.standard_models.historical_attributes import (
HistoricalAttributesData,
HistoricalAttributesQueryParams,
)
Parameters
- standard
- intrinio
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. Multiple items allowed for provider(s): intrinio. | False | |
| tag | Union[str, List[str]] | Intrinio data tag ID or code. Multiple items allowed for provider(s): intrinio. | False | |
| 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 |
| frequency | Literal['daily', 'weekly', 'monthly', 'quarterly', 'yearly'] | The frequency of the data. | yearly | True |
| limit | int | The number of data entries to return. | 1000 | True |
| tag_type | str | Filter by type, when applicable. | None | True |
| sort | Literal['asc', 'desc'] | Sort order. | desc | True |
| provider | Literal['intrinio'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: intrinio. | None | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. Multiple items allowed for provider(s): intrinio. | False | |
| tag | Union[str, List[str]] | Intrinio data tag ID or code. Multiple items allowed for provider(s): intrinio. | False | |
| 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 |
| frequency | Literal['daily', 'weekly', 'monthly', 'quarterly', 'yearly'] | The frequency of the data. | yearly | True |
| limit | int | The number of data entries to return. | 1000 | True |
| tag_type | str | Filter by type, when applicable. | None | True |
| sort | Literal['asc', 'desc'] | Sort order. | desc | True |
| provider | Literal['intrinio'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: intrinio. | None | True |
Data
- standard
- intrinio
| Name | Type | Description |
|---|---|---|
| date | date | The date of the data. |
| symbol | str | Symbol representing the entity requested in the data. |
| tag | str | Tag name for the fetched data. |
| value | float | The value of the data. |
| Name | Type | Description |
|---|---|---|
| date | date | The date of the data. |
| symbol | str | Symbol representing the entity requested in the data. |
| tag | str | Tag name for the fetched data. |
| value | float | The value of the data. |