Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add a stock quote to my website?

Status
Not open for further replies.

arbo80

Programmer
Jan 5, 2006
53
0
0
US
Hi,

I was wondering how I can add a stock price and currency variance(USD to EUR) to my website and have it refreshed every hour. Any help will be greatly appreciated.

Thanks,

A
 
Yahoo has an add-on you can use for stocks: Stock Quotes I'm sure there are others out there.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
If you want to change the way the stock quote from Yahoo! works then you can grab the data and reformat it fairly simply.

Use the following URL to get the data


Replace the APPL with whatever symbol you need to get data for.

You may also want to cache the data somehow so you aren't hitting Yahoo! every time someone loads the page.

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top