Place a trading order. Supports equity, option, fractional, multileg, combo, OTO, OCO, and OTOCO order types.
For more information on all order types, including requirements and constraints, please see our guides on trading.
Advanced Orders
Combo Orders:
Place a combo order. This is a specialized type of order consisting of one equity leg and one option leg. It can optionally include a second option leg, for some strategies.
OCO Orders:
Place a one-cancels-other order. This order type is composed of two separate orders sent simultaneously. The property keys of each order are indexed.
Please note these specific validations:
- type must be different for both legs.
- If both orders are equities, the symbol must be the same.
- If both orders are options, the option_symbol must be the same.
- If sending duration per leg, both orders must have the same duration.
OTO Orders:
Place a one-triggers-other order. This order type is composed of two separate orders sent simultaneously. The property keys of each order are indexed.
OTOCO Orders:
Place a one-triggers-one-cancels-other order. This order type is composed of three separate orders sent simultaneously. The property keys of each order are indexed.
Please note these specific validations:
- If all equity orders, second and third orders must have the same symbol.
- If all option orders, second and third orders must have the same option_symbol.
- Second and third orders must always have a different type.
- If sending duration per leg, second and third orders must have the same duration.