ont he excel sheet provided by IB I see that there is a conditional orders part. Is there a way to "cancel an order" after a given time? Thanks
You can either define the order to have good till time, or create time based alert and make the alert cancel the order. First case should be available to you via API.