[kmymoney] [Bug 491353] New: I use KMyMoney version 5.1.2. on KUbuntu. "Update stock and currency prices" do not work any more with all crypto currencies. As an "Online source" I use Financial Times for all stocks, due to Yahoo Finance is not working any more. I tried CoinGecko API

LibertyCircle bugzilla_noreply at kde.org
Tue Aug 6 15:36:11 BST 2024


https://bugs.kde.org/show_bug.cgi?id=491353

            Bug ID: 491353
           Summary: I use KMyMoney version 5.1.2. on KUbuntu. "Update
                    stock and currency prices" do not work any more with
                    all crypto currencies. As an "Online source" I use
                    Financial Times for all stocks, due to Yahoo Finance
                    is not working any more.  I tried CoinGecko API
    Classification: Applications
           Product: kmymoney
           Version: 5.1.2
          Platform: Ubuntu
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: file
          Assignee: kmymoney-devel at kde.org
          Reporter: libertycircle at riseup.net
  Target Milestone: ---

KMyMoney does no Crypto Currency Price Update any more

SUMMARY:
I use KMyMoney version 5.1.2. on KUbuntu. "Update stock and currency prices" do
not work any more with all crypto currencies. As an "Online source" I use
Financial Times for all stocks, due to Yahoo Finance is not working any more.

I tried CoinGecko API and added it with direct link
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd and
as a bash script. JQ and Curl are installed. 

STEPS TO REPRODUCE
1. Use CoinGecko or any other Online Quotes to get the recent Bitcoin rate in
USD.
2. Adding a CoinGecko Script or Direct Link in KMyMoney - Configure - Online
Quotes
3. Set the Online Source for Bitcoin/BTC to the CoinGecko Script or Direct
Link.

OBSERVED RESULT
Error Message with Direct Link to CoinGecko:
Fetching URL
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd...
Identifier found: ''
Unable to update price for ₿itcoin ₿ [BTC] (no price or no date)

Error Message with Script to CoinGecko:
Executing /home/user/cryptocurrency-fetch-price.sh
Identifier found: ''
Price found: '' (0)
Received an invalid price for BTC, unable to update.

EXPECTED RESULT
Get the Online Price Update for Bitcoin.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KUbuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I also tried different settings, e.g. leaving date and price field blank and
changed other settings to no avail.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list