Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategies not being disabled

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

    Strategies not being disabled

    Hi,
    Add one or more strategies to the control center strategies tab.
    Enable them.
    Now compile one of the strats.
    The strat is still enabled. No warning, no nothing. I'm pretty sure this is not how it worked in NT7.
    This is bad.
    Thanks ... Ed

    #2
    This is expected and same as NT7. The same strategy instance will persist no matter if you compile. Once you disable > enable then a new strategy instance would be created.
    BrettNinjaTrader Product Management

    Comment


      #3
      Strategies not being disabled

      Perhaps there is an improvement that can be made in this area, namely that if a running strategy is recompiled so that the on-disk version is now different from the executing in-memory version, a flag is made visible next to the running strategy on the Strategies page to indicate this?
      Multi-Dimensional Managed Trading
      jeronymite
      NinjaTrader Ecosystem Vendor - Mizpah Software

      Comment


        #4
        Good thought, personally I would expect the current version of my strategy to be running until I reload NinjaScript which then uses the new version. As far as logic for auto switch over I can see it getting quite tricky (Parameter changing, different defaults for paramters, etc, etc). Will add it to the list but would make a strong case for simplicity over complexity here. SFT-480.
        BrettNinjaTrader Product Management

        Comment


          #5
          Originally posted by jeronymite View Post
          Perhaps there is an improvement that can be made in this area, namely that if a running strategy is recompiled so that the on-disk version is now different from the executing in-memory version, a flag is made visible next to the running strategy on the Strategies page to indicate this?
          This is a good idea, but we should make sure the current strategy keeps running as the new code might be for testing purposes.

          Comment


            #6
            Strategies not being disabled

            Yes, the intention would be a flag that simply says "hey, this strategy that you are currently running has been recompiled and if you stop it and start it again, the most recent version will run, not this version you are currently executing".
            Multi-Dimensional Managed Trading
            jeronymite
            NinjaTrader Ecosystem Vendor - Mizpah Software

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            670 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            379 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            111 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            575 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            582 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X