User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,595 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,417 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 6821 | Replies: 6
Reply
Join Date: Aug 2004
Posts: 14
Reputation: phpnovice is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
phpnovice phpnovice is offline Offline
Newbie Poster

how to find stock information with php script

  #1  
Aug 4th, 2004
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2004
Posts: 11
Reputation: rice_web is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
rice_web rice_web is offline Offline
Newbie Poster

Re: how to find stock information with php script

  #2  
Aug 9th, 2004
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.
Reply With Quote  
Join Date: Aug 2004
Posts: 14
Reputation: phpnovice is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
phpnovice phpnovice is offline Offline
Newbie Poster

Re: how to find stock information with php script

  #3  
Aug 10th, 2004
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



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.
Reply With Quote  
Join Date: Nov 2003
Location: Toronto, Canada
Posts: 354
Reputation: Gary King will become famous soon enough Gary King will become famous soon enough 
Rep Power: 6
Solved Threads: 5
Colleague
Gary King's Avatar
Gary King Gary King is offline Offline
PHP/vBulletin Guru

Re: how to find stock information with php script

  #4  
Aug 23rd, 2004
Reply With Quote  
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation: samaru is just really nice samaru is just really nice samaru is just really nice samaru is just really nice 
Rep Power: 12
Solved Threads: 5
Colleague
samaru's Avatar
samaru samaru is offline Offline
a.k.a inscissor

Re: how to find stock information with php script

  #5  
Aug 28th, 2004
You can look for a web service that has stock quotes and parse the XML. Try http://www.xmethods.net/
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
Reply With Quote  
Join Date: Aug 2004
Posts: 14
Reputation: phpnovice is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
phpnovice phpnovice is offline Offline
Newbie Poster

Re: how to find stock information with php script

  #6  
Aug 31st, 2004
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
Reply With Quote  
Join Date: Aug 2004
Posts: 14
Reputation: phpnovice is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
phpnovice phpnovice is offline Offline
Newbie Poster

Re: how to find stock information with php script

  #7  
Aug 31st, 2004
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 6:53 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC