For example, AFFLE had its IPO in July of 2019. For any from_date < IPO date, we should expect an empty list as the output. But for some reason I get a non-zero junk data for range 2015-03-07 to 2015-05-06 See below code snippet.
In : import datetime
In : from_date = datetime.datetime(2015, 3, 7)
In : to_date = datetime.datetime(2015, 5, 6)
In : token=2903809
In : data = kite.historical_data(token, from_date=from_date, to_date=to_date, interval='5minute')