This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Online quotes for funds

Tags: None
(comma "," separated)
mbeenham
Registered Member
Posts
95
Karma
0
OS

Online quotes for funds

Tue Jun 12, 2012 10:20 am
I mostly have stocks which I can get online quotes for using yahoo. However I have a few funds that it would be quite nice to get online quotes for instead of entering prices manually.
None of the pre-configured online sources work for funds so I would like to configure my own.

An example is:
http://funds.ft.com/uk/Tearsheet/Summary?s=GB00B04H0T52:GBP

I cannot get KMyMoney to update if I configure KMyMoney Online Quotes to use this site.
Error I get is "Unable to update price for GB00B04H0T52 (no price or no date)"
Does anybody get UK fund price updates - if so I would appreciate a steer on how to do it.
Is there any way to get a trace of how KMyMoney parses the regular expressions?
TIA


Linux Mint 17.2
KMyMoney Version 4.7.2
Using KDE Development Platform 4.14.2
mbeenham
Registered Member
Posts
95
Karma
0
OS

Re: Online quotes for funds

Fri Jun 22, 2012 11:55 pm
Bump - is there anybody who can give me a bit of help on this...
Maybe nobody is getting online quotes for funds?


Linux Mint 17.2
KMyMoney Version 4.7.2
Using KDE Development Platform 4.14.2
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: Online quotes for funds

Sat Jun 23, 2012 1:18 am
I have a similar problem. These financial sites keep changing their formats and the tools stop working. Some even don't use the stock symbol but map it to their own unpublished code. Have you looked into quote.morningstar.com? There may be a finance::quote interface for it: http://search.cpan.org/~ecocode/Finance-Quote-1.17/
mbeenham
Registered Member
Posts
95
Karma
0
OS

Re: Online quotes for funds

Sat Jun 23, 2012 7:06 am
Thanks for the reply zebulon.

I was hoping that someone who was familiar with regular expressions would help with an example based on the URL I provided of the appropriate way to configure KMyMoney to parse the page for the price and date (both of which are frustratingly in there).

The documentation is sparse to non-existent in this respect (at least as far as I can find).

I am quite happy to keep up with site changes - but in this case I don't know how to and there doesn't seem to be any way to find out what I'm doing wrong with the configuration.

If nobody can help I'll abandon trying to configure KMyMoney and try finance::quote instead as you suggest.

Thanks for your help.


Linux Mint 17.2
KMyMoney Version 4.7.2
Using KDE Development Platform 4.14.2
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: Online quotes for funds

Sat Jun 23, 2012 12:11 pm
I can handle regular expression, mbeenham. I think can also modify Finance::Quote scripts to get the data we need, although I'd not do the fancy decompositions they do. We need to figure out how to hook it up into KMM though.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]