import Ti import pandas as pd import datetime import pdb
kite = Ti.kite
data = kite.historical_data(name=stock_name,exchange='NSE', interval='5minute',oi=True)
following error apears: File "C:\Users\1\Desktop\API\RSI.py", line 20 data = kite.historical_data(name=stock_name,exchange='NSE', interval='5minute',oi=True) IndentationError: unexpected indent
This error is from your local code environment and is not related to the kiteconnect APIs. For assistance on resolving unexpected indent issues in Python, please refer to this thread