Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IB level 2 Subscription Limit Issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    IB level 2 Subscription Limit Issue

    Hi
    I’m new to the forum so I apologize in advance if this is the wrong place to post.
    I have a custom indicator that uses level 2 data (market depth). This is the problem.

    1. Connect to IB and open a chart for NQ 03 -14 and connect my indicator. Everything is OK
    2. Change instruments by typing on the chart to ES 03 – 14. Everything is OK.
    3. Change instruments again by typing on the chart to ZN 03- 14. Everything is OK.
    4. Change instruments by typing on the chart to YM 03-14 and I get an error saying that the limit of 3 level 2 subscriptions has been reached.


    I know that IB imposes a limit of 3 simultaneous Level 2 subscriptions but I only have one chart open and one indicator attached to the chart, so I would assume that I am only using one level 2 subscription. It would appear that NT is not unsubscribing and re-subscribing to the new instrument’s level 2 feed when it’s changed from the chart.


    Is this expected behavior and is there any way through Ninja Script that I could programmatically unsubscribe/re-subscribe to the instruments level2 data?


    Any help would be greatly appreciated.


    Thanks in advance.

    #2
    Hi NaiBKK,

    Thank you for your post.

    Only active running instruments that are requesting level 2 are going to have a subscription to the data.
    This could be a SuperDOM or Level 2 window as well.

    I would need to test out your script on my end to see if I can reproduce this instance.

    Would you be willing to send me your script?
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ageeholdings, Today, 07:43 AM
    0 responses
    7 views
    0 likes
    Last Post ageeholdings  
    Started by pibrew, Today, 06:37 AM
    0 responses
    4 views
    0 likes
    Last Post pibrew
    by pibrew
     
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    14 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    12 views
    0 likes
    Last Post burtoninlondon  
    Working...
    X