Consider a MSFT option contract with spread of $0.70 / $0.75, and I want to submit a LIMIT SELL order for 10 contracts with a $0.75 Limit price.? However, I?only want that order to be active when the price of a completely different security (let's say an AAPL option with a spread of $0.10 / $0.30) meets a certain condition:?Let's say I want my MSFT limit order active whenever the Ask on that AAPL contract is at or below $0.20...so I want to tell TWS "Activate my MSFT order whenever I'm able to buy that other AAPL option for $0.20 or better, but I don't want it active when that's not the case."
I've figured out the 1st part of that problem: I simply attach a Condition to the MSFT order ticket, selecting the trigger method as a $0.20 price of the unrelated AAPL option contract.?However, the problem is that while I can get my $0.75 MSFT Limit Sell order to activate when that condition is met, it may not execute, and I want to DE-activate when the condition stops being met. So if the AAPL option contract Ask briefly lowers to $0.20?(my condition), my conditional MSFT Limit order gets activated -- good -- but if the AAPL Ask then jumps back to $0.30, my MSFT Limit order is still sitting there live, when I don't want it to be.
In summary, I?only want my $0.75 MSFT Limit Sell to be active when there's an opportunity to buy that AAPL contract for $.20, but not at any other time. But I don't know how to de-activate the order if a condition is no longer being met.