Skip to main content

Crypto Historical


Implementation details​

Class names​

Model nameParameters classData class
CryptoHistoricalCryptoHistoricalQueryParamsCryptoHistoricalData

Import Statement​

from openbb_core.provider.standard_models.crypto_historical import (
CryptoHistoricalData,
CryptoHistoricalQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Can use CURR1-CURR2 or CURR1CURR2 format.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
providerLiteral['fmp', 'polygon', 'tiingo', 'yfinance']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default."fmp"True

Data​

NameTypeDescription
providerLiteral['openbb']The data provider for the data.
datedatetimeThe date of the data.
openfloatThe open price.
highfloatThe high price.
lowfloatThe low price.
closefloatThe close price.
volumefloatThe trading volume.
vwapfloatVolume Weighted Average Price over the period.