Free tech support / small logo


How do I add stock quotes to my Web page?

I would like to add the days current stock on my web page. I read your answer to someones questions about adding the current weather, I would like to do the same but with stocks.


Dave's Answer:

There are a bunch of ways you can do this, including writing some software to scrape specific stock data off a site like Yahoo Finance, but there are better solutions out there, including one from Financial Content.com, a company that actually grew out of one of my own startups.

Their solution isn't very flexible, but if all you seek is the ability to specify a few ticket symbols and have a nice set of financial data on your page, then their Market Snapshot for Business Blogs and Websites could be the perfect match.

First, you specify the ticket symbols you seek:

Financial Content's Ticket Symbol entry

then you grab their JavaScript code. For example, here's what I get when I use their default set of four tech stocks:

<script src=http://web-2.0.financialcontent.com/blogsnapshot? Account=breitbart&OutputMode=js&Ticker=GOOG+YHOO+EBAY+MSFT></script>

The result:

Nice, simple, attractive and professional.

Hope that helps you get running with your own financial content on your site!









Subscribe!
Never miss another Q&A article! Click to subscribe: Add to Google Reader Add to My Yahoo! Subscribe in NewsGator RDF XML
Comments

Yahoo recently added the ability to put quotes and charts on your website:

http://finance.yahoo.com/badges/

Posted by: Nate at January 19, 2007 4:15 PM

This is perfect what I need dave the only problem is that I need information from the London Stock exchange not the NASDAQ!

Any ideas on how i can change the code???

Posted by: Darren at July 11, 2008 2:22 AM

I'm having the same problem. I need the data from the Toronto Stock Exchange and the TSX Venture exchange!

Posted by: Jared at September 15, 2008 1:17 PM

Thanks for the easy, helpful info! Love it!

Posted by: rebecca at September 24, 2008 10:06 PM

Does yahoo mind if people take info off their website and repost it on their own? Where does financialcontent.com get their info? Do they take it from yahoo?

Posted by: Steve at September 29, 2008 11:29 PM

Doesn't work anymore...
This was neat and simple to use but Financialcontent changed their stuff or Breibart's account as terminated

Posted by: Marc at February 24, 2009 1:07 PM

please i need the codes for the NIGERIAN stock exchange. how can i add codes for THE NIGERIA STOCK EXCHAGE on my website.

Posted by: paul at September 28, 2009 3:14 AM

Well, I need this for the Lima Stock Exchange. I think we are looking for the same thing. Please, I one of us found the question tell the others. I'll do. Thanks.

Posted by: Gabriel at March 23, 2010 4:22 PM

I RECENTLY BOUGHT SOME STOCK AND WISH TO ADD IT TO MY PORTFOLIO. CAN'T FIND A WAY TO ADD IT.

Posted by: PATRICIA GREGER at September 30, 2011 9:02 AM

Patricia, do you mean adding it to your AOL portfolio? And are you running AOL for Windows or for Mac?

Posted by: Dave Taylor at October 1, 2011 12:39 AM

Hello,

to insert finance Javasript quotes into html, you can check into the webmaster section of Forexpros. You just have to copy/past the code, and their finance charts are of high quality. I used them for my website.

Posted by: Azurwebdev at January 28, 2012 5:08 PM

I have something to say, now that you mention it, but ...
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you for all your efforts on this Web site by buying you a cup of coffee!

I do have a comment, now that you mention it!











Remember personal info?


Please note that I will never send you any unsolicited email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Recent Entries


Search
I Need Help!
Need Help? Ask Dave Taylor!


© 2002 - 2012 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.