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 CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    58 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    197 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    362 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    282 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X