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 argusthome, Yesterday, 10:06 AM
            0 responses
            18 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            17 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            14 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            9 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            38 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X