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 charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      60 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      148 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      97 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      284 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X