Place Option Order
Header Parameters
Content-Typestring Required
Request content type
Enum values:
application/x-www-form-urlencodedAuthorizationstring Required
Path Parameters
account_idstring Required
ID of the account
Body Parameters
symbolstring
The security symbol or underlying symbol for options
quantitynumber
The order quantity
typestring
The type of order to be placed. One of: market, limit, stop, stop_limit
Enum values:
marketlimitstopstop_limitdurationstring
The order duration
Enum values:
daygtcprepostpricenumber
The limit price (required for limit and stop_limit orders)
stopnumber
The stop price (required for stop and stop_limit orders)
tagstring
User-defined tag for the order
previewboolean
When true, validates the order without submitting it
classstring Required
Order class identifier
Enum values:
optionoption_symbolstring Required
The OCC option symbol
sidestring
The side of the order. One of: buy_to_open, buy_to_close, sell_to_open, sell_to_close
Enum values:
buy_to_opensell_to_opensell_to_closebuy_to_closeResponse
200
Object
Order response information
Response Attributes
orderobject
Show child attributes
400
Object
Invalid request parameters or body
401
Object
Authentication required or invalid credentials
403
Object
Access denied to the requested resource
404
Object
The requested resource was not found
Was this section helpful?
Response
Was this section helpful?