Hi @varun
It is possible to buy hedges manually and then deploy a selling strategy. However, if you want to execute sell legs on time and hedge legs 3-5 seconds before, you can use the "Strategy Execution Time" feature in Execution Settings in AlgoTest. For example, if your strategy enters at 09:20, you can set the execution time to 09:19:55 and delay the entry of sell legs by 4-5 seconds. This way, the hedge legs will execute at 09:19:55, and the sell legs will execute at 09:19:59 or 09:20:00. Exiting a buy legs from the broker end after selling legs exit won't cause a margin error as long as you've manually entered hedges on the broker end.