Results 1 to 2 of 2

Thread: new to asp.net looking up stock prices

  1. #1

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    new to asp.net looking up stock prices

    I'm doing a simple program just for kicks

    I wanted to enter a stock symbol and then retrive its price. Can anyone point me in the right direction.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: new to asp.net looking up stock prices

    You can either use a web service to query the current stock price or you can parse an existing web page.

    I assume you're familiar with both concepts? For the web service way, you add a web reference to your project and use its methods. For the web page way, you perform an HttpWebRequest and parse the HTML that you get back from the page to look for the price in there. The HttpWebRequest way of doing things is probably going to be a little more difficult and slower, but if you're doing it for kicks, you could even do both. Your app of course, so you choose.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width