stock quotes
August 12, 2011 11:50 AM   Subscribe

What is the best way to get current stock quotes to display on my web page?

I know you can create a Yahoo Finance widget and grab that code and put it on a site, but I really want to be able to format it myself. Is there a good way to get current real time prices using PHP or javascript?
posted by amsterdam63 to Computers & Internet (3 answers total)
Google Finance has an api. There are others.
posted by empath at 11:56 AM on August 12, 2011

I have a (private) PHP script that fetches the specific Yahoo Finances webpage and with the help of regular expressions, I extract the price, variation, etc.

Without a doubt, it is against their licence agreement, but that page has one hit per week - me.
posted by kag at 11:58 AM on August 12, 2011

Yahoo provides stock quotes in CSV format too, doubt they have any issue with it.

wget will work with a link like:
some detail on it:
posted by oblio_one at 2:58 PM on August 12, 2011

« Older That San Francisco-style... drain.   |   What should I dehydrate? Newer »
This thread is closed to new comments.