This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KMyMoney ver. 5 - Unable to retrieve stock quotes from Yahoo

Tags: None
(comma "," separated)
joy
Registered Member
Posts
6
Karma
0
In an earlier version of KMyMoney I was able to retrieve UK stocks from Yahoo.

In KMyMoney v5 I've set up an online quote source as follows -

URL: https://query1.finance.yahoo.com/v7/finance/quote?fields=regularMarketPrice&symbols=%1

Identify by: Symbol

Price: "regularMarketPrice":((\d+|\d{1,3}(?:[,]\d{3})).\d+)

Date: "regularMarketTime":([\d]+)

Date Format: %m %d %y

- and Skip HTML stripping is checked.

If I paste the URL into a web browser with a stock symbol e.g. https://query1.finance.yahoo.com/v7/finance/quote?fields=regularMarketPrice&symbols=NG.L the stock price for NG.L is correctly retrieved - but when I try to do an online update of the stock price in KMyMoney I get a status message of "Fetching URL https://query1.finance.yahoo.com/v7/finance/quote?fields=regularMarketPrice&symbols=NG.L... and then the update just hangs indefinitely until I cancel it. Please can anyone help with this?
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
Which version of KMyMoney are you using? I just tried 5.0.8 (released today) and it shows:
Fetching URL https://query1.finance.yahoo.com/v7/fin ... ols=NG.L...
Price found: '987.4' (987.4)
Price for NG.L updated (id E000002)

This is on a Linux based system.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
joy
Registered Member
Posts
6
Karma
0
Thanks for replying. My version is 5.0.6 - for Windows. Scratching my head as to what to try to fix it ...
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
Can you check the release notes for 5.0.7 and 5.0.8 if they contain entries that might be related? I am not a windows user/expert, though.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
joy
Registered Member
Posts
6
Karma
0
Will do - thank you.
johngb
Registered Member
Posts
3
Karma
0
I'm experiencing the same issue where the update hangs indefinitely.

Running KMyMoney v5.0.6 under Windows 7.

URL: https://markets.ft.com/data/equities/te ... summary?s=%1
Identify by: Symbol
Price: Price \(\w+\)</span><span class="mod-ui-data-list__value">([\d\,]+\.\d+)</span>
Date: , as of (\w+\s\d+\s\d+)\s([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]\s
Date Format: %m %d %y
Skip HTML Stripping: Checked.

These settings work fine under v4.8.4, correctly returning and populating the Price and Date fields.

Any pointers or tests I can do to help pinpoint the problem would be gratefully received.



Edit. Sorry I was wrong I'm running v5.0.6 of KMyMoney not v5.0.8 as I originally posted.
johngb
Registered Member
Posts
3
Karma
0
A quick further update.

I've downloaded and installed the current nightly build version, v 5.0.8-74a1b7f84 and it's obtaining and updating quote prices Ok.

It looks like the issue has been resolved somewhere after v5.0.6.


Thanks.
joy
Registered Member
Posts
6
Karma
0
That's great - many thanks - I hadn't got any further with this - please could you point me to where I can get the nightly build version?
johngb
Registered Member
Posts
3
Karma
0
For the Windows build, follow the 'daily generated preview builds: Windows MSVC 64bit' from the Download Page https://kmymoney.org/download.html

Direct Link:
https://binary-factory.kde.org/job/KMyMoney_Nightly_win64/


Hope you get it all working :)
joy
Registered Member
Posts
6
Karma
0
Brilliant - thanks again - I'll try it out tomorrow.
joy
Registered Member
Posts
6
Karma
0
I've just installed version 5.0.8 and it's all working as it should now - which makes me one very happy KMyMoney fan!

Thank you.
seso
Registered Member
Posts
1
Karma
0
Ist there any chance to get an official build with translations? :)
I can now choose between a working english kmymoney or a defect translated version...


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft