Jump to content

getting stock market information


kingb00zer

Recommended Posts

Hi I have recently been playing around with a script I found on a website recently which retrieves stock market information from yahoo finance and have found that some of the important information I require the most is only providing me with N/A. I did notice that this post on the website is quite old and I'm thinking that maybe the way I retrieve the information from yahoo finance may be out dated. Instead of pasting the code I will provide a link (below this post) to the page I learned this from. For the most part it works just fine however I cant get the real time price which is what I need the most leaving me with 2 options. 1 do I find a way to get what I need from yahoo finance still? or 2 do I find a way to get the same data from the nasdaq website (is that even possible?)

 

LINK: http://blog.chapagain.com.np/php-how-to-get-stock-quote-data-from-yahoo-finance-complete-code-and-tutorial/

Link to comment
Share on other sites

Thank you, I managed to get it to work out in the end even though there is a 15 minute delay but for the purpose of my project it doesnt need to be real time (for now.)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...