bhavcopy-downloader

1.2.0 • Public • Published

Simple app to download eod bhavcopy from nse and unzip it

install:

 npm i bhavcopy-downloader

Usage:

 const bhav = require('bhavcopy-downloader');
 //simply running this will download all data for 2020
 bhav()
 //for specific year and months use
 bhav("YEAR",[Array OF MONTHS with FIRST three letters])
 //Default param are  year="2020",months=["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"]

Data will be saved in data folder, note small wait is added to reduce server load

If you need to load all downloaded data to any relational database look into https://github.com/ubermachine/Stock-database-creator

Example-
To download all data for year 2020

bhav("2020")

To download specific months

bhav("2020",["FEB","MAR"])

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.02latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.02
1.0.90
1.0.81
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i bhavcopy-downloader

Weekly Downloads

3

Version

1.2.0

License

MIT

Unpacked Size

3.72 kB

Total Files

3

Last publish

Collaborators

  • technozod