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
'''python historical_index('NIFTY 50') '''
'''python 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.5.tar.gz
(11.3 kB
view hashes)
Built Distribution
nsescraper-0.0.5-py3-none-any.whl
(15.5 kB
view hashes)
Close
Hashes for nsescraper-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f277338e8cfda468587d2b7a1e0caf2d744269a967f2900c1bd20a494372f827 |
|
MD5 | 3372bb0652b509ccc0a03003d4d37fea |
|
BLAKE2b-256 | 0f716b06e79bf31b3366fd5bc40422aacfd35f5394172f2b7d26dc5d09270172 |