Client ID issue

D:\my_applications\my_algo\Strategies>py Dhan_websocket.py
Reading existing file all_instrument 2024-12-24.csv
Watchlist changed. Reconnecting the feed…
Disconnected from WebSocket feed.
Authorizing…
Authorization successful!
Disconnected: Invalid Client ID
WebSocket connection error: no close frame received or sent
Reconnecting Again…
Watchlist changed. Reconnecting the feed…
Disconnected from WebSocket feed.
Authorizing…
Authorization successful!
Disconnected: Invalid Client ID
WebSocket connection error: no close frame received or sent
Reconnecting Again…
Watchlist changed. Reconnecting the feed…
Disconnected from WebSocket feed.
Authorizing…
Authorization successful!
Disconnected: Invalid Client ID
WebSocket connection error: no close frame received or sent
Reconnecting Again…

Hi @Arun_Rawat

we have upgraded to an easier method to get ltp
do check : Learn Algo Trading with Python | Codes | Youtube Series - #952 by Tradehull_Imran

1 Like