Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Internal handling rules for filling orders in backtest

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

    Internal handling rules for filling orders in backtest

    Hello,

    I am running a backtest on a set of trades. I'm finding that some of my orders don't get filled in the bar that they are submitted.

    I'm using minutely market data for the backtest.

    One example is a buy limit that is submitted at a price that is in the middle of the open and close of a bull bar. The order is not filled and remains active until about half an hour later, when the market comes back down and pushes through the limit, at which point NinjaTrader fills the order.

    I'd like to know what the internal rules are that ninjatrader uses to determine whether a trade is filled while backtesting.

    Thanks-

    #2
    theGreek,

    You can learn more about fill types here : http://www.ninjatrader.com/support/h...fill_types.htm

    Also please note that in backtesting, there are discrepancies when compared to live trading.



    Please let me know if you have additional questions after reading these articles.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the information. Very informative, I think I have solved the problem now.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      648 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      369 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      108 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      572 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      574 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X