wish: online rates update for major cryptocurrencies

Bug #2017410 reported by Hadi Amani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Wishlist
Maxime DOYEN

Bug Description

Please add at least top 10 Cryptos to the currency list so we can have them updated online or suggest a way to use an api from user side to it.

Tags: automation
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

If there is a reliable free api that won't disappear or become payant in 2 months this can be studied. If you know such, please share here.

Changed in homebank:
status: New → Incomplete
Revision history for this message
Hadi Amani (omid455) wrote :

I am using "Alpha Vantage" free API for a couple of years now. It is simple to use, just needs a free API key to be generated. If you don't want to use a common key, maybe the option can be given so the homebank user can input their own key in the settings because there is a limitation:API call frequency is 5 calls per minute and 500 calls per day

example:
https://www.alphavantage.co/query?function=CURRENCY_EXCHANGE_RATE&from_currency=SOL&to_currency=USD&apikey=YOU_OWN_KEY

result in JSON:
{
    "Realtime Currency Exchange Rate": {
        "1. From_Currency Code": "SOL",
        "2. From_Currency Name": "Solana",
        "3. To_Currency Code": "USD",
        "4. To_Currency Name": "United States Dollar",
        "5. Exchange Rate": "21.97000000",
        "6. Last Refreshed": "2023-04-23 13:40:07",
        "7. Time Zone": "UTC",
        "8. Bid Price": "21.97000000",
        "9. Ask Price": "21.98000000"
    }
}

A second option which I am using is API from CoinMarketCap with similar results. https://coinmarketcap.com/api/documentation/v1/

Maxime DOYEN (mdoyen)
Changed in homebank:
status: Incomplete → New
Maxime DOYEN (mdoyen)
summary: - Please add major Crypto online rates
+ wish: online rates update for majo cryptocurrencies
summary: - wish: online rates update for majo cryptocurrencies
+ wish: online rates update for major cryptocurrencies
Changed in homebank:
importance: Undecided → Wishlist
Revision history for this message
Maxime DOYEN (mdoyen) wrote : Re: wish: online rates update from more providers

from 2018174

for XAU

Would it maybe possible to take advantage of the platform wwe.xe.com?
It seems to be great for all currency exchange.

summary: - wish: online rates update for major cryptocurrencies
+ wish: online rates update from more providers
Revision history for this message
Maxime DOYEN (mdoyen) wrote :
Maxime DOYEN (mdoyen)
tags: added: automation
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

Alpha Vantage do not enable to get multiple rate at once, so I will go for fixer.io, user will need a free apikey.
Also fixer.io has exact same request and response than frankfurter.app, the current api.

Changed in homebank:
milestone: none → 5.7
status: New → In Progress
assignee: nobody → Maxime DOYEN (mdoyen)
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

exchangerate.host seems to offers the same than fixer.io, without the need of an api key

Revision history for this message
Maxime DOYEN (mdoyen) wrote (last edit ):

I have made a few flexible change for 5.7 final.
Added 2 parameters to change the API, fixer.io compatible
and changed from frankfurter.app (30 currency, no crypto) to exchangerate.host (170 currency)
but still BTC support only

=> so I keep this wish opened

summary: - wish: online rates update from more providers
+ wish: online rates update for major cryptocurrencies
Changed in homebank:
status: In Progress → New
milestone: 5.7 → none
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

with new addition since 5.7, some compatible API can bu used

Changed in homebank:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.