Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EnterLongStopLimit - missed execution

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

    EnterLongStopLimit - missed execution

    Hello,

    My strategy submitted a long entry today via EnterLongStopLimit for ES futures. The stop level in the submitted order was 1930.25 and limit was 1931. That same very second when the order was being executed the market moved to 1930.5, and my order was rejected, because the stop level was already below the market. Is there any way to make this order still execute. I do not care if I go long a tick or two higher.

    Thanks,
    redduke

    #2
    Sounds like bad luck at that point in time.. Execution speed be damned.... never be faster than market sitting at home..

    Place a market order next time.

    ES isn't that bad of a place to market order. Assuming a small order type... if I'm in Bid/Ask range it's all good.. a tick off.. that's cool too...

    It's all about the speed of the market...

    Comment


      #3
      I guess one of the options is to check if order was rejected, and then resubmit it as market order. Is this the best way to go about it?

      Comment


        #4
        Originally posted by RedDuke View Post
        I guess one of the options is to check if order was rejected, and then resubmit it as market order. Is this the best way to go about it?
        Correct that would an option as well, but you would need to work with the Realtime error management of the script set to .TakeNoAction as otherwise the rejection will mean per default strategy disablement.

        Comment


          #5
          Hi Bertrand,

          I already have the following code in Initialization:
          RealtimeErrorHandling = RealtimeErrorHandling.TakeNoAction;

          What is the best way to capture the above error? Is it to check OrderState, such as OrderState.Rejected or OrderState.Cancelled?

          Thanks,
          redduke

          Comment


            #6
            Correct, this would allow you to capture the order state rejected in your OnOrderUpdate() and then act as desired.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            646 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            367 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            107 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            569 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            573 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X