Skip to main content

Allows to download crypto currency exchange rates from Coin Market Cap

Project description

Beta License: AGPL-3 OCA/currency Translate me on Weblate Try me on Runboat

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’.

  1. Go to Invoicing / Configuration / Accounting / Currencies and create the required crypto currencies. See https://coinmarketcap.com/coins/views/all for supported currencies.

  2. 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

Authors

  • ForgeFlow S.L.

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo14_addon_currency_rate_update_cmc-14.0.1.0.1.dev11-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_currency_rate_update_cmc-14.0.1.0.1.dev11-py3-none-any.whl
Algorithm Hash digest
SHA256 4dc2087b198c6df64cad9a2b1e48b99ebcda1f9091a482428e5ab7bc5704b3a9
MD5 83b66e1400e2f7091f414ecaaa1e1fe1
BLAKE2b-256 d417dbb8cf8836a9a11c989aec005ea613a85bdf2cfaf482338afca6cb310b8e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page