954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to find stock information with php script

Greetings,

This is my first post in this group.

I am new to php script language. I am trying to use it get stock information and plot them in my way. A lot of examples showed to get stock quote in csv format from yahoo finance. In stead of quote, does anyone know the addresses to get other stock information, such as P/E, Key Statistics, etc from any public web site?

Thank you much.

phpnovice

phpnovice
Newbie Poster
14 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 

I think there's a reason that those sites point you to Yahoo! As far as I know, nothing like that is available. However, since that data is just that, data, you could build a parser with extensive searching (a la preg_match) and simply steal Yahoo!'s information for everything. I've got a feeling it would violate Yahoo!'s terms of service, but if it's for personal or classroom use, I hardly assume they'd even notice anyone using a utility like that.

rice_web
Newbie Poster
11 posts since Jul 2004
Reputation Points: 10
Solved Threads: 1
 

Hi,

Thanks for your help. I am not sure I will try if it violates something. But at least you gave me some knowledge.

phpnovice

I think there's a reason that those sites point you to Yahoo! As far as I know, nothing like that is available. However, since that data is just that, data, you could build a parser with extensive searching (a la preg_match) and simply steal Yahoo!'s information for everything. I've got a feeling it would violate Yahoo!'s terms of service, but if it's for personal or classroom use, I hardly assume they'd even notice anyone using a utility like that.
phpnovice
Newbie Poster
14 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 
Gary King
PHP/vBulletin Guru
Team Colleague
417 posts since Nov 2003
Reputation Points: 53
Solved Threads: 5
 

You can look for a web service that has stock quotes and parse the XML. Try http://www.xmethods.net/

samaru
a.k.a inscissor
Team Colleague
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18
 
One of these might help as well: http://www.hotscripts.com/cgi-bin/search.cgi?bool=AND&query=stocks&catid=all


Here you helped me again.

Thanks.

phpnovice

phpnovice
Newbie Poster
14 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 
You can look for a web service that has stock quotes and parse the XML. Try http://www.xmethods.net/

Hi,

Thanks. I will try it.

By the way flash is very cool! I wish I could do the same sometime.

phpnovice

phpnovice
Newbie Poster
14 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You