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 ageeholdings, Today, 07:43 AM
          0 responses
          7 views
          0 likes
          Last Post ageeholdings  
          Started by pibrew, Today, 06:37 AM
          0 responses
          4 views
          0 likes
          Last Post pibrew
          by pibrew
           
          Started by rbeckmann05, Yesterday, 06:48 PM
          1 response
          14 views
          0 likes
          Last Post bltdavid  
          Started by llanqui, Today, 03:53 AM
          0 responses
          6 views
          0 likes
          Last Post llanqui
          by llanqui
           
          Started by burtoninlondon, Today, 12:38 AM
          0 responses
          12 views
          0 likes
          Last Post burtoninlondon  
          Working...
          X