Thanks for your responses for all the questions.
I am looking to have the AddOrder during the first hour and also the last hour of the regular market hours.
In other words, I would like to backtest my strategy during certain periods of the market only.
For either a Buy or Sell, the position should be closed on or before the regular market closing time.
Can these conditions be included in some way in the AddOrder logic?
Marked as spam
Please log in to post questions.