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

File details

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

File metadata

File hashes

Hashes for odoo14_addon_currency_rate_update_cmc-14.0.1.0.1.dev10-py3-none-any.whl
Algorithm Hash digest
SHA256 93bb1d9cc376ebad4c0840c6b569afc46625bbfadcecdfdf1a41793ae571b60c
MD5 25fcba8565a9d0a0b566793f537a0245
BLAKE2b-256 697a993965d8232d818279135c8bdcacd9996fb7070b729aa4ac8312ec4afe56

See more details on using hashes here.

Supported by

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