Connection error: 0 - Can't subscribe to more than 3000 instruments.

aharish
Hi Sujith,

I have created two websocket connections. websocket-1 subscribes to 2000 instruments and websocket-2 subscribes to 1000 instruments.

Everything runs fine but my connection is broken with 'Connection error: 0 - Can't subscribe to more than 3000 instruments.' almost five to six times per day. It reconnects automatically but it should not disconnect in the first place.

Please help.

Harish
  • Vivek
    3000 instruments limit is per connection so please check if you are exceeding it. Also note that if you already have say 1000 instruments and subscribe for more than 2000 then the new subscription will be rejected and you still have only 1000 instruments subscribed.
  • aharish
    I dont get it. I am getting intermittent errors during the day while I do nothing. It works perfectly most of the time. I dont understand why it should give error during the day?

    Your API is unpredictable many times. One can not be sure that it will always work.
Sign In or Register to comment.