Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Method to set a time for all strategies selected to exit and turn off...

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

    Method to set a time for all strategies selected to exit and turn off...

    Hi,

    Looking for a method to set a time for all strategies selected to exit and turn off selected strategies on the fly. I am not looking to put it in the code but something we can add to the platform or some kind of add on so we can select all strategies to we want to apply to exit and turn off by X time EST for example.

    Say we manually have the strategies turned on at 9 am est. Let's say I had 15 strategies running. Of the 15, I might want to have a select 10 of those exit and turn off the strategies at say 11 pm est on the fly.

    What are the best ways and approaches to be able to do that and make decisions on the fly when I want them on or off as it will not be static all the time so putting in the code would be cumbersome to then change the times in the code all the time.

    Let me know what options I have?



    Greg

    #2
    Hello, thanks for writing in. Unfortunately, there is no way to externally control a strategy programmatically, all the code must be within the strategy itself. We have an example here that shows how to set up a time filter to limit the trading hours in the strategy:


    Also see CloseStrategy()

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X