[Kmymoney] online quotes

Volker Paul volker.paul at v-paul.de
Sat Oct 1 18:54:03 UTC 2011


On Thursday, September 29, 2011 18:30:25 Jochen Schmid wrote:
> Hello,
> 
> On Mon, Sep 26, 2011 at 09:04:02PM +0200, you wrote:
> > Hello,
> > 
> > please check if these settings work for you,
> > and PLEASE report it here
> > because your mileage may vary.
> > (Needless to say, for me it works.)
> > 
> > 
> > URL:          http://www.wallstreet-online.de/si/?k=%1&spid=ws
> > Symbol:       ISIN:\s*(\w+)
> > Price:        push="open_v">(\d+,\d+).*
> > Date:         "timeinfo">\s*(\d+\.\d+\.\d+)
> > Date Format:  %d %m %y
> > 
> | Preis für 555750 kann nicht aktualisiert werden (kein Preis oder
> | kein Datum)
> 
> My milage seems to vary. :-(
> 
> I made the new entry in kmymoneyrc to look like:
> | [Online-Quote-Source-Test Wallstreet Online]
> | DateFormatRegex=%m %d %y
> | DateRegex="timeinfo">\\s*(\\d+\\.\\d+\\.\\d+)
> | PriceRegex=push="open_v">(\\d+,\\d+).*
> | SymbolRegex=ISIN:\\s*(\\w+)
> | URL=http://www.wallstreet-online.de/si/?k=%1&spid=ws


My entry in /home/volker/.kde/share/config/kmymoney2rc looks like this:

[Online-Quote-Source-Wallstreet-Online.DE (Default)]
DateFormatRegex=%d %m %y
DateRegex="timeinfo">\\s*(\\d+\\.\\d+\\.\\d+)
PriceRegex=push="open_v">(\\d+,\\d+).*
SkipStripping=true
SymbolRegex=ISIN:\\s*(\\w+)
URL=http://www.wallstreet-online.de/si/?k=%1&spid=ws

Your DateFormatRegex is different, month before day.
Today, that gives a valid but wrong date (Jan 10 instead of Oct 1),
but yesterday that may have given an invalid date (9th day of 30th month).

Check "Skip HTML stripping".

With your example, again, I just can say that for me it works.
Here is the "Update Stock and Currency Prices" window's status report:
Fetching URL http://www.wallstreet-online.de/si/?k=555750&spid=ws...
Symbol found: DE0005557508
Price found: 8.81 (8.81)
Date found: Sat Oct 1 2011
Price for 555750 updated (id E000098)

Please let me know if you need more information.

Volker


More information about the KMyMoney mailing list