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

David Houlden <djhoul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djhoul...@gmail.com

--- Comment #14 from David Houlden <djhoul...@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 watching all bug changes.

Reply via email to