Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Variables lost with system shutdown

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

    Variables lost with system shutdown

    I have a strategy that has a trigger to shut off at a loss of $1000 for each instrument. But recently I have had problems with Ninja terminating itself while trades are on - which is a big problem in itself. When the shutdown occurs, the data for strategies running is lost. A restart calculates P/L from 0 so losses can be compounded much beyond my $1000. How do I correct this problem? Thanks.

    #2
    Hello,

    Thanks for the forum post.

    Instead of working around the NinjaTrader terminate issue with more code. I would first like to look into why NinjaTrader is terminating. As this is the root problem.

    Can you please go to help->Mail To support and reference this forum post and include the log and trace files so I can look into this.

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Sure Brett - where do I access the log and trace files? Thanks.

      Comment


        #4
        Just sent Brett.

        Comment


          #5
          Hello,

          I received the files. Will look into shortly.
          BrettNinjaTrader Product Management

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          72 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          39 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          63 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          63 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          53 views
          0 likes
          Last Post CarlTrading  
          Working...
          X