Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

A problem with restarting the IB connection

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

    A problem with restarting the IB connection

    Hello,

    I have a severe problem with restarting my strategies after loosing my IB connection.

    The problem is that after restarting TWS (mostly because of the necessity of restarting TWS once a day) my strategies don't recognize the positions opened by them before loosing the connection with IB. They don't read any new data or manage previously opened position even despite the fact that the NT is literally connected to IB.

    Importantly, I think that I have appriopriate loss-connection options (Handling: keep running). Here are details on my applications:
    - Ninja Trader: 7.0.1000.11;
    - TWS build 932.4;
    - Java 1.7.0_09.

    Best regards,
    g.

    #2
    Hi Greg, which 'On Starting A Realtime Strategy' setting are you using? WaitUntilFlat?



    For IB, you would want to downgrade the TWS used to 927.7 - as this would be the version we currently recommend using with NT7 R11.

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Bertrand,

      that's right, 'WaitUntilFlat' is the option I am currently using. I will check how the other option works.

      Best regards,
      g.

      Comment


        #4
        Bertrand,

        unfortunately changing this option doesn't solve the problem. Have you got any other suggestions?

        Regards,
        Greg

        Comment


          #5
          Greg, when you restart the strategies then - would they have a different strategy position coming from historical data? They would not be expected to pickup the position held previously in your account (at least for now, an option to enhance this further is on our feedback for our next major release).
          BertrandNinjaTrader Customer Service

          Comment


            #6
            Bertrand, yes, NT has old positions, but I want strategies to pickup them. You wrote that it is impossible, so I am affraid that it ends this thread. Thank you for help.
            Regards,
            Greg

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by rocketman7, Today, 01:00 AM
            0 responses
            1 view
            0 likes
            Last Post rocketman7  
            Started by wzgy0920, 04-20-2024, 06:09 PM
            2 responses
            27 views
            0 likes
            Last Post wzgy0920  
            Started by wzgy0920, 02-22-2024, 01:11 AM
            5 responses
            32 views
            0 likes
            Last Post wzgy0920  
            Started by wzgy0920, 04-23-2024, 09:53 PM
            2 responses
            74 views
            0 likes
            Last Post wzgy0920  
            Started by Kensonprib, 04-28-2021, 10:11 AM
            5 responses
            193 views
            0 likes
            Last Post Hasadafa  
            Working...
            X