What is the best source for historical EOD data for Indian stock market? The data from Yahoo finance for some companies is not up-to-date and Google finance doesn't provide adjusted close prices. What should I do ? I need the data for quantitative analysis.
Is there a way to calculate adjusted close from Google finance close price series ?
If I'm using the expression (close[n]-close[n-1])/close[n-1] for returns calculations. It will show erroneous data, because of the change in price due to stock split.
Please help me out of this. Thank you

end = datetime(2019, 30, 7)should beend = datetime(2019, 7, 30), since the syntax isdatetime(year, month, day.... – Faheem Mitha Apr 26 '20 at 17:47