Historical data to from NSE

alokeranjan
I attempted to get the historical data from NSE site through python, but running the programme nothing happening also no error is coming. However python programme running for more than 1 hours but no result. Anyone can help to decipher the problem.
My code is:
from nsepy import get_history
from datetime import date
start=date(2019,7,27)
end=date(2020,1,13)
data=get_history(symbol='TATASTEEL',start=start,end=end)
print(data)
  • Vaga
    @alokeranjan why don't you get from yahoo finance instead for the historical data. They got adjusted data which can be used for any analysis.
Sign In or Register to comment.