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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        44 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        54 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        34 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        95 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        57 views
        0 likes
        Last Post PaulMohn  
        Working...
        X