I have a strategy which uses 1 day data series. Whenever I start the strategy, it would submit an order but the order is caused by historic date. For example, when I turn on the strategy today on September 26th, the strategy submit an order because of the data from September 21st.
The strategy should have opened a position on September 21st and exit in the same day due to a stoploss. It should not have opened a position on September 26th. How can I fix this issue?
Thanks

Comment