Hello,
Is there any way I can ensure my algorithm exits all open positions before the market closes that does not involve putting in the order to exit out all positions an hour or more ahead of market close? Preferably in a way that does not prove problematic in the hypothetical event that I trade this strategy with a large amount of capital, say $10 million.
I appreciate any and all help; thanks in advance!