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