Getting this error kindly help

Hi @SANDEEP_KUMAR_TIWARI
Please check this thread, and check answers that were provided to @ddeogharkar

the same issue is faced and resolved there.

@Tradehull_Imran
After changing script in w


ebsocket excel getting attached error. Dhan Data API subscribed.

Please suggest required changes to be done.

Hi @HarshKumar

For LTP, we need to upgrade to Dhan_Tradehull_V2
see solution link : Learn Algo Trading with Python | Codes | Youtube Series - #952 by Tradehull_Imran

Thanks @Tradehull_Imran.

First step to Algo.
Followed below steps but still getting error.

Replaced Dhan_Tradehull to Dhan_Tradehull_V2 in live session 6 folder.
dhanhq==2.0.0 installed.
and after that tried to execute Dhan_codebase_usage of session 6 folder in CMD. But getting below error for Dhan_Tradehull_V2 file. Please help.

//
1st live Algo\Dhan_Tradehull_V2.py", line 316, in get_intraday_data
security_id = instrument_df[((instrument_df[‘SEM_TRADING_SYMBOL’]==tradingsymbol)|(instrument_df[‘SEM_CUSTOM_SYMBOL’]==tradingsymbol))&(instrument_df[‘SEM_EXM_EXCH_ID’]==instrument_exchange[exchange])].iloc[-1][‘SEM_SMST_SECURITY_ID’]
//

Hi @Tradehull_Imran , please guide