Not sure if this would be applicable, but you can place conditional orders on some trading platforms. So you would set up a strategy that when one order gets filled, the other order then goes to the exchange. I don't believe the exchange has that type of orders, however--it would reside locally, but wouldn't be sent to the exchange until the initial order was filled.