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

Stocks price update not working

Tags: None
(comma "," separated)
marco07
Registered Member
Posts
11
Karma
0
OS

Stocks price update not working

Tue May 02, 2023 12:42 pm
Evidently, Yahoo finance has shutdown their service URL and does not provide price updates to Kmymoney. I am using ver. 5.1.3 on KDE Neon, Kubuntu and Ubuntu all latest version with Kmymoney 5.1.3 and 5.1.2, all failing to get the stock & mutual funds prices with the following result:

Fetching URL https://query1.finance.yahoo.com/v7/fin ... ls=VBIAX...
Timeout on server query1.finance.yahoo.com: Socket operation timed out
Unable to update price for VBIAX (empty quote data)

[/color]
atheist
Registered Member
Posts
109
Karma
0
OS

Re: Stocks price update not working

Sat May 06, 2023 2:10 am
Glad to see that I"m not the only one! Any fixes?
serg
Registered Member
Posts
2
Karma
0

Re: Stocks price update not working

Sat May 06, 2023 8:53 am
finance.yahoo.com recently stopped working in kubuntu 22.04.2 (KMyMoney v.5.1.2)

Upate with Finance::Quote also does not work - file is missing
/usr/share/kmymoney/misc/financequote.pl
--
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
mcarpino
Registered Member
Posts
81
Karma
0
OS

Re: Stocks price update not working

Sun May 07, 2023 4:34 pm
Replace and try this URL in the Yahoo URL Online Quotes. "https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1" Without the quotes.
serg
Registered Member
Posts
2
Karma
0

Re: Stocks price update not working

Sun May 07, 2023 5:28 pm
mcarpino wrote:Replace and try this URL in the Yahoo URL Online Quotes. "https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1" Without the quotes.


Thanks, it works!
Finance::Quote also works with "bourso" source (not for ETF)
atheist
Registered Member
Posts
109
Karma
0
OS

Re: Stocks price update not working

Mon May 08, 2023 3:40 am
Thanks, MCarpino !
User avatar
watchstar
Registered Member
Posts
38
Karma
0

Re: Stocks price update not working

Wed May 10, 2023 12:49 am
Thanks MCarpino. The revison worked!!!!
boingy
Registered Member
Posts
16
Karma
0

Re: Stocks price update not working

Thu May 11, 2023 11:25 am
Excellent thank you.

How's this for bad timing: A couple of days ago I changed my PC and reinstalled everything and I assumed the quote error was some setting in KMM I had missed, so before I came to this forum I spent ages going through every setting I could find and comparing it with the old PC!

Happy to have it working but puzzled as to why the new URL seems to have gone back a version from v7 to v6.
grossi
Registered Member
Posts
11
Karma
0

Re: Stocks price update not working

Sun May 14, 2023 6:46 pm
mcarpino wrote:Replace and try this URL in the Yahoo URL Online Quotes. "https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1" Without the quotes.


Many, many thanks for your solution: it's works, but how to know about the change from v7 to v6 for Yahoo finance quote? ??? ???

In my case to solve the problem I have edited the file /home/.config/kmymoneyrc, put the suggested string with v6 and all works !! ;)
User avatar
Section_8
Registered Member
Posts
61
Karma
0
OS

Re: Stocks price update not working

Mon May 15, 2023 6:37 pm
grossi wrote:
mcarpino wrote:Replace and try this URL in the Yahoo URL Online Quotes. "https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1" Without the quotes.


Many, many thanks for your solution: it's works, but how to know about the change from v7 to v6 for Yahoo finance quote? ??? ???

In my case to solve the problem I have edited the file /home/.config/kmymoneyrc, put the suggested string with v6 and all works !! ;)

You don't have to edit a config file to fix this. In kmymoney, open the settings menu, pick "Configure kmymoney", click the "Online quotes" tab, and then choose "Yahoo finance". You can change the URL there.
peters
Registered Member
Posts
2
Karma
0

Re: Stocks price update not working

Tue May 16, 2023 11:49 am
Unfortunately my version KMM 5.0 only has a Finance::Quote download option for yahoo, the separate online service is lacking.
I would love to set this up with the yahoo expression as given, but I also need the setup for price and date.
Could you be so kind to post these as well?

regards,

Peter
boingy
Registered Member
Posts
16
Karma
0

Re: Stocks price update not working

Tue May 16, 2023 12:15 pm
peters wrote:Unfortunately my version KMM 5.0 only has a Finance::Quote download option for yahoo, the separate online service is lacking.
I would love to set this up with the yahoo expression as given, but I also need the setup for price and date.
Could you be so kind to post these as well?

regards,

Peter


Not quite sure if this is what you are asking but here is a screenshot of my KMM config page for Yahoo

Image

And here are the long entries to save you typing them in!
Code: Select all
https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1

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

Code: Select all
"regularMarketTime":([\d]+)
peters
Registered Member
Posts
2
Karma
0

Re: Stocks price update not working

Tue May 16, 2023 3:20 pm
This was exactly what I was looking for, super!
I have tested it and it works again.

Many thanks!
jhallstrom
Registered Member
Posts
1
Karma
0

Re: Stocks price update not working

Thu May 25, 2023 5:13 pm
I just tried the posted solution for Yahoo and received the following error when trying to update prices

Fetching URL https://query1.finance.yahoo.com/v6/fin ... bols=AGG...
The file or folder https://query1.finance.yahoo.com/v6/fin ... ymbols=AGG does not exist.
Unable to update price for AGG (empty quote data).

Kubuntu 22.04 / KMyMoney 5.1.2

Any thoughts?
boingy
Registered Member
Posts
16
Karma
0

Re: Stocks price update not working

Thu May 25, 2023 5:20 pm
jhallstrom wrote:I just tried the posted solution for Yahoo and received the following error when trying to update prices

Fetching URL https://query1.finance.yahoo.com/v6/fin ... bols=AGG...
The file or folder https://query1.finance.yahoo.com/v6/fin ... ymbols=AGG does not exist.
Unable to update price for AGG (empty quote data).

Kubuntu 22.04 / KMyMoney 5.1.2

Any thoughts?


You are right. It has stopped working again. It worked a couple of days ago.
Based on the previous fix I optimistically tried changing v6 to v7, v5 and v8 with no success. That's the limit of my abilities so we need someone more cleverer.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]