Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ignored Exit Order

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

    Ignored Exit Order

    Had an ExitLongOrder ignored as an invalid order during a bar-based backtest because "the stop price is greater than or equal to close price of the current bar".

    Do exchanges do this to protect one from using a bad price for the stop value ? If so, how could one protect against large gaps (down in this case) without knowing to use a plain market vs. stop-market order ?

    In any case, is there a setting that can change this order-ignore behavior in NT, because for backtesting I'd like to make it behave as it would live (as opposed to bar-based), which would fill these orders as the price moved through the stop within a bar.

    #2
    Hello,

    Thank you for your post.

    Unfortunately there is no way to disable this error and it is a NinjaTrader error, not an exchange error. This occurs because you don't know the close of the bar until it closes, therefore your sell stop (exit long) cannot be placed at the close or higher.
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      Would it be correct to assume that this order would not be ignored by NinjaTrader if I was backtesting using tick data instead of bar-based data ?

      Comment


        #4
        Shogun,

        The order will be ignored when the conditions warrant so. It doesn't matter if you are using tick or minute data. If your price is invalid you will get that message.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by Shogun SunTzu View Post
          Would it be correct to assume that this order would not be ignored by NinjaTrader if I was backtesting using tick data instead of bar-based data ?
          Depends on how your stop is placed... but with tick data there are many more data points to use as a stop, so less likely you would receive this error.
          Ray S.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by morrnel, Today, 06:07 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by thumper57, Yesterday, 04:30 PM
          6 responses
          20 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by sastrades, 05-10-2024, 09:59 AM
          3 responses
          55 views
          0 likes
          Last Post rc5781
          by rc5781
           
          Started by guyonabuffalo, Yesterday, 10:01 PM
          2 responses
          22 views
          0 likes
          Last Post guyonabuffalo  
          Started by reynoldsn, 05-10-2024, 07:04 PM
          5 responses
          27 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Working...
          X