Download daily (bhavcopy) NSE quotes

Here's a small program which downloads daily NSE quotes or in other words the bhavcopy directly from the NSE site (www.nse-india.com).

Download NseStockUpdater here.

Just type:-

java -jar nsestockupdater.jar

If you want the bhavcopy for a particular date then just type:-

java -jar nsestockupdater.jar 22-05-2007

Note that the date should be in dd-mm-yyyy format.

The output file is created in the same folder where the .jar file exists.

The source code and the class files are in the jar file.

Most of the code has been reused from other sources as I am a very lazy programmer. :)

Let me know if you face any problems.