Skip to main content

Historical Attributes


Implementation details

Class names

Model nameParameters classData class
HistoricalAttributesHistoricalAttributesQueryParamsHistoricalAttributesData

Import Statement

from openbb_core.provider.standard_models.historical_attributes import (
HistoricalAttributesData,
HistoricalAttributesQueryParams,
)

Parameters

symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): intrinio.

tag: str | list[str]
Intrinio data tag ID or code. Multiple items allowed for provider(s): intrinio.

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.

frequency: Literal['daily', 'weekly', 'monthly', 'quarterly', 'yearly']
Default: yearly
The frequency of the data.

limit: int
Default: 1000
The number of data entries to return.

tag_type: str
Filter by type, when applicable.

sort: Literal['asc', 'desc']
Default: desc
Sort order.

Data

date: date | str
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.