Skip to main content

Currency Historical


Implementation details

Class names

Model nameParameters classData class
CurrencyHistoricalCurrencyHistoricalQueryParamsCurrencyHistoricalData

Import Statement

from openbb_core.provider.standard_models.currency_historical import (
CurrencyHistoricalData,
CurrencyHistoricalQueryParams,
)

Parameters

symbol: str | list[str]
Symbol to get data for. Can use CURR1-CURR2 or CURR1CURR2 format. Multiple items allowed for provider(s): fmp, polygon, tiingo, yfinance.

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.

Data

date: Union[Union[date, datetime], str]
The date of the data.

open: float
The open price.

high: float
The high price.

low: float
The low price.

close: float
The close price.

volume: float
The trading volume.

vwap: float
Volume Weighted Average Price over the period.