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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        87 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        132 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        118 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        67 views
        0 likes
        Last Post PaulMohn  
        Working...
        X