[Kmymoney] Online Quotes

Allan agander93 at gmail.com
Mon Nov 11 21:09:36 UTC 2013


On 11/11/13 20:57, Jochen Schmid wrote:
> 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.
>
>

@Thomas

Just wondering if this should go as a patch, to avoid future users (and 
listers) having to reinvent the wheel?

Allan


More information about the KMyMoney mailing list