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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 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
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X