How Do I Code a Strategy That Cancels Order After Not Filled in Two Periods?
Once the conditions of my strategy are met, and an order is placed, I am concerned that, after two periods, the desireable conditions are no longer in place, and I therefore want to cancel the order.
How would I begin to code this?
Thanks in advance.

Comment