Install: Currently not pip installable. Under heavy development. Until then, clone the repo and run
pip install -e .
from the root directory.
pip install stocksurfer
Get the latest NSE data
# update_all_symbols_data()
# rebuild_all_symbols_data()
# from datetime import datetime
# # Define date range
# start_date = datetime(2023,5, 2)
# end_date = datetime.now()
# # Fetch data from NSE
# fetch_bhavcopy_data_for_range(start_date, end_date)
Get list of stocks in ASM and GSM
# get_blocklist()