Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnExecution not firing....

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

    OnExecution not firing....

    Ninja 8.1.4.1

    in an Indicator, not a Strategy

    On Playback connection: (cause it is the weekend and I have no live feed or SIM to test)

    I have this...

    if (MasterAccount != null) MasterAccount.OrderUpdate += OnOrderUpdate;
    if (MasterAccount != null) MasterAccount.ExecutionUpdate += OnExecutionUpdate;​


    this is not firing....the Executions Tab on the Control Panel shows the Executions, but this is not firing

    private void OnExecutionUpdate(object sender, ExecutionEventArgs e)
    {​
    Print ("OnExecutionUpdate");
    }


    OnOrderUpdate is working fine....

    How to debug??

    #2
    the order is entered via a Submit in the indicator

    Comment


      #3
      Hello llanqui,

      May I confirm you are using 8.1.4.1?

      I made a test script to test and was not able to reproduce.

      Are you able to reproduce with the attached test script?
      PlaybackAccountExecutionUpdateTest_NT8.zip
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        your script is working....don't know why mine wasn't but now I'm through testing with Live...was OK

        won't spend more time on it

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        558 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X