Multiple connections from a single websocket

aryankejriwal4
Hi can i use the same API keys to connect and subscribe to websocket from 3 different computers
  • aryankejriwal4
    As it is written in documentation :
    You can subscribe for up to 3000 instruments on a single WebSocket connection and receive live quotes for them. Single API key can have upto 3 websocket connections.
  • sujith
    Yes, you can create up to three Websocket connections per api_key from different computers but you can use only one access_token.
  • bhaszero
    hi Sujith, I had a similar , though not exact query. As of now I am using a third party provider (tradetron) for placing my orders. I want to switch to my own code and app running from my PC. Can I use the same API subscription for both till I switchover completely?. How will the token system work, say when in the morning Tradetron app logs in first and then I login though my own app using the same API key? . I am not sure I have been able to explain my query properly. Would appreciate the help. Regards.
  • sujith
    You can use the same api_key for your code but you can't be logged in on both at the same time.
    The Websocket connection is per api_key, so make sure you don't exceed 3 websocket connections at any point in time.
Sign In or Register to comment.