Site counter AddThis Social Bookmark Button

Creating Yahoo dashboard using AJAX - Free yahoo stock ticker

We all have seen stock tickers. Some of us even wanted to create one for our personal use or may be use on web sites.

But sometimes it gets irritating to wait for your favourite stock to come up and keep glued to the ticker just to wait for the stock.

We also were so we decided to have a complete dashboard showing all details and refreshed without refreshing the page.

So we have implemented this solution.

So we come up with an idea.

  • To use knowledge
  • To use technolgoy
  • To have data dashboard with all the details automatically refreshed
  • Without a need to have heavy applets, requiring too many parameters passing.
  • We arrived at a solution and we are sharing it as out technology and knowledge sharing initiative.

    You can see it live here Bhavya IT Yahoo dahsboard

  • Once implemented this is how it will look
  • var watchList = "3IINFOTECH.NS+ABB.NS+BAJAJAUTO.NS+BHEL.NS+CUMMINSIND.NS";. This is what you need to modify for your custom watch list. This list can be allowed to be modified on the screen, can be read from some text file. This all depends on your requirement and imagination.
  • Yahoo dashboard


  • Join the group and download the files (yahoostockdashboard.html, prototype.js, yahoodashboard.js), keep them in same folder and click yahoostockdashboard.html, it will work independently even on your local machnine.
  • It only works in IE due to cross domain access issue.

  • If it does not appear you need to do following to allow data sources access across domains
  • Open your IE
  • Go to Tools -> Internet Options
  • Select Security tab
  • Select Custom Level at the bottom
  • Go to Miscellaneous section and check Enable under Access data sources across domains

  • When running on IE you may get active content security alert something like

    Allow blocked content

  • When you click allow blocked content you will see an alert
  • Security warning

  • Click yes and you are ready to run your Yahoo stock dashboard
  • Google Groups  
    Email:   Join this group

    Join the group and download complete working sample. Just open the html and your Yahoo dashboard will start working right away. For your reference we have also kept NSE stocks list detail for your watchlist creation. This file has information for companies in "SYMBOL,NAME OF COMPANY, SERIES, DATE OF LISTING, PAID UP VALUE, MARKET LOT, ISIN NUMBER, FACE VALUE" format which yo can use for other purposes also.

    If you use it in any form we have no issue but will appreciate comments, links on your web site, active participation in discussion to make it better and more user friendly.

    Complete code listing for your quick reference *