Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Limit Order executed at "wrong" price in backtest

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

    Limit Order executed at "wrong" price in backtest

    Hello,

    in my strategy (during a backtest) I place a Limit Buy Order for the next bar at the price of 50$, and it gets actually filled at 50$, although the next 5 Minute bar opens at 49$ (gap down).
    So in reality the order would be filled with a much better price.
    I would expect that during a backtest NT simulates the fill price with the first price available that is lower than the limit.
    Why does NT never simulates a better fill-price than the limit price ?

    Thanks,
    Derjan


    #2
    Hello Derjan,

    This would also depend on the 'Fill limit orders on touch' setting, but in general if the order is between the high and low, the order is filled.
    https://ninjatrader.com/support/help...testProperties
    https://ninjatrader.com/support/help...mitontouch.htm

    Below are links to the help guide on the historical fill algorithm.
    https://ninjatrader.com/support/help...lFillAlgorithm
    https://ninjatrader.com/support/help...fill_logic.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by op1031, Yesterday, 05:16 PM
    1 response
    8 views
    0 likes
    Last Post NT-Roland  
    Started by sinpeople, Today, 07:20 AM
    1 response
    3 views
    0 likes
    Last Post NT-Roland  
    Started by Frank1000, Today, 03:05 AM
    1 response
    7 views
    0 likes
    Last Post NT-Roland  
    Started by ntdev, Today, 01:14 AM
    4 responses
    16 views
    0 likes
    Last Post ntdev
    by ntdev
     
    Started by ct, Today, 02:22 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X