Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CancelOrder on Filled order

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

    CancelOrder on Filled order

    in my strategy, if I pass the long order reference which is already filled into CancelOrder, will it place reverse order (10 short) ?

    #2
    Hello nandhumca,

    No, you would need to use the correct method to submit an entry order at that time. To have the platform reverse you need to call the opposite entry order while you are in a position, for example if you had a long position and called EnterShort that will reverse the position.

    Comment


      #3
      I dont want to reverse the order. When I call CancelOrder on allready filled entry order what will happen ? Cancel order is meant for pending orders right ?

      Comment


        #4
        Hello nandhumca,

        If you mean to just exit the position then you would call an exit order. You can't call cancel on an already filled order, that would generate an error and won't place any trades.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        32 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        195 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        356 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        277 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X