About max number of connections - ticker - websockets

dhana916
Hi, while thinking about my application scalability below question arises.

What is the max number of connections using web sockets to your kite API's for one account , let's assume I have generic execution engine which deploys to a server for one stock or symbol, each server connect to kite using web socket for tick data.

If I need to trade 500 symbols near parallelly, requires 500 web socket connections on single Kite API account, do you support?

  • sujith
    You can open up to 3 websocket connections per api_key.
    Creating a websocket connection for each instrument is a bad idea.
    You can ideally open one connection which will subscribe to all the 500 instruments in one connection.
    You can subscribe for up to 3000 instruments in one websocket connection.
  • Jignesh
    @sujith

    QUOTE : "You can subscribe for up to 3000 instruments in one websocket connection."
    Does that mean that i can subscribe 3000*3 = 6000 instrument from 3 web socket connection with single api_key with full market depth. ?
  • rakeshr
    @Jignesh , You can subscribe for up to 1000 instruments on a single WebSocket connection.So, three socket connection can fetch upto 3000 instrument.Their is restriction of maximum of three connections per api_key.
This discussion has been closed.