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

issues with stop limit orders

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

    issues with stop limit orders

    I am having the following issue.

    I user enterlongstoplimit and entershortstoplimit orders. I'm getting the following errors. I believe it happens when the stop portion of the order gets hit, but the limit doesn't and my strategy tries to reset the order. (with MBT).


    Strategy 'RegressionStop' submitted an order that generated the following error 'UnableToChangeOrder'. Strategy has sent cancel requests
    Replace rejected for reason: General Order Replace Error Affected Order: Buy 1 StopLimit @ 12230 x 12224


    For the error above, if the price touches 12230, it sets a limit order at 12224. The limit order isn't filled and my strategy tries to reset the stop and limit amounts to different values.

    Is this a bug, or am I doing something wrong? Would it be possible to have a "simulated" value for stoplimitorders where the stop portion would be simulated and if touched would just send a limit order?

    -Erik
    Last edited by woodside; 02-11-2008, 02:54 PM.

    #2
    Could you send via Help > Mail To Support a message and include in the subject "For Dierk" and reference this post.

    We will check into this. Thanks.
    RayNinjaTrader Customer Service

    Comment


      #3
      Email sent.

      I had the same strategy running on an account at MBT and an account at IB, the strategy on MBT errored and quit, the IB one placed the order and completed properly.

      -Erik

      Comment


        #4
        Apparently this is an issue with MBT with no workaround other than not using stoplimit orders or managing orders manually with 6.5 order handling.

        I requested to Dierk that a "simulated" value gets added to the stoplimit orders where the stop is simulated via NT, then just regular limit orders get sent.

        Just updating this thread in case anyone else comes across this issue.

        This is an MBT issue, the strategy works fine on IB.

        -Erik

        Comment


          #5
          Potential work arounds:
          - use stop market instead of stop limit
          - turn off strategy error handling and apply custom handling for order status events

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Option Whisperer, Today, 09:55 AM
          1 response
          11 views
          0 likes
          Last Post bltdavid  
          Started by port119, Today, 02:43 PM
          0 responses
          1 view
          0 likes
          Last Post port119
          by port119
           
          Started by Philippe56140, Today, 02:35 PM
          0 responses
          3 views
          0 likes
          Last Post Philippe56140  
          Started by 00nevest, Today, 02:27 PM
          0 responses
          2 views
          0 likes
          Last Post 00nevest  
          Started by Jonafare, 12-06-2012, 03:48 PM
          5 responses
          3,986 views
          0 likes
          Last Post rene69851  
          Working...
          X