It looks like you're new here. If you want to get involved, click one of these buttons!
DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "GET /instruments/historical/138095876/minute?from=2016-03-11+00%3A00%3A00&to=2016-04-15+00%3A00%3A00&interval=minute&continuous=0&oi=0 HTTP/1.1" 200 64796
DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "GET /instruments/historical/138095876/minute?from=2016-04-15+00%3A00%3A00&to=2016-05-20+00%3A00%3A00&interval=minute&continuous=0&oi=0 HTTP/1.1" 200 46
DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "GET /instruments/historical/138095876/minute?from=2016-05-20+00%3A00%3A00&to=2016-06-24+00%3A00%3A00&interval=minute&continuous=0&oi=0 HTTP/1.1" 504 None
DataException: Unknown Content-Type (text/html) with response: 504 Gateway Time-out
This is giving empty data.
2019-01-01
from instrument token 138095876.