c# webbrowser | pushed realtime quotes
Posted
by Eric
on Stack Overflow
See other posts from Stack Overflow
or by Eric
Published on 2010-04-06T09:38:08Z
Indexed on
2010/04/06
9:43 UTC
Read the original article
Hit count: 388
Hi,
I am programmer and share trader.
Before
I have written a day trading application. Until last week it was possible to fetch realtime quotes from http://aktien.boerse.de/aktien_startseite.php?view=2&order=name%20asc&liste=prime&page=0 . Every time the site was surfed the quotes had changed. The HTML contents could then be decoded with regular expressions (regex).
Problem
They have stopped this service by today. Now the quotes are not realtime when surfing on the page. The only way to get stock quotes now is to use pushed quotes "Push starten"-Button.
However I do not know how to basically fetch them in C#.
When I create a webbrowser element the only way which I know to get the push quotes out of it is to give the webbrowser element the focus send key ctrl+A and ctrl+C and insert the data some where for decoding. This is not desired since the control is moved away from the user and in case some other control is clicked during the process this may result in unexpected behaviour.
Question
So is there a proper way to decode push stock quotes in C#?
Thanks a lot in advance,
--eric
© Stack Overflow or respective owner