[kmymoney4] [Bug 381399] Can't retrieve stock prices

Ralf Habacker bugzilla_noreply at kde.org
Tue Jun 20 07:46:35 UTC 2017


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

--- Comment #10 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to StephenJH from comment #6)
> > Symbol:  data-display-symbol="(.*):

This seems also to be outdated, I can't find the related term on the result
page https://markets.ft.com/data/funds/tearsheet/summary?s=LU0063916489:USD.

The related part on the page looks to be: 

div
class="mod-tearsheet-overview__header__symbol"><span>LU0063916489:USD</span>

which may be parsed with the following regex:

Symbol:
class="mod-tearsheet-overview__header__symbol"><span>([a-zA-Z0-9:]+)</span>

the updated record is then:

URL:    http://funds.ft.com/uk/Tearsheet/Summary?s=%1
Symbol:
class="mod-tearsheet-overview__header__symbol"><span>([a-zA-Z0-9:]+)</span>
Price:  class="mod-ui-data-list__value">([\d,]*\.\d*)</span> 
Date:   Data delayed at least 15 minutes, as of (.*)\.
Date Format: %m %d %y

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


More information about the KMyMoney-devel mailing list