Jump to content
Larry Ullman's Book Forums

Chapter 9 - Yahoo! Stock Market Link No Longer Valid.


Recommended Posts

Thank you for this information, Larry.

 

Would this be the URL I need to use in my code?

 

http://finance.yahoo...=snd1l1ohgvwdyr

 

I was able to parse the file name. However, the file seems to download to my hard drive instead of being saved to the server and I get the following message:

 

"The latest value for Missing Symbols List. is $"

 

Here is my script:

 

http://megadutch.com/php/advphptech/chptr9

 

Any assistance would be appreciated.

 

Thank you for your time! -- John.

Link to comment
Share on other sites

Off the top of my head, that looks right. It worked just fine for me. It should download to your hard drive if you access it in your browser, because your browser doesn't know how to handle CSV. You'll also need to change the formatting (the characters after f=) to only request the information you want.

Link to comment
Share on other sites

 Share

×
×
  • Create New...