Can I connect more than a one Api Client Websocket client in parallel

I’m programming to API, and I would to know if can I use the same App ID to establish more than one client async websocket instance, at same type?
The goal from this necessity, is to distribute application tasks for my each customer among connected async instances by Websocket (limited at 3 clients at same time):
Example (C#):

ClientWebSocket => client1._ws1.ConnectAsync()  //Connect and Auth() with my Customer1
ClientWebSocket => client2_ws2.ConnectAsync()  //Connect and Auth() with my Customer2
ClientWebSocket => client3_ws3.ConnectAsync()  //Connect and Auth() with my Customer3

client1.Auth(token) //Authenticate the Deriv Client by token
client2.Auth(token) //Authenticate the Deriv Client by token
client3.Auth(token) //Authenticate the Deriv Client by token

Deriv or colleagues, please let me know if exists some type of compliance or irregularity, in development in parallelism with multiple client websocket at same time.


1 Like

Hello, @blimeys-achkans-2. Kindly reach out to us via LiveChat, for better assistance and protection of your account’s data. We’ll work with you to resolve any issues as quickly as possible.

1 Like