[Kmymoney] Online Quotes

Jochen Schmid jochen at r-ci.de
Mon Nov 11 20:57:08 UTC 2013


Hello,

On Sun, Nov 10, 2013 at 01:43:44PM +0100, you wrote:

> Hello,
> 
> I have used boerse-online.de to update the share prices in kmymoney.
> They seem to have changed the website layout again. :-(

Thanks to Jan and Allen I managed to get it working again. The part
for inserting into kmymoneyrc is:

------------------------------------------------------------------------
[Online-Quote-Source-boerseonline]
DateFormatRegex=%d.%m.%y
DateRegex=<td\\s*><strong>Kursdatum</strong></td>\\s*<td\\s*>(\\d+\\.\\d+\\.\\d+)</td>
PriceRegex=<table>\\s+<tr>\\s+<th >([\\d\\.]+,\\d\\d)\\s+<span>\\w{3}</span></th>
SkipStripping=true
SymbolRegex=\\s+WKN:\\s+(\\w\\w\\w\\w\\w\\w)\\s+
URL=http://www.boerse-online.de/suchergebnisse?_search=%1
------------------------------------------------------------------------

For funds it's (prices from previous day):
------------------------------------------------------------------------
[Online-Quote-Source-boerseonline (Fonds; vom Vortag)]
DateFormatRegex=%d.%m.%y
DateRegex=<td\\s+><strong>Datum</strong></td>\\s+<td\\s+>(\\d+\\.\\d+\\.\\d+)</td>
PriceRegex=<tr>\\s+<td\\s+><strong>Vortag</strong></td>\\s+<td\\s+class="border_right">([\\d\\.]+,\\d\\d) \\w{3}</td>
SkipStripping=true
SymbolRegex=WKN:\\s+(\\w\\w\\w\\w\\w\\w)\\s+
URL=http://www.boerse-online.de/suchergebnisse?_search=%1
------------------------------------------------------------------------

It works for foreign currencies too, as long as they are given with
their 3 letter short cut.


-- 
Jochen Schmid <pflhyfe5 at gmx.net> 


More information about the KMyMoney mailing list