943,777 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 10929
  • PHP RSS
Aug 4th, 2004
0

how to find stock information with php script

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
phpnovice is offline Offline
14 posts
since Aug 2004
Aug 9th, 2004
0

Re: how to find stock information with php script

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.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
rice_web is offline Offline
11 posts
since Jul 2004
Aug 10th, 2004
0

Re: how to find stock information with php script

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



Quote originally posted by rice_web ...
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
phpnovice is offline Offline
14 posts
since Aug 2004
Aug 23rd, 2004
0

Re: how to find stock information with php script

Team Colleague
Reputation Points: 53
Solved Threads: 5
PHP/vBulletin Guru
Gary King is offline Offline
360 posts
since Nov 2003
Aug 28th, 2004
0

Re: how to find stock information with php script

You can look for a web service that has stock quotes and parse the XML. Try http://www.xmethods.net/
Team Colleague
Reputation Points: 262
Solved Threads: 18
a.k.a inscissor
samaru is offline Offline
1,227 posts
since Feb 2002
Aug 31st, 2004
0

Re: how to find stock information with php script

Quote originally posted by Gary ...
One of these might help as well: http://www.hotscripts.com/cgi-bin/se...ocks&catid=all

Here you helped me again.

Thanks.

phpnovice
Reputation Points: 10
Solved Threads: 0
Newbie Poster
phpnovice is offline Offline
14 posts
since Aug 2004
Aug 31st, 2004
0

Re: how to find stock information with php script

Quote originally posted by inscissor ...
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
phpnovice is offline Offline
14 posts
since Aug 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: rpg phping, fighting sparring please look
Next Thread in PHP Forum Timeline: PHP & File Extensions





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC