Skip to main content

Options Trading

The Options API lets you trade options through the same unified order endpoints as stocks. Options are differentiated by setting instrument_type: OPTION and providing the legs array with option-specific parameters.

Supported Order Types

Options support a subset of order types:

Order TypeDescription
LIMITExecute at the specified price or better
STOP_LOSSTrigger a market order when the stop price is reached
STOP_LOSS_LIMITTrigger a limit order when the stop price is reached
caution

MARKET order type is not supported for options. Only BUY and SELL sides are supported (no SHORT).

Time in Force for Sell-Side Orders

Options sell-side orders (SELL) only support DAY as time_in_force. GTC is only available for buy-side orders.

Time in Force

ValueDescription
DAYValid for the current trading day only
GTCGood till cancelled

Key Parameters

ParameterRequiredDescription
option_strategyYesSINGLE for single-leg orders
legsYesArray of leg definitions
legs[].symbolYesUnderlying symbol (e.g., AAPL)
legs[].strike_priceYesStrike price of the option
legs[].option_expire_dateYesExpiration date in YYYY-MM-DD format
legs[].instrument_typeYesOPTION
legs[].option_typeYesCALL or PUT
legs[].marketYesUS
legs[].sideYesBUY or SELL
legs[].quantityYesNumber of contracts

API Endpoints

Options use the same endpoints as stock orders. See API Endpoints for the full list.

Request Examples

Buy 1 AAPL call option at a limit price of $11.25, strike price $220, expiring 2025-11-19.

{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"order_type": "LIMIT",
"limit_price": "11.25",
"quantity": "1",
"option_strategy": "SINGLE",
"side": "BUY",
"time_in_force": "DAY",
"entrust_type": "QTY",
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"legs": [
{
"side": "BUY",
"quantity": "1",
"symbol": "AAPL",
"strike_price": "220.00",
"option_expire_date": "2025-11-19",
"instrument_type": "OPTION",
"option_type": "CALL",
"market": "US"
}
]
}
]
}

What's Next