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

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): intrinio.False
tagUnion[str, List[str]]Intrinio data tag ID or code. Multiple items allowed for provider(s): intrinio.False
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue
frequencyLiteral['daily', 'weekly', 'monthly', 'quarterly', 'yearly']The frequency of the data.yearlyTrue
limitintThe number of data entries to return.1000True
tag_typestrFilter by type, when applicable.NoneTrue
sortLiteral['asc', 'desc']Sort order.descTrue
providerLiteral['intrinio']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'intrinio' if there is no default.intrinioTrue

Data

NameTypeDescription
datedateThe date of the data.
symbolstrSymbol representing the entity requested in the data.
tagstrTag name for the fetched data.
valuefloatThe value of the data.