Skip to main content

reference_rates

Get current, official, currency reference rates.

Foreign exchange reference rates are the exchange rates set by a major financial institution or regulatory body, serving as a benchmark for the value of currencies around the world. These rates are used as a standard to facilitate international trade and financial transactions, ensuring consistency and reliability in currency conversion. They are typically updated on a daily basis and reflect the market conditions at a specific time. Central banks and financial institutions often use these rates to guide their own exchange rates, impacting global trade, loans, and investments.

Parameters


Returns

results: CurrencyReferenceRates

Serializable results.

provider: Optional[Literal['ecb']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

date: date | str
The date of the data.

EUR: float | None
Euro.

USD: float | None
US Dollar.

JPY: float | None
Japanese Yen.

BGN: float | None
Bulgarian Lev.

CZK: float | None
Czech Koruna.

DKK: float | None
Danish Krone.

GBP: float | None
Pound Sterling.

HUF: float | None
Hungarian Forint.

PLN: float | None
Polish Zloty.

RON: float | None
Romanian Leu.

SEK: float | None
Swedish Krona.

CHF: float | None
Swiss Franc.

ISK: float | None
Icelandic Krona.

NOK: float | None
Norwegian Krone.

TRY: float | None
Turkish Lira.

AUD: float | None
Australian Dollar.

BRL: float | None
Brazilian Real.

CAD: float | None
Canadian Dollar.

CNY: float | None
Chinese Yuan.

HKD: float | None
Hong Kong Dollar.

IDR: float | None
Indonesian Rupiah.

ILS: float | None
Israeli Shekel.

INR: float | None
Indian Rupee.

KRW: float | None
South Korean Won.

MXN: float | None
Mexican Peso.

MYR: float | None
Malaysian Ringgit.

NZD: float | None
New Zealand Dollar.

PHP: float | None
Philippine Peso.

SGD: float | None
Singapore Dollar.

THB: float | None
Thai Baht.

ZAR: float | None
South African Rand.