online quotes

View: New views
3 Messages — Rating Filter:   Alert me  

online quotes

by Wolfgang Rohdewald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have no time to work on this myself but a few wishes:

(using kmymoney 1.0.2)

1. if getting the quote fails it would be very helpful to have a
button "Details" which would show the exact string the regex
was applied against.

2. if the definitions in webpricequote.cpp change, how are those
changes supposed to get into kmymoney2rc? I had to manually delete
the corresponding entry in the config file, kmm then regenerated
it with the new definition.

3. changing the regex in kmymoney2 config menu: When pressing the
OK button, the change gets lost without warning. It seems I have
to press "Update" (aktualisieren) first. This is counterintuitive,
there should at least be a hint that OK will throw away the
changes made.

4. For the german symbol DE000A0S9GB0 I found just one source,
looking in the native definitions and in  Finance::Quote:
Wallstreet-Online.de (Hamburg), but it does not work. It actually
never did for any symbol since I tried first.
The current definition in the source seems to work neither.

My own definition for the regex was - until today:

Schlusskurs: ([0-9.]+,\d+)

this is suboptimal being the last quote of the previous day,
but works mostly. But now the above symbol has no such value
since a few days. The current quote is shown further above but
I found no matching regex not knowing how the page source is
preprocessed before the regex is applied. The source looks like:

<td class="quote">
            55,00            </td>

and I tried

class="quote">\s([0-9.]+,\d+)

which did not work.

--
Wolfgang

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
KMyMoney2-user mailing list
KMyMoney2-user@...
https://lists.sourceforge.net/lists/listinfo/kmymoney2-user

Re: online quotes

by Bugzilla from asoliverez@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

An overhaul of that whole interface is needed.
Ideally, I would like it to show the url and show a sample of what the resulting regex would be like. And then some more.

On Tue, Nov 10, 2009 at 8:55 AM, Wolfgang Rohdewald <wolfgang@...> wrote:
I have no time to work on this myself but a few wishes:

(using kmymoney 1.0.2)

1. if getting the quote fails it would be very helpful to have a
button "Details" which would show the exact string the regex
was applied against.

2. if the definitions in webpricequote.cpp change, how are those
changes supposed to get into kmymoney2rc? I had to manually delete
the corresponding entry in the config file, kmm then regenerated
it with the new definition.

3. changing the regex in kmymoney2 config menu: When pressing the
OK button, the change gets lost without warning. It seems I have
to press "Update" (aktualisieren) first. This is counterintuitive,
there should at least be a hint that OK will throw away the
changes made.

4. For the german symbol DE000A0S9GB0 I found just one source,
looking in the native definitions and in  Finance::Quote:
Wallstreet-Online.de (Hamburg), but it does not work. It actually
never did for any symbol since I tried first.
The current definition in the source seems to work neither.

My own definition for the regex was - until today:

Schlusskurs: ([0-9.]+,\d+)

this is suboptimal being the last quote of the previous day,
but works mostly. But now the above symbol has no such value
since a few days. The current quote is shown further above but
I found no matching regex not knowing how the page source is
preprocessed before the regex is applied. The source looks like:

<td class="quote">
           55,00            </td>

and I tried

class="quote">\s([0-9.]+,\d+)

which did not work.

--
Wolfgang

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
KMyMoney2-user mailing list
KMyMoney2-user@...
https://lists.sourceforge.net/lists/listinfo/kmymoney2-user


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
KMyMoney2-user mailing list
KMyMoney2-user@...
https://lists.sourceforge.net/lists/listinfo/kmymoney2-user

Parent Message unknown Re: online quotes

by Wolfgang Rohdewald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 10 November 2009, Jan Ritzerfeld wrote:
> URL:
>  http://www.boerse-online.de/tools/boerse/einzelkurs_kurse.htm?&
> ;s=%1 Preis: Akt\. Kurs.([\d\.]+,\d\d)
> Datum: Datum.(\d+\.\d+\.\d+)
> Datumsformat: %d.%m.%y
>
> Regarding your symbol "DE000A0S9GB0": Try the WKN "A0S9GB" instead.
>  For  "foreign" ISIN using boerse-online.de, append ".EUR", e.g.,
>  "FR0010148981.EUR".

I could get it working with your hints, thank you!


--
Wolfgang

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
KMyMoney2-user mailing list
KMyMoney2-user@...
https://lists.sourceforge.net/lists/listinfo/kmymoney2-user