KMyMoney Digest, Vol 149, Issue 6

Michael Calder michaelcalder at iinet.net.au
Mon May 15 07:32:35 BST 2023


G'day Thomas,

Thank you for your help - I have found the problem.

You said: You should use 5.1.2 if supported by your package manager.
Unfortunately this was not available.

After much stuffing around I removed the previous versions and Installed
kmymoney-5.1-484-linux-gcc-x86_64.AppImage
This shows as KMyMoney Version 5.1.3-0a2dcd1d5

When I viewed Settings -> Configure KMyMoney I found two entries for "yahoo", Yahoo and Yahoo Finance.

Both with the same Details EXCEPT Yahoo (my old one) had a space at the front of the URL.

I edited out the space and "Eureka!" all stocks d/l without trouble.
How the space got there on about 04 May I have no idea.

Assuming that Yahoo Finance is the correct URL I intend to delete "Yahoo".

Thanks again for all your comments which led me to the solution.

Cheers,

Mike.

Michael Calder

On 14/5/23 21:12, kmymoney-request at kde.org wrote:
> Send KMyMoney mailing list submissions to
> 	kmymoney at kde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mail.kde.org/mailman/listinfo/kmymoney
> or, via email, send a message with subject or body 'help' to
> 	kmymoney-request at kde.org
>
> You can reach the person managing the list at
> 	kmymoney-owner at kde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of KMyMoney digest..."
>
>
> Today's Topics:
>
>     1. Re: Update Stock And Currencies still Fail (Thomas Baumgart)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 14 May 2023 13:12:09 +0200
> From: Thomas Baumgart <thb at net-bembel.de>
> To: kmymoney at kde.org
> Subject: Re: Update Stock And Currencies still Fail
> Message-ID: <21889329.EfDdHjke4D at sy-346-nb>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> On Sonntag, 14. Mai 2023 09:29:37 CEST Michael Calder via KMyMoney wrote:
>
>> G'day ,
>>
>> I have read KMyMoney Digest, Vol 149, Issue 2
>>
>> I have been unable to download from yahoo since 04 May.
>>
>> Using Synaptic Package Manager I have reinstalled 5.0.8-1 build3
>> and tried this URL:
>>
>> https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&
>> symbols=BMY
> Here you use BMY as symbol ...
>> When I attempt to d/l prices I get:
>>
>> Fetching URL ...
>> Malformed URL .
> ... Wow, that is strange, why is the URL malformed?
>
>> Unable to update price for ANZ.AX (empty quote data)
> ... now you talk about ANZ.AX ...
>> which continues for all 13 stocks shares).
> So it looks more like a general problem, but I am sure you already
> know/expect that.
>
>> My Online Quotes Configure is:
>>
>> Identifer: %1
>> Identify by: Symbol
>> Price: "regularMarketPrice":((\d+|\d{1,3}(?:[,]\d{3})).\d+)
>> Date: "regularMarketTime":([\d]+)
> That looks OK to me.
>
>> Opening the URL gets:
>>
>>> {"quoteResponse":{"result":[{"language":"en-US","region":"US","quoteType":"ECNQUOTE","typeDisp":"ECNQUOTE","quoteSourceName":"Delayed Quote","triggerable":true,"customPriceAlertConfidence":"HIGH","exchangeTimezoneName":"America/New_York","exchangeTimezoneShortName":"EDT","gmtOffSetMilliseconds":-14400000,"market":"us_market","marketState":"PRE","exchange":"NMS","esgPopulated":false,"sourceInterval":15,"exchangeDataDelayedBy":0,"tradeable":false,"cryptoTradeable":false,"firstTradeDateMilliseconds":839511000000,"fullExchangeName":"NasdaqGS","symbol":"BMW"}],"error":null}}
> ... and here the symbol is BMW. Somewhat hard to compare.
>
> Let's start afresh. KMyMoney 5.0.8 is a bit too old. You should use 5.1.2 if supported
> by your package manager.
>
> The URL field should contain "https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1"
> without the enclosing quotes. In case you take that and use it in your browser to see what is returned
> you need to replace %1 with BMY, ANZ.AX or BMW. That is what KMyMoney is doing.
>
>> I also tried this which I saw somewhere:
>>
>> https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=%1
>>
>> with the same result when I attempt to d/l prices
>>
>> But the URL does not open with this message:
>>
>> HTTP Status 400 - Unable to parse URI query
>> type Exception report
>>
>> message Unable to parse URI query
>>
>> description Bad Request
> Maybe, that is because the %1 is not replaced with the actual symbol when using a browser
> to verify.
>
>> I am using Linux Mint 20.3 Cinnamon, Version 5.2.7, Linux Kernel 5.4.0-148-generic
>>
>> I do do Kernel upgrades when they come along. Could it be that?
> Not very likely and I doubt it.
>
> For your reference, I attach my settings here. The screenshot is taken from a
> more recent development version of KMyMoney and it thus can contain additional
> fields you don't see.
>
> Hope that helps to get started.
>


More information about the KMyMoney mailing list