Open dines1312 opened 1 year ago
pls provide full set of utility with helpfile
can you show a sample csv file?
Hi, How is the update working?
pls provide full set of utility with helpfile
This Python program is a perfect alternative to the Getbhavcopy software. It generates the same text file as the one obtained by Getbhavcopy software. The generated file includes symbol, date, open, high, low, close and volume data arranged in columns and date format matches that of Getbhavcopy software. Additionally, all NSE index names have been changed to match the names used in Getbhavcopy's old files. This ensures compatibility with the old database of Amibroker or data import format without requiring any modifications.
Use this simple code in python, just change the date and month in the 4th, 5th and 7th line. You will have to install jugaad- data library
import pandas as pd from jugaad_data.nse import bhavcopy_save from datetime import date bhavcopy_save(date(2023,3,23),"") bc=pd.read_csv('cm23MAR2023bhav.csv') bcn= bc.loc[bc['SERIES'] == 'EQ'] bcn.to_csv('cm23MAR2023bhav.csv')