[Kmymoney] Online Quotes

Thomas Baumgart thb at net-bembel.de
Mon Nov 11 21:19:30 UTC 2013


Hi,

on Monday 11 November 2013 Allan wrote:

> 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?

Good point. Feel free to apply it to master. In case you're uncertain I 
suggest to use reviewboard.


-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
The words GUESS and KNOW when used in the context of
flying may produce entirely opposite results.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20131111/598798da/attachment.sig>


More information about the KMyMoney mailing list