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 ScottWalsh, Today, 06:52 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by ScottW, Today, 06:09 PM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by ftsc2022, 10-25-2022, 12:03 PM
          5 responses
          256 views
          0 likes
          Last Post KeyonMatthews  
          Started by Board game geek, 10-29-2023, 12:00 PM
          14 responses
          244 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Waxavi, 04-19-2024, 02:10 AM
          4 responses
          56 views
          0 likes
          Last Post sonia0101  
          Working...
          X