Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

v7.0.0.11 API Bug

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

    v7.0.0.11 API Bug

    StrategyBase.OnStartUp() not being invoked when a strategy is enabled.

    Used to work in v7.0.0.10, is now broken in v7.0.0.11.

    #2
    Just using Reflector to examine the NinjaTrader.Core DLL and it appears that we have OnStart() and OnStop() methods with this release (much better naming convention by the way). Should I be using these instead?

    Also, the API exposes a OnExecutionUpdate() method.

    This seems to duplicate the functionality of the OnExecution() method. What's the intended usage scenarios for the two methods?

    Comment


      #3
      ScoobyStoo, I'm not sure exactly what you refer to, I tested OnStartUp() via prints from NinjaScript strategy and it works as expected for me. Could you please clarify?

      Will need to check into OnExecutionUpdate().

      Comment


        #4
        I've got a strategy which I'm enabling via the Strategies tab.

        OnStart() fires properly.
        OnStartUp() doesn't.

        Not a problem though. I've just moved my start-up logic to OnStart().

        Comment


          #5
          I see, thanks - can you please try the simple snippet attached? This works for me on beta 11 regardless from where enabled, either Chart or Strategies tab (using the OnStartUp() method).

          Thanks.
          Attached Files

          Comment


            #6
            Nope. Retested it and it's definitely not firing.

            Comment


              #7
              Thanks, I'll have a coworker try to reproduce too - I would suggest you retry after a 100% clean NT 7 11 install.

              For your earlier inquiry - OnExecutionUpdate() is unfortunately an unsupported method.

              Comment


                #8
                ScoobyStoo, is this issue resolved now for you on latest B13?

                Thanks

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                626 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                359 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                105 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                562 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                567 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X