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.dev7-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_currency_rate_update_cmc-14.0.1.0.1.dev7-py3-none-any.whl
Algorithm Hash digest
SHA256 46c244cd75d163ac22890673947044aca94b7afa8e99da1b4482cb5555b844be
MD5 5a47fb768d5cb822e1a5c9273e71aaf0
BLAKE2b-256 d9f9a3ec0f3fb1671744c946d738b1eaed95d90cb2515e728a5b2cd245276bbd

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