DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   how to find stock information with php script (http://www.daniweb.com/forums/thread8881.html)

phpnovice Aug 4th, 2004 5:53 pm
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

rice_web Aug 9th, 2004 8:08 am
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.

phpnovice Aug 10th, 2004 1:29 am
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.


Gary King Aug 23rd, 2004 5:10 pm
Re: how to find stock information with php script
 
One of these might help as well: http://www.hotscripts.com/cgi-bin/se...ocks&catid=all

samaru Aug 28th, 2004 1:46 pm
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/

phpnovice Aug 31st, 2004 2:56 am
Re: how to find stock information with php script
 
Quote:

Originally Posted by Gary


Here you helped me again.

Thanks.

phpnovice

phpnovice Aug 31st, 2004 2:57 am
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


All times are GMT -4. The time now is 7:56 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC