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

David Houlden bugzilla_noreply at kde.org
Tue Jun 20 10:00:26 UTC 2017


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

David Houlden <djhoulden at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djhoulden at gmail.com

--- Comment #14 from David Houlden <djhoulden at gmail.com> ---
(In reply to Ralf Habacker from comment #3)
> (In reply to David Houlden from comment #1)
> > FT.com have changed that page layout recently. I got it working by changing
> > the KMyMoney settings to these.
> > 
> > URL:   http://funds.ft.com/uk/Tearsheet/Summary?s=%1:GBX
> ... 
> > Price:   Price \(GBX\)</span><span
> > class="mod-ui-data-list__value">([\d,]*\.\d*)</span>
> 
> How should this work for non GBX currencies ?
> 
> The initial url uses http://funds.ft.com/uk/Tearsheet/Summary?s=%1 
> 
> and the website redirects to the currency related result e.g. if I enter
> 
> http://funds.ft.com/uk/Tearsheet/Summary?s=AT0000639083
> 
> I get
> 
> https://markets.ft.com/data/funds/tearsheet/summary?s=AT0000639083:EUR.

You are correct Ralf, this was just my fix which works for me. I added the GBX
for a good reason a long time ago and I am not sure if I need it anymore. In
the past, that web site has changed the investment prices from GBX to GBP and
back again on some investments. If the factor (number of decimal places) in
KMyMoney is set to assume the price will be in GBX and they change to GBP then
the stored price is wrong. Therefore I added GBX to the regexp so I got an
error if ft,com changed the price units.

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


More information about the KMyMoney-devel mailing list