Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnOrderUpdate Questions

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

    OnOrderUpdate Questions

    I read through the help and I'm not sure if what I am seeing is expected behavior. When running a backtest on daily bars, I am "sometimes" seeing an OrderUpdate with an OrderStatus of "Filled" on the same day as the order is submitted. I'm not quite sure how that can be when it obviously can't be filled until the next day. The OnExecutionUpdate reports it on the proper day. Am I missing something?

    #2
    That is interesting -- thank you for reporting this to us. Can you share a simplified version of the script that you are using, so that I can test with the same entry/exit logic that you are using?
    Dave I.NinjaTrader Product Management

    Comment


      #3
      Hi Dave,
      When I get a chance I will try to create a skinny version of my code.

      Comment


        #4
        He Dave,
        Please see the attached example.

        It is a multi-symbol strategy. It will print to the output window the details of each event. See picture of what I am referring to.

        The example is using the ^SP500 index as the base security with daily bars from 1/1/2013 to today. I am using IQfeed as my datasource. The strategy loads the DOW 30 and runs a simple SMA crossover strategy on the underlying instruments.

        I've attached a picture of my strategy settings.
        Attached Files
        Last edited by GrumpyTrader; 01-02-2016, 11:37 AM.

        Comment


          #5
          Thank you -- that was exactly what I needed to see the issue clear as day. I can confirm this behavior, and it does appear to be unintended. The DateTime provided on OnOrderUpdate, in addition to the Time property of the Order object provided, both show the date/time of the order submission, rather than order fill.

          I've reported this to our development team to investigate a potential solution, with Tracking ID # NTEIGHT-9240.
          Dave I.NinjaTrader Product Management

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          666 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          377 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          110 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
          580 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X