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.

Examples

from openbb import obb
obb.currency.reference_rates(provider='ecb')

Parameters

NameTypeDescriptionDefaultOptional
;

Returns

OBBject
results : List[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

NameTypeDescription
dateUnion[date, str]The date of the data.
EURfloatEuro.
USDfloatUS Dollar.
JPYfloatJapanese Yen.
BGNfloatBulgarian Lev.
CZKfloatCzech Koruna.
DKKfloatDanish Krone.
GBPfloatPound Sterling.
HUFfloatHungarian Forint.
PLNfloatPolish Zloty.
RONfloatRomanian Leu.
SEKfloatSwedish Krona.
CHFfloatSwiss Franc.
ISKfloatIcelandic Krona.
NOKfloatNorwegian Krone.
TRYfloatTurkish Lira.
AUDfloatAustralian Dollar.
BRLfloatBrazilian Real.
CADfloatCanadian Dollar.
CNYfloatChinese Yuan.
HKDfloatHong Kong Dollar.
IDRfloatIndonesian Rupiah.
ILSfloatIsraeli Shekel.
INRfloatIndian Rupee.
KRWfloatSouth Korean Won.
MXNfloatMexican Peso.
MYRfloatMalaysian Ringgit.
NZDfloatNew Zealand Dollar.
PHPfloatPhilippine Peso.
SGDfloatSingapore Dollar.
THBfloatThai Baht.
ZARfloatSouth African Rand.