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 Lumbeezl, 01-11-2022, 06:50 PM
          31 responses
          817 views
          1 like
          Last Post NinjaTrader_Adrian  
          Started by xiinteractive, 04-09-2024, 08:08 AM
          5 responses
          14 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by swestendorf, Today, 11:14 AM
          2 responses
          6 views
          0 likes
          Last Post NinjaTrader_Kimberly  
          Started by Mupulen, Today, 11:26 AM
          0 responses
          6 views
          0 likes
          Last Post Mupulen
          by Mupulen
           
          Started by Sparkyboy, Today, 10:57 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X