Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

closing strategy with open position

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

    closing strategy with open position

    How do I ask or do I do so that if the strategy is closed, absolutely everything is canceled?
    With the default configuration and putting in tools/options/strategies so that it closes orders, it closes the orders but leaves the positions open without sl or tp, on the other hand if I leave everything without canceling when I return, the sl and tp are there , but I'm afraid that these sl and tp will not work correctly unless they are oco
    I was looking through the documentation that a colleague of yours gave me, but I see that I cannot use them within OnExecutionUpdate or if it would be possible​

    #2
    Hello franatas,

    If you have the default settings to close orders you can just manually close the position which will terminate the strategy and then also the orders. If you just disable the strategy there is no built in logic to close positions because strategies are made in a way that it is possible for them to resume positions upon starting up.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    597 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    555 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X