Duration: 5:32
Level: Beginner

Conditional orders are available for available for US and certain Non-US Products on the Pro platform. Accessible through both Mosaic and Classic TWS.

Study Notes:

Conditional orders allow the user to create multiple stipulations for multiple instruments that must be true to activate an order. For example, you may want to buy 100 shares of symbol AAPL at the market if SPY drops 3%. Conditional orders can be created in both TWS Classic and Mosaic and used outside of regular trading hours. A conditional order can also be used to cancel a prevailing order. For example, if you have a limit order to buy 100 shares in symbol AAPL, you could create a conditional order that would cancel that order in the event that symbol SPY is higher on the day by more than 2%.

We will now walk through creating a conditional order in Mosaic to buy 500 shares of AAPL at the market if the rebate rate in Meta – symbol FB – becomes greater than or equal to 5%, or the margin cushion is 25% or lower. And choose to allow the conditions to be satisfied outside of regular trading hours.  Later, we will then edit the existing order to change the margin cushion from 25% to 20%.

  • From the portfolio tab or any Watchlist right click on the symbol AAPL and scroll down to “Trade”.
  • From here select either: “Create a Buy Ticket” or “Order Ticket”.
  • Once selected an order ticket box will appear displaying the Basic tab .
  • Even if you choose “Create a Sell Ticket” accidently, it can be changed in the upper left-hand side under “Action”.
  • We’ll create a market order for 500 shares. Once you have input all the order criteria click on the Conditional tab to the right.
  • If you don’t see it there click on the grey arrow to the right of the last tab.
  • At the bottom of the screen click on the box next to “Allow condition to be satisfied and activate outside of regular trading hours” and choose to submit an order if the stipulations are triggered. Underneath is where you can select to cancel the order instead.
  • Now we will create the conditions necessary for the order to be submitted. Click on the Add button in the top right-hand corner and the “Create Condition” box appears.
  • You can choose from the following conditions: Price, Margin Cushion, Volume, Percentage Change, Rebate Rate in Percent, Time, Daily P&L, Trade, and Shortable Shares.
  • We will start with setting a condition for the rebate rate in percent. Click Next.
  • Now select another underlying, it does not need to be the same underlying the order is for. I’ll choose FB for Meta, and set the rate to greater or equal to 5%. Click Finish.

I will add a second condition by clicking on the Add button, choosing Margin Cushion, and next. I’ll choose less than or equal to 25%. On the far right of each condition is the word “and”. You can choose whether multiple conditions need to be met, some conditions need to be met, or just one of the conditions needs to be met by switching between “and” and “or”. For this order set the conditions so either one will trigger the order by changing and to or.

When everything is set click Preview on the bottom left-hand corner and the Order Preview box will appear. In the middle the Conditions section displays a summary of the condition or conditions needed for the order to be submitted. When ready click Transmit in the lower left-hand side. The order will populate the Activity panel with a green background for the row indicating it is a Conditional Order.

Once the order is sent and has not been activated you can go in and change the conditions and/or order details by right clicking on the row and selecting Modify, then either Order ticket or Condition. Selecting Condition will take you directly to the Conditional tab while if you select Order Ticket you will have to click on the tab when the Order ticket appears on the screen. Once you are in the Conditional tab click on one of the Conditions. Let us choose margin cushion. Click on Edit on the right-hand side. We will change the Condition parameters to 20%. Click Finish. Click Transmit.

Conditional Orders allow the user to create an order dependent on a single or multiple defined stipulations to trigger it. They can be extremely useful in preventing an order from being sent unless certain circumstances become true.

28 thoughts on “Conditional Orders”

    1. Hi Danie, thank you for reaching out. Yes, you can place conditional orders for options combos. If you have any other questions, please let us know.

  1. Can a conditional order be placed to become activated at a specific date?
    Ex. on monday, enter sell on market close order that activates Friday on open

  2. Could you please clarify what the “Percentage Change” condition means? Is this %change from previous closing price, opening price, high/low price during the day (what about outside RTH?), or how is it defined?

    1. Thank you for asking, Anonymous. The Change % is the difference between the last price and the close on the previous trading day (regular trading session). In the future, you can however over a column in TWS to get the tooltip description. We hope this helps!

    1. Hello Kastytis, thank you for asking. Conditional orders allow the user to attach one or more stipulations that must be true before the order can be submitted. This might allow an investor to only buy/sell an option if its underlying is trading above or below a specified level. For more information and an example, please visit https://www.interactivebrokers.com/en/index.php?f=584.

  3. Hi, in what order do the “and” and “or” operators work? What if I want to create condition= condition_1 AND (condition_2 OR condition_3)? Thanks

    1. Hello Yuri, we appreciate your question. To confirm the logic for your conditional order, you can create a web ticket. There is a “How to Use” category in the Secure Message Center.

  4. What happens if I set up the condition = (condition_1 OR condition_2 AND condition_3)? According to the rules of Boolean logic, the AND operation must be performed before the OR operation. Is that how it works?

    1. Hello Juri, we appreciate your question. To confirm the logic for your conditional order, you can create a web ticket. There is a “How to Use” category in the Secure Message Center.

  5. What is the default method in create condition dialog using Price as a factor? How can I change this “default”?

  6. Is it possible to set the limit price at the time of the condition automatically? e.g. when conditions are true, set limit to (ask + $0.05) –> $0.05 above ask
    e.g. when conditions are true, set limit to (mid*1.01) –> 1% above mid

    1. Thank you for reaching out, Anonymous. This is a good question, and we encourage you to create a web ticket to get the best answer for it. There is a category for “How to Use.”

  7. I have already create an option combo and buy it, and I wanna close it when the underlying stock hit a specific price level. If I place a sell order of that option combo with price condition , will the order sell the existing option combo I bought previously or just to sell a new option combo to get the option premium

    1. Hello Samuel, thank you for reaching out. Please view this FAQ for more information on Conditional Orders. We hope this helps!
      Conditional Orders | Interactive Brokers LLC
      Conditional orders let you attach one or more conditions that must be true before the order can be submitted

  8. In TWS can I place a conditional order which is dependednt on another order being filled e.g I have a diagonal spread that is only filled if my Call spread is filled

  9. How does the logical operator precedent work ?
    The UI Has (for example)
    Price XYZZY > 100 AND
    Time > 12:00 AND
    PRICE ABCD 100 AND TIME > 12:00) OR (PRICE ABCD 100) AND (TIME > 12:00 OR PRICE ABCD < 200)

    Maybe Soe other way?

Join the Discussion

Thank you for engaging with IBKR Campus. If you have a general question, it may already be covered in our FAQs. If you have an account-specific question or concern, please reach out to Client Services.

Your email address will not be published. Required fields are marked *

Disclosure: Interactive Brokers

The analysis in this material is provided for information only and is not and should not be construed as an offer to sell or the solicitation of an offer to buy any security. To the extent that this material discusses general market activity, industry or sector trends or other broad-based economic or political conditions, it should not be construed as research or investment advice. To the extent that it includes references to specific securities, commodities, currencies, or other instruments, those references do not constitute a recommendation by IBKR to buy, sell or hold such investments. This material does not and is not intended to take into account the particular financial conditions, investment objectives or requirements of individual customers. Before acting on this material, you should consider whether it is suitable for your particular circumstances and, as necessary, seek professional advice.

The views and opinions expressed herein are those of the author and do not necessarily reflect the views of Interactive Brokers, its affiliates, or its employees.

Disclosure: Order Types / TWS

The order types available through Interactive Brokers LLC’s Trader Workstation are designed to help you limit your loss and/or lock in a profit. Market conditions and other factors may affect execution. In general, orders guarantee a fill or guarantee a price, but not both. In extreme market conditions, an order may either be executed at a different price than anticipated or may not be filled in the marketplace.