Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do assign an order so I can cancel it in the future?

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

    How do assign an order so I can cancel it in the future?

    Click image for larger version

Name:	CancelOrder question.png
Views:	130
Size:	25.0 KB
ID:	1175700
    Set 1 will initiate an order when the condition is filled
    Set 2 will cancel that pending order if the new conditions are filled.

    I don't know what to type into CancelOrder().
    how do I assign my pending order so I can cancel it later?

    #2
    Hello Don22Trader1,

    Thanks for your post.

    You would need to create an order object.

    Please see this reference strategy example that shows creating an order object, assigning the order to it, and then canceling the order later.





    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    76 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    146 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    79 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    50 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    54 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X