Rajandran R Creator of OpenAlgo Sketchmaker, RagZ. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Now the recent curiosity on building Trading AI Agents.

Getbhavcopy EOD DataDownloader for NSE & BSE Stock Exchanges

3 min read

Watercolor illustration of a laptop downloading stock market data for an EOD data downloader post

The Getbhavcopy EOD data downloader is a Windows utility for NSE and BSE. It pulls the daily bhavcopy files for equities, indices and futures straight from the exchange websites and converts them into text files that Amibroker, Metastock and Fcharts can import. This guide covers the folder setup, installation, settings and the limitations you should know before relying on it.

Getbhavcopy is a Free EOD data downloader for NSE and BSE stock exchanges and one can use this tool to download the stock market end of the day data to import into popular technical analysis software like Amibroker, Metatstock & Fcharts.

Getbhavcopy EOD data downloader for NSE and BSE stock exchanges
Key takeaways
  • Getbhavcopy downloads end of day bhavcopy data for NSE equities, indices, futures and BSE equities.
  • It needs Windows and Microsoft .NET Framework 4.0 or higher.
  • Data is not adjusted for splits, bonus issues, mergers or name changes; you must handle corporate actions yourself.
  • The last release note on the official Getbhavcopy blog is version 2.1.10a (January 2017), so test it with current exchange files before depending on it.

What Is Getbhavcopy EOD Data Downloader?

Getbhavcopy is a lightweight trading utility to download historical data and EOD data for equities, derivatives, and indices. Currently, the tool is used to download data directly from the NSE and BSE websites.

Masterclass on AmiBroker AFL coding

AMIBROKER

Masterclass on AmiBroker AFL coding

Write trading systems, explorations and backtests in AFL, and use ChatGPT to code faster.

  • AFL from basics to trading systems
  • Backtesting and optimisation done right
  • 7 courses in one masterclass
Learn AFL coding →by Marketcalls

A bhavcopy is the official end of day file that an exchange publishes after market close. It lists every traded symbol with its open, high, low, close, volume and related fields. Getbhavcopy automates the boring part: downloading these files for a date range, filtering what you need and writing them in a format your charting software can read.

Setting Up Getbhavcopy

Setting up procedure is simple for GetBhavcopy. Here are the step by step procedure for Installing Getbhavcopy

1) Getbhavcopy Folders Setup

  • C:\Getbhavcopy is your Getbhavcopy installation directory, i.e. the one containing Getbhavcopy.exe
  • C:\Getbhavcopy\data\NSE-EOD is your NSE Equity and Indices data download directory.
  • C:\Getbhavcopy\data\NSE-Futures is your NSE Futures data download directory, and
  • C:\Getbhavcopy\data\BSE-EOD is your BSE Equity and Indices data download directory.
Getbhavcopy folder setup for NSE EOD, NSE futures and BSE EOD data

2) Download Getbhavcopy

Next download the latest version of Getbhavcopy from Getbhavcopy Download page. Getbhavcopy is distributed as a simple portable zip file. Download the zip file and extract it to C:\Getbhavcopy directory you created earlier.

Download and extract Getbhavcopy zip to the installation folder

3) Getbhavcopy Settings

When you start Getbhavcopy for the very first time, you will notice that the date selections and the ‘Download’ button are disabled. This is because Getbhavcopy Options are not yet configured. Setup Getbhavcopy Options. Once the options are set, the date range selections and ‘Download’ buttons will be enabled, and you will be able to download bhavcopy data.

Getbhavcopy options settings before the first download

System Requirements

1)Windows 7 , 8 or 10 or higher versions
2)Starting version 2.1.4a, Getbhavcopy requires .Net Framework 4.0 to be installed for it to work. I recommend using the .Net Framework 4.0 standalone installer or higher versions.

The official Getbhavcopy website still lists Microsoft .NET Framework 4.0 or higher as a requirement.

Downloading NSE and BSE EOD Data

Now Press the Download button to download the EOD data in txt file format directly from NSEindia and BSEindia portals which can be later imported into trading softwares like Amibroker, Metastock or Fcharts.

A practical routine is to run Getbhavcopy once after market close, download only the latest day, and then import the new files into your charting software. For the first run, download a longer date range to build history, and keep the raw files in the data folders so you can re-import them if your database gets corrupted.

Importing the files into Amibroker

  1. Open Amibroker and select the database you want to update.
  2. Use the ASCII import option and select the text files from the NSE-EOD, NSE-Futures or BSE-EOD folder.
  3. Choose the import format that matches the Getbhavcopy output, then run the import.
  4. Check a few symbols on the chart to confirm the latest bar has been added correctly.

If you prefer to build your own downloader, the VBA macro to download bhavcopy and the guide to merging indices and bhavcopy text files show how the same files can be handled in Excel and plain text.

Limitations of Bhavcopy Data

The only disadvantage is the EOD data downloaded from NSE and BSE portals are not adjusted to corporate actions like Split, Bonus, Mergers, Dividends, Name Change etc. One have to take care of the same manually in their trading softwares.

  • Corporate actions: after a split or bonus, old prices look like a huge gap on the chart until you adjust them.
  • Symbol changes: a renamed company shows up as a new symbol, so its history is split across two tickers.
  • Futures rollover: each expiry is a separate contract; you need to build a continuous series yourself for long backtests.
  • Software maintenance: for the Getbhavcopy EOD data downloader, the latest release note on the Getbhavcopy blog is for version 2.1.10a in January 2017. Exchange websites, file names and download locations change from time to time, so if downloads fail, check that the tool still matches the current exchange files.

Alternatives for EOD and Historical Data

If you need adjusted data or intraday history, a broker or vendor feed is usually a better fit than raw bhavcopy files:

Listen to this article, if you are looking for Institutional Grade End of the Day data tool for Amibroker or Metastock

Frequently Asked Questions

What is bhavcopy in the stock market?

Bhavcopy is the official end of day market data file published by NSE and BSE after each trading session. It contains open, high, low, close, volume and other fields for every traded instrument.

Does Getbhavcopy work with Amibroker?

Yes. Getbhavcopy writes text files that can be imported into Amibroker using its ASCII import feature, as well as into Metastock and Fcharts.

Is Getbhavcopy data adjusted for splits and bonus?

No. The data comes straight from the exchange bhavcopy, which is not adjusted for corporate actions such as splits, bonus issues, mergers, dividends or name changes. You need to adjust it inside your charting software.

What are the system requirements for Getbhavcopy?

Getbhavcopy runs on Windows and requires Microsoft .NET Framework 4.0 or higher, as stated on the official Getbhavcopy website.

Marketcalls Elite Traders Club

MEMBERSHIP

Marketcalls Elite Traders Club

Every Marketcalls course and live mentorship in one membership: 127 courses and 2,500+ hours of learning.

  • Market Profile, Orderflow, AFL, Pine Script and Python
  • Live mentorship and TradEdge trading room
  • Premium tools and the Elite Slack community

Learn by watching: free videos every week

Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.

Rajandran R Creator of OpenAlgo Sketchmaker, RagZ. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Now the recent curiosity on building Trading AI Agents.

8 Replies to “Getbhavcopy EOD DataDownloader for NSE & BSE Stock Exchanges”

  1. sir i have downloaded latest version of getbhavcopy and i have already having installed .netframework version 4.0 . After looking in the video and exactly acted upon it , message comes
    Message ********* Downloading Data for 04-02-2013 *********
    Message Downloading NSE Equity Bhavcopy
    then cursor blinks .

    please help to download data.

  2. sir how much time it takes to download five days data, only nse. internet speed is 2mbps.i waited almost for 1.30 hours with blink cursor after it gave message DOWNLOADING SYMBOLS FOR NSENIFTY AND ……..

  3. sir after trying many times and repeatedly requesting you for help ,once again time requesting for giving how it works after watching video on you tube and reacting in similiar way ,ifoun the following messages:
    Message ********* Starting Getbhavcopy *********
    Message Settings Saved
    Message Downloading symbols for index NSENIFTY
    Message Downloading symbols for index NIFTYJUNIOR
    Message Downloading symbols for index BANKNIFTY
    Message Downloading symbols for index NSE100
    Message Downloading symbols for index NSEMIDCAP
    Message Downloading symbols for index NSEIT
    Message Downloading symbols for index NSE500
    Message Downloading symbols for index MIDCAP50
    Message ********* Downloading Data for 01-10-2012 *********
    Message Downloading NSE Equity Bhavcopy

    after receiving above messages ,waited for almost two hours , nothing was developed . so i request your goodself to please look into the matter and do the needful.

Leave a Reply

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