Clan x86

General Forums => General Discussion => Topic started by: Joe on April 23, 2008, 04:01:26 AM

Title: Stock quotes
Post by: Joe on April 23, 2008, 04:01:26 AM
Does anyone know of a site that gives a list of all major stocks in semi-real time (15 minutes is no big deal, whatever)? I'm looking for something that lists them all on one page.
Title: Re: Stock quotes
Post by: warz on April 23, 2008, 09:47:36 AM
Well, I'm not sure which companies you're calling 'major', since that's sort of a personal thing. Google's finance page lets you add any company to your watch list, and will display them very cleanly, and easy to see. If by major you just mean the most expensive shares, then you can find those using their page too.
Title: Re: Stock quotes
Post by: CrAz3D on April 23, 2008, 09:48:03 AM
I like this page
http://moneycentral.msn.com/investor/market/usindex.aspx

You can find a list of a lot of indexes.

Listing all major stocks on one page would still be hella long, why do you want that?
Title: Re: Stock quotes
Post by: Joe on April 24, 2008, 05:08:47 AM
I'm looking for a site I can load using PHP and then parse out to make a stock ticker, without making tons of different HTTP requests (IE, I don't want to make people mad at me for doing this).
Title: Re: Stock quotes
Post by: iago on April 24, 2008, 08:44:33 AM
It wouldn't surprise me if somebody offered stocks as a Web service. That way, you could download them via SOAP (or something) cleanly.
Title: Re: Stock quotes
Post by: MyndFyre on April 24, 2008, 11:16:03 AM
Quote from: iago on April 24, 2008, 08:44:33 AM
It wouldn't surprise me if somebody offered stocks as a Web service. That way, you could download them via SOAP (or something) cleanly.

Wow.... I thought you said "stacks" and thought, "But SOAP is stateless....  Why would you do that?"

Too early in the morning I guess.   ???
Title: Re: Stock quotes
Post by: warz on April 24, 2008, 11:36:46 AM
Why are you going to parse html for this? Most sites offer RSS feeds of their tickers. Just read from an RSS feed.
Title: Re: Stock quotes
Post by: Joe on April 24, 2008, 05:08:55 PM
warz is smart. Thanks!
Title: Re: Stock quotes
Post by: MyndFyre on April 24, 2008, 07:32:20 PM
Quote from: warz on April 24, 2008, 11:36:46 AM
Why are you going to parse html for this? Most sites offer RSS feeds of their tickers. Just read from an RSS feed.

HTTP request != HTML.
Title: Re: Stock quotes
Post by: Joe on April 25, 2008, 04:21:32 AM
Yeah, but he read into what I was saying correctly anyhow. I was going to parse the HTML that I got as a result of the HTTP request.
Title: Re: Stock quotes
Post by: MyndFyre on April 25, 2008, 03:28:42 PM
Quote from: Joe on April 25, 2008, 04:21:32 AM
Yeah, but he read into what I was saying correctly anyhow. I was going to parse the HTML that I got as a result of the HTTP request.

That's just silly.