[Kmymoney-devel] Adding new online source for Spanish quotes

Allan agander93 at gmail.com
Fri Feb 1 15:01:22 UTC 2013


On 27/01/13 12:01, Juan Antonio Mariano wrote:
> Some time ago Yahoo decided to stop providing online quotes for stocks
> in Spain. Since then I've trying to setup a new source of info with no
> success. I have managed to get to the page containing the info, for
> example (
> http://www.bolsamadrid.es/esp/aspx/Empresas/FichaValor.aspx?ISIN=ES0167050915).
> But I am unable to get quote or date. Can you please help me?
>
> Thank you very much.
>
> Juan.
>
>
Hi Thomas

I've been looking into this problem, and have tried quite a few 
different sources, without success, because the needed data is getting 
filtered out.

However, I have found success with one, but at the cost of removing a 
code line from webpricequote.cpp.  I use Morningstar myself and that 
seems not to be upset.

The line is 229,
// HTML tags
       quotedata.remove(QRegExp("<[^>]*>"));

Do you foresee difficulties for others?  I'll try some more testing anyway

Allan




More information about the KMyMoney-devel mailing list