Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

How to Get NSE EOD Data from Yahoo Finance to Ninjatrader

1 min read

NinjaTrader is a free charting and back-testing tool. It is one of the most advance trading platform currently available, with all the features that any modern platform should have. Besides the various in-built features NinjaTrader through its programming interface (Ninjascript) lets one develop their own indicator and strategies. Ninjascript is built on C# and lets one to exploit the .Net framework at the fullest.

In this tutorial we will be discussing how to get historical NSE EOD data from Yahoo Finance to Ninjatrader.


Quick Steps

Registration & Installation
1)Get Free License from Ninjatrader
2)Download and Install Ninjatrader
3)Open Ninjatrader and Enter the license code obtain from Ninjatrader (one time activity)

New Account Creation
1)Goto Tools->Account Creation->Add and Enter the Connection Name as Yahoo EOD and Select the Provider as Yahoo as shown below

Yahoo EOD

2)Now go File in Ninjatrader main window select Connect > Yahoo EOD. Now Ninjatrader will connect to yahoo finance historical datafeed.

Create Market and Symbols

1)Now go to Tools and select Instrument Manager, an instrument manager window will appear. Under instrument manager list press New and name it as NSE in appeared box. Under Available Master Instruments press New. An instrument editor window appears. Under Master Instrument field type the name of the required symbol as it is NSE, under instrument type dropdown list select stock or index, under currency dropdown list select Indian Rupee and select NSE in the exchanges section.

2)Now click on Misc tab in the same window, under symbol map select the yahoo and type the yahoo symbol name for the specific stock for example for the stock TCS you have to type TCS.NS and then press ok.

3)Now press the left side arrow mark in the window, now the symbol will added to the NSE instrument list. Press ok to end the symbol creation.

Open NSE EOD Stock Charts

Now again go to File > New > Chart and now data series Dialog box will appear now double click the stock TCS under NSE and Press OK.
Bingo you are done. Now you will be able see the TCS EOD charts with historical data. To get more EOD bars you can adjust the Data to Load values in the data series dialogbox.

TCS Data Series

For more details information about the setup check out the video shown above.

Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Algomojo Now Supports Multi-Client Trading with Amibroker, Metatrader, Python,…

Yes, from now onwards Multi-Account Execution from trading tools like Amibroker, Metatrader 4 and Metatrader 5, Ninjatrader 7, Ninjatrader 8, Excel is now possible...
Rajandran R
1 min read

TradersKart – Partnering with Truedata for Providing Datafeed &…

TradersKart offers One-Stop E-commerce Solution for all the traders, where traders will get access to their trading needs. TradersKart is now partnering with Truedata...
Rajandran R
1 min read

Export Amibroker Database to Ninjatrader EOD or 1min ASCII…

If you are a Amibroker user and recently testing with Ninjatrader 7 or have plans to migrate your EOD or 1min database to Ninjatrader...
Rajandran R
1 min read

12 Replies to “How to Get NSE EOD Data from Yahoo Finance…”

  1. Dear Rajandran

    Thanks. It will be helpful if you could as well make an illustrative article as to how to get real time data from free resources like yahoo / google to Ninja Trader.



  2. hi….where i can find 10 years of minute or tick data for say nifty/banknifty?……..i got 3-4 years but i am not sure whether the data is good or not?

    what points u consider while backtesting?….coz most of the freely available afl can get u 40 -45% with bit of twiks….please explain drawdown system.sharpe ratio and other factors in amibroker back test results…..

    i tried many afls and when i introduce stops…90% of them gives very bad results…why?

    which is the effective and economical autotrading platform for poor retailers like me.

    thanks for such a wonderful platform , and clearing market myths.

    1. Most of the people had saved since 2007 or 2008 for Nifty/Bank Nifty futures. You can ask in forums like traderji or inditraders people are there to help you out in getting the data.

      Points to Consider
      1)Is your sharpe ratio good. IF it is then your strategy is making consistent profits
      2)How you are going to arrest 7-8 consecutive losses in your trades. Plan for Some sort of money management
      3)Try to minimize your Drawdown using some sort of position sizing.

      Only the Strategy follower who understands his system better can come up with the solution for your problem. Try to understand your
      system better.

      As of now legal fully automated trading system in india is not for small traders. It comes with little bigger price tag.
      First trade manually if you are able to trade a system manually and able to make profit then you can increase your effieciency
      with auto trading. Auto trading is used to increase your trading efficiency not a gambling machine though.

  3. How can i add all the stocks which are trading in the NSE at one shot at Ninja trader. Adding each stock at a time is a tedious process. Waiting for ur reply

  4. Hi Rajendra,

    I need a clarification , is there any methods or any company which provides intraday Charts (5min, 10min, 30min) , basically i am looking for Historical intraday data .

    am not sure how to get this , if you know any company which can provide or any tool which can help in getting the same will be of great help…I tried many resources and their answer is a big “No”


  5. Dear Rajendran,

    Do tell me how to add from yahoo the following scripts CNX Nifty (^NSEI), BankNifty (^NSEBANK) and M&M.NS
    Just tried to add the scripts in Ninjatrader but some err is coming. It seems like Ninja trader is not accepting any symbols with ^, & etc etc.

    Awaiting your feedback Rajendran

    Thanking You,

    With Regards,

    Sonjoe Joseph

  6. hi rajendran
    this is vivek
    can u let me know
    how to get real time data from free resources for nse. i have nest trader and zerodha pi both, but for intensive analysis it has to be used with software like ninja trader,meta trader or ami bro .

    is there any software in the market which is free to install and get live nse feed for intraday trade if it is paid that it costs

  7. I just downloaded NInjatrader and now I do not see Yahoo as an option to get data in connections. Can we add Yahoo?

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More