Skip to main content

Options Trading

The Options API lets you trade US single-leg options from your JP account through the same unified order endpoints. Options are differentiated by setting instrument_type: OPTION and providing option-specific parameters including the legs array with strike price, expiration, and option type.

For stock trading, see the dedicated Stock Trading page.

Supported Order Types

Order TypeDescription
MARKETExecute at the current market price
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

Time in Force

ValueDescription
DAYValid for the current trading day only
GTCGood till cancelled

Trading Session

ValueDescription
CORECore trading session only

Supported Strategies

StrategyDescription
SINGLESingle-leg option order

Key Parameters

Order-Level Parameters (new_orders[])

ParameterRequiredDescription
client_order_idYesUnique client-defined order ID (max 32 chars, must be unique per account)
combo_typeYesNORMAL for standard orders
option_strategyYesSINGLE
instrument_typeYesOPTION
marketYesUS
symbolYesUnderlying symbol (e.g., AAPL)
order_typeYesMARKET, LIMIT, STOP_LOSS, or STOP_LOSS_LIMIT
sideYesBUY or SELL
quantityYesNumber of contracts
entrust_typeYesQTY (only quantity-based orders are supported)
time_in_forceYesDAY or GTC
support_trading_sessionNoCORE (default)
limit_priceConditionalRequired for LIMIT and STOP_LOSS_LIMIT
stop_priceConditionalRequired for STOP_LOSS and STOP_LOSS_LIMIT
account_tax_typeYesTax account type: GENERAL
margin_typeNoMargin account only: ONE_DAY or INDEFINITE
position_intentNoMargin account only: BUY_TO_OPEN, BUY_TO_CLOSE, SELL_TO_OPEN, or SELL_TO_CLOSE
close_contractsNoArray of contract details for closing specific positions (max 10)

Leg Parameters (legs[])

ParameterRequiredDescription
instrument_typeYesOPTION
marketYesUS
symbolYesUnderlying symbol (e.g., AAPL)
sideYesBUY or SELL
strike_priceYesStrike price of the option
option_expire_dateYesExpiration date in YYYY-MM-DD format
option_typeYesCALL or PUT
quantityYesNumber of contracts for this leg

Request Examples — Single-Leg

Buy 1 AAPL call option at a limit price of $11.00, strike price $220, expiring 2026-06-19. Using a general tax account.

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

What's Next