Skip to main content

historical

Currency Historical Price. Currency historical data.

Currency historical prices refer to the past exchange rates of one currency against another over a specific period. This data provides insight into the fluctuations and trends in the foreign exchange market, helping analysts, traders, and economists understand currency performance, evaluate economic health, and make predictions about future movements.

Parameters

symbol: Union[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.

Optional: False


start_date: Union[date, str]

Start date of the data, in YYYY-MM-DD format.

Optional: True


end_date: Union[date, str]

End date of the data, in YYYY-MM-DD format.

Optional: True


Returns

results: list[CurrencyHistorical]

Serializable results.


provider: Optional[Literal['fmp', 'polygon', 'tiingo', 'yfinance']]

Provider name.


warnings: Optional[list[Warning_]]

list of warnings.


chart: Optional[Chart]

Chart object.


extra: dict[str, Any]

Extra info.


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: Annotated[float, Gt(gt=0)]

Volume Weighted Average Price over the period.