Skip to content

Currency


enum backtide.data.Currency

An ISO 4217 currency tied to a specific country or supranational union.

Variant names are identical to their 3-letter ISO codes.

  • AED
  • AFN
  • ALL
  • AMD
  • AOA
  • ARS
  • AUD
  • AZN
  • BAM
  • BDT
  • BGN
  • BHD
  • BND
  • BRL
  • CAD
  • CHF
  • CLP
  • CNY
  • COP
  • CRC
  • CZK
  • DKK
  • DOP
  • DZD
  • EGP
  • EUR
  • FJD
  • GBP
  • GEL
  • GHS
  • GTQ
  • HKD
  • HNL
  • HUF
  • IDR
  • ILS
  • INR
  • IQD
  • ISK
  • JMD
  • JOD
  • JPY
  • KES
  • KRW
  • KWD
  • KYD
  • KZT
  • LBP
  • LKR
  • LYD
  • MAD
  • MDL
  • MKD
  • MOP
  • MUR
  • MVR
  • MXN
  • MYR
  • MZN
  • NAD
  • NGN
  • NIO
  • NOK
  • NPR
  • NZD
  • OMR
  • PEN
  • PGK
  • PHP
  • PKR
  • PLN
  • PYG
  • QAR
  • RON
  • RSD
  • RUB
  • RWF
  • SAR
  • SCR
  • SEK
  • SGD
  • SRD
  • THB
  • TND
  • TRY
  • TTD
  • TWD
  • TZS
  • UAH
  • UGX
  • USD
  • UYU
  • UZS
  • VND
  • YER
  • ZAR
  • ZMW
Attributes

name : str

The human-readable name of the currency.

symbol : str
The currency symbol as a UTF-8 string.

country : Country
The country that issues this currency.

decimals : int
The number of decimal places conventionally used when displaying amounts in this currency, per ISO 4217.

symbol_prefix : bool
Returns true if the currency symbol is conventionally placed before the numeric amount, or false if it follows the amount.


See Also

Country

A country identified by its ISO 3166-1 alpha-3 code.

Exchange

A stock exchange.

Interval

The time resolution of a single Bar.