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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      65 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      35 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      59 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      51 views
      0 likes
      Last Post CarlTrading  
      Working...
      X