Python CCY
Getting Started
- installation
- display currencies
Main Usage
A currency object has the following properties:
- code: the ISO 4217 three letters code.
- twoletterscode: two letter code.
- default_country: the default ISO 3166-1 alpha_2 country code for the currency.
- isonumber: the ISO 4217 number.
- name: the name of the currency.
- order: default ordering in currency pairs (more of this below).
- rounding: number of decimal places
Currency Crosses
You can create currency pairs by using the currency_pair function:
cross & crossover
Some shortcuts:
Note, the Swiss franc cross is represented as 'USD/CHF', while the Aussie Dollar and Euro crosses are represented with the USD as denominator. This is the market convention which is handled by the order property of a currency object.
Eurozone
The euro area, commonly called the eurozone (EZ), is a currency union of 20 member states of the European Union (EU) that have adopted the euro (€) as their primary currency and sole legal tender, and have thus fully implemented EMU policies.