A Scraper for https://www.nseindia.com
Project description
nsescraper is a an open-source python package to clean raw text data.
Installation
To install using pip, use
pip install nsescraper
nsescraper requires Python 3 and Pandas to execute.
Features:
nsescraper package contains different functions such as:
- intraday_index: Scrapes intra day data for any index from NSE
- intraday_stock: Scrapes intra day data for any listed stock from NSE
Usage
- Import the library:
from nsescraper import *
- Choose a method:
To scrap current days nse index/stock data as 1 minute candle format
intraday_index("nifty 50")
intraday_stock("britannia")
To scrap current days nse index/stock data as 1 second tick format
intraday_index("nifty midcap 100", tick= True)
intraday_stock("dr reddy", tick= True)
To scrap current days nse index/stock data as required length minute candle
intraday_index("nifty energy", candlestick= 10)
intraday_stock("Zomato", candlestick= 69)
To scrap historical nse index/stock data
historical_index('NIFTY 50')
historical_stock('ABB')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nsescraper-0.0.6.tar.gz
(11.4 kB
view hashes)
Built Distribution
nsescraper-0.0.6-py3-none-any.whl
(15.6 kB
view hashes)
Close
Hashes for nsescraper-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0efa0a8e2295a8a38e6b9f5160510a6c6f1ce1b12f77f2d590383634d2519869 |
|
MD5 | 728c2326f398f25438f0c232ea8705a0 |
|
BLAKE2b-256 | 31c8f2cf7de852fdd28b33af1bd49322dc6cbf7c681ee96e5590853a83fb636c |