Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy settings for work 24/7

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

    Strategy settings for work 24/7

    Hello!
    I plan to place a strategy on the VPS in Chicago. However, I was confronted with the fact that at the end of the session the strategy is turned off. In the code I use:

    IsExitOnSessionCloseStrategy = true;
    ExitOnSessionCloseSeconds = 1800;

    I understand it is necessary to put "false".

    But I need 30 minutes before the closing of the session, all orders were closed / deleted, but the strategy itself was not turned off and was waiting for a new trading session.
    How correctly to make such?
    Thank you.

    #2
    Hello,

    Thank you for the post.

    I believe this is related to your other post. If the connection is disconnected, the strategy should be disabled and would be expected. If you wanted to exit at the session close, you would need to use IsExitOnSessionCloseStrategy = true and this should leave the script enabled and simply exit. I believe this is related to you being disconnected as you mentioned in the other post. So long as the connection remains active, the strategy should remain enabled as well.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X