This module introduces the ability to download the exchange rates associated to crypto currencies from https://coinmarketcap.com
Table of contents
Installation
This module depends on currency_rate_update, found in https://github.com/OCA/currency.
It is advisable to install the module currency_rate_inverted, found in https://github.com/OCA/currency, to store the exchange rate in inverted format and avoid rounding issues for crypto currencies that are very large compared to the main company currency.
Configuration
To convert amounts from one currency to another using the inverse method, you have to go to “Accounting / Configuration / Miscellaneous / Currencies”. Then select the foreign currency that you wish to maintain inversion for and set the flag “Inverted exchange rate”.
- Go to Invoicing / Configuration / Accounting / Currencies and create the required crypto currencies. See https://coinmarketcap.com/coins/views/all for supported currencies.
- Go to Invoicing / Configuration / Accounting / Currency Rate Update and create a new Update Service indicating Webservice to use “Coin Market Cap” with the Basic Plan or the Standard Plan.
There are two options of Coin Market Cap based on the plan of your account https://coinmarketcap.com/api/pricing/:
- Basic Plan (including Basic, Startup and Hobbyist): the user does not have access to all the endpoints, for example, cannot fetch historical currency rates. The update of the currency dates will only fetch the last available price.
- Standard Plan (including Standard, Professional, Enterprise): the user has access to most of the API endpoints. The user can select the date ranges to get historical rates.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
- Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
- Ross Golder
- Adrià Gil Sorribes <adria.gil@forgeflow.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/currency project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.