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 SalmaTrader, 07-07-2026, 10:26 PM
            0 responses
            49 views
            0 likes
            Last Post SalmaTrader  
            Started by CarlTrading, 07-05-2026, 01:16 PM
            0 responses
            22 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 06-17-2026, 10:32 AM
            0 responses
            15 views
            0 likes
            Last Post CaptainJack  
            Started by kinfxhk, 06-17-2026, 04:15 AM
            0 responses
            21 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 06-17-2026, 04:06 AM
            0 responses
            23 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Working...
            X