Name | NSE-Bhavcopy JSON |
Version |
0.0.1
JSON |
| download |
home_page | |
Summary | Download NSE Bhavcopy Data |
upload_time | 2023-03-11 16:34:50 |
maintainer | |
docs_url | None |
author | Ajay |
requires_python | |
license | MIT |
keywords |
bhavcopy
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
The Library downloads daily Bhavcopy data for equity, index, and derivatives from the National Stock Exchange (NSE) of India and saves the data in a single storage location. If the main file already exists, the code will resume downloading data from the last date in the file until it reaches the end date.
# Define start and end dates, and convert them into date format
startDate = datetime.date(2023, 3, 1)
endDate = datetime.date(2023, 3, 10)
wait_time = random.randint(1,2) # wait time in seconds to avoid getting blocked
# Create an instance of the NseDataExtractor class and call the nse_equity_bhavcopy() method
nse = NSE_Bhavcopy(startDate, endDate, data_storage, wait_time)
nse.nse_equity_bhavcopy()
nse.nse_derivative_bhavcopy()
nse.nse_index_bhavcopy()
CHANGE LOG
==========
0.0.1 (11-03-2023)
------------------
-First Release
Raw data
{
"_id": null,
"home_page": "",
"name": "NSE-Bhavcopy",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Bhavcopy",
"author": "Ajay",
"author_email": "ajaydpawar@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/5a/22/3de721465d745f93f2a351eaa484e6025941ce32c7c7b4e3a4a15e3f64b7/NSE_Bhavcopy-0.0.1.tar.gz",
"platform": null,
"description": "The Library downloads daily Bhavcopy data for equity, index, and derivatives from the National Stock Exchange (NSE) of India and saves the data in a single storage location. If the main file already exists, the code will resume downloading data from the last date in the file until it reaches the end date.\r\n\r\n# Define start and end dates, and convert them into date format\r\nstartDate = datetime.date(2023, 3, 1)\r\nendDate = datetime.date(2023, 3, 10)\r\nwait_time = random.randint(1,2) # wait time in seconds to avoid getting blocked\r\n\r\n# Create an instance of the NseDataExtractor class and call the nse_equity_bhavcopy() method\r\nnse = NSE_Bhavcopy(startDate, endDate, data_storage, wait_time)\r\n\r\nnse.nse_equity_bhavcopy()\r\nnse.nse_derivative_bhavcopy()\r\nnse.nse_index_bhavcopy()\r\n\r\n\r\nCHANGE LOG\r\n==========\r\n\r\n0.0.1 (11-03-2023)\r\n------------------\r\n-First Release\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Download NSE Bhavcopy Data",
"version": "0.0.1",
"split_keywords": [
"bhavcopy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5a223de721465d745f93f2a351eaa484e6025941ce32c7c7b4e3a4a15e3f64b7",
"md5": "411d9e314d89731cf2d8f09f866adaa9",
"sha256": "be8725e57e8f65c7524fe798f615b414de8b3fa5834b0b622c145205daaae713"
},
"downloads": -1,
"filename": "NSE_Bhavcopy-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "411d9e314d89731cf2d8f09f866adaa9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2420,
"upload_time": "2023-03-11T16:34:50",
"upload_time_iso_8601": "2023-03-11T16:34:50.259484Z",
"url": "https://files.pythonhosted.org/packages/5a/22/3de721465d745f93f2a351eaa484e6025941ce32c7c7b4e3a4a15e3f64b7/NSE_Bhavcopy-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-11 16:34:50",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "nse-bhavcopy"
}