Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 cre8able, Yesterday, 09:15 PM
      2 responses
      14 views
      0 likes
      Last Post cre8able  
      Started by Trader146, Today, 09:17 PM
      0 responses
      6 views
      0 likes
      Last Post Trader146  
      Started by ttrader23, 05-08-2024, 09:04 AM
      9 responses
      43 views
      0 likes
      Last Post ttrader23  
      Started by ZeroKuhl, Yesterday, 04:31 PM
      8 responses
      46 views
      0 likes
      Last Post ZeroKuhl  
      Started by reynoldsn, Today, 07:04 PM
      0 responses
      11 views
      0 likes
      Last Post reynoldsn  
      Working...
      X