I have a mutli time frame and multi instrument strategy. The primary data series is 5minute ES. The secondary data series is 1 tick MES and the third data series is 1tick ES. The order on MES created based on bar close execution from 5min ES data series.
Each 5min at bar close, it will issue an EnterLongLimit() on the secondary data series (1 tick MES data series). It will check whether there is an existing order. If there is an existing order, it will first cancel the existing order and then create the new order.
The problem is sometimes, it won't create the new order after the order cancellation. It happens intermittently. How can I fix this issue?
Comment