Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Disable My Strategy

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

    Disable My Strategy

    Hi,

    How can I disable my strategy, right after my profit target is filled?
    Is there a command to do so?
    Sometimes the market is too fast, to allow me to go to the Strategies Settings, then uncheck the Enable box


    Thanks

    #2
    Hello Abdullah_KSA,

    Thank you for your post.

    You can call CloseStrategy() to disable the strategy:



    I'd suggest monitoring for the profit target to fill in OnExecutionUpdate and call CloseStrategy() when the desired fill is seen.

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    7 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    59 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    41 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    47 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    38 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X