Subscribing to data via APIs

C:\Users\Radhe Radhe\Downloads\6. Session6- 1st Live Algo\6. Session6- 1st Live Algo\1st live Algo>py Dhan_Tradehull.py

C:\Users\Radhe Radhe\Downloads\6. Session6- 1st Live Algo\6. Session6- 1st Live Algo\1st live Algo>py “Dhan_codebase usage.py”
-----Logged into Dhan-----
This BOT Is Picking New File From Dhan
Got the instrument file
Error at Gettting balance as string indices must be integers
MOTHERSON
Traceback (most recent call last):
File “Dhan_codebase usage.py”, line 28, in
chart[‘rsi’] = talib.RSI(chart[‘close’], timeperiod=14) #pandas
TypeError: ‘NoneType’ object is not subscriptable

C:\Users\Radhe Radhe\Downloads\6. Session6- 1st Live Algo\6. Session6- 1st Live Algo\1st live Algo>