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 NullPointStrategies, Today, 05:17 AM
        0 responses
        44 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        65 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        42 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X