Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT Break had to restart

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

    NT Break had to restart

    At 2pm I was in a long position, via a strategy. NT had a break according to the log. The computer locked up and I had to turn off the power to restart it. When I logged in everything came back up and I was still in the position but the strategy was not running. So I just put in a stop to protect my position. What will happen if I restart the strategy? It is set to take up a position based on back testing. Will it just resume showing my position or will it trade a 2nd contract?
    thanks

    #2
    Hello larrylwill,

    Unfortunately there is no simple answer here. It depends on your sync and strategy options outlined here:


    The strategy is run again on historical data. In order for it to pick up the existing position / order, the virtual execution details when run against historical data must match exactly with the actual execution details originally submitted by the strategy. If you're running with CalculateOnBarClose = false, then it's highly unlikely these two will match.

    It may be best to manage this position manually and then start the strategy again once it reaches a flat state.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      It is calculate on bar close true and was in sync.
      So what would have happened if I was not at home when it locked up. Would the strategy continue or would I still be in a long position while the market was crashing?

      thank you.

      Comment


        #4
        If NinjaTrader is unresponsive or locked then the strategy cannot manage your position. We highly recommend that you are within close proximity to your computer while it is running an automated trading strategy; you never know what can go wrong.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          well there are 2 of us watching it so I guess it it locks up my partner can log in on his and close it out.
          What does it mean NT had a BREAK in the log? Was it NT went down or did the computer generate this?

          Comment


            #6
            We can look at your log / trace files to identify specific message you got. Use Help > Mail to support feature. In the subject, write Attn RyanM 407222 and make sure log / trace is checked.
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              sent 678910

              Comment


                #8
                I see Kyle has your log / trace files from earlier and you've been working with him on this lockup incident. Please continue to work with him on that. If you have any further questions on expected strategy behavior can use this thread.
                Ryan M.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by charlesugo_1, 05-26-2026, 05:03 PM
                0 responses
                60 views
                0 likes
                Last Post charlesugo_1  
                Started by DannyP96, 05-18-2026, 02:38 PM
                1 response
                148 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, 05-11-2026, 05:56 AM
                0 responses
                162 views
                0 likes
                Last Post CarlTrading  
                Started by CarlTrading, 05-10-2026, 08:12 PM
                0 responses
                97 views
                0 likes
                Last Post CarlTrading  
                Started by Hwop38, 05-04-2026, 07:02 PM
                0 responses
                284 views
                0 likes
                Last Post Hwop38
                by Hwop38
                 
                Working...
                X