Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IB Gateway disconnect-reconnect seems to disable market data requests

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

    IB Gateway disconnect-reconnect seems to disable market data requests

    Hello,

    I'm finally done polishing strategies and am simulating them with IB Gateway this week for the first time. (This means a license fee is likely coming your way soon!)

    The infrastructure on the NT7 side seems to work well, thus far, however this morning I noticed something problematic (which also explains the issues rest of week). IB seems to drop and then reconnect their market data feeds every night between midnight and 1am for a few minutes. I've noticed it happening in other apps, it's not an NT7 issue at all, but it does cause NT7 some problems.

    This morning I needed to disconnect and reconnect to IB to get real time data flowing again into NT7.

    Before the dis-reconnect, I looked at the IB Gateway API messages and market data WAS being delivered to the NT7 connection. But looking at the strategies and even pulling up a chart wouldn't show me real time data.

    Dis/re-connect and everything was groovy again.

    I'm looking to get this to the point where I don't worry about problems like this - are there events which are called on disconnect? ways I can double check the market data subscription in each strategy a couple times a day?

    I appreciate your help here!

    #2
    Hello khoga,
    You can refer to the OnConnectionStatus event to know the connection status. It will trigger on any connection change.

    Please refer to our help guide to know more about it
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Perfect -

      I can trap the events here, but how to force a re-subscribe of market data for that strategy?

      Comment


        #4
        Hello khoga,
        Unfortunately there are no supported codes to re-connect with your connectivity provider.
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Orion815, 05-02-2024, 08:39 AM
        2 responses
        15 views
        0 likes
        Last Post Orion815  
        Started by suroot, 02-25-2017, 04:43 AM
        11 responses
        2,548 views
        0 likes
        Last Post Zilvercat  
        Started by Rogers101, 05-05-2024, 11:30 AM
        16 responses
        50 views
        0 likes
        Last Post Rogers101  
        Started by ninza33, Today, 12:31 PM
        2 responses
        10 views
        0 likes
        Last Post ninza33
        by ninza33
         
        Started by Bobin, 03-12-2024, 08:51 AM
        15 responses
        482 views
        0 likes
        Last Post fiddich
        by fiddich
         
        Working...
        X