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

StephenJH bugzilla_noreply at kde.org
Tue Jun 20 10:22:47 UTC 2017


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

--- Comment #15 from StephenJH <stephen.henstridge at gmail.com> ---
David,

I've had the same experience with prices changing dramatically. I find it
easier to just check that the returned price makes sense and then adjust the
scaling factor for the stock if necessary.

Stephen.


(In reply to David Houlden from comment #14)
> (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