Now Live: Live Market Feed on DhanHQ Trading APIs

Hello @testuser

Over here, looks like you haven’t subscribed to Data APIs itself, hence the connection is getting closed. Since the authorisation happens on sockets asynchronously, you start receiving ticks and then the connection is closed by the server as the subscription is not active.

Kindly subscribe to Data APIs first to be able to access Live Market Feed uninterruptedly.