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.
Comment