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 NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X