[kmymoney] [Bug 499441] Updating Stocks: Same regular expression does not work in master

Thomas Baumgart bugzilla_noreply at kde.org
Mon Feb 3 07:08:03 GMT 2025


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

Thomas Baumgart <tbaumgart at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |NOT A BUG

--- Comment #4 from Thomas Baumgart <tbaumgart at kde.org> ---
Your problem seems to be the missing date format. Here are the working settings
for master:

Online quote settings generated with Alkimia 8.1.92-6d27032-webengine-qtnetwork

URL: https://query1.finance.yahoo.com/v8/finance/chart/%1
Download mode: Default
Data format: Stripped HTML
Identifier: 
Select by: Symbol
Price: "regularMarketPrice":((\d+|\d{1,3}(?:[,]\d{3})).\d+)
Price decimal separator: Legacy
Date: "regularMarketTime":([\d]+)
Date format: %u
Default identifier: 
Remote source: not checked

and here is the result:

(Debug) symbol=CSCO id=CSCO...
Fetching URL https://query1.finance.yahoo.com/v8/finance/chart/CSCO...
URL found: https://query1.finance.yahoo.com/v8/finance/chart/CSCO...
Symbol found: ''
Price found: '60.6' (60,6)
Date found: '1738357201'
Date format found: '1738357201' -> 'Fr. Jan. 31 2025'
CSCO CSCO Fr. Jan. 31 2025 60.6

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


More information about the KMyMoney-devel mailing list