Hello @Tradehull_Imran sir, I have subscribed Dhan HQ Trading & Data APIs, but I face a problem while running ‘Dhan_websocket.py’ file to receive LTP. I have pasted the error which is occuring while running the file. Please help me in getting rid of this error.
Hi @Aarush_Choubey ,
Managing WebSocket can be complex, so we’ve designed our codebase to work with rest api calls, allowing you to add or remove instruments directly with ease.
Do update codebase on your system
- Open Command Prompt: Press Win, type cmd, and press Enter.
- Install Dhan-Tradehull: Run pip install Dhan-Tradehull
- Confirm the installation by running pip show Dhan-Tradehull
Dhan_Tradehull_V2 Algo @DhanHQ
Refer the below pypi link for more details:
https://pypi.org/project/Dhan-Tradehull/
Video reference :
@Tradehull_Imran Thanks for your support. Now its working.
1 Like