Place OCO Order
Header Parameters
Request content type
application/x-www-form-urlencodedPath Parameters
ID of the account
Body Parameters
Order class identifier
ocoTime the order will remain active. One of: day, gtc, pre, post.
daygtcprepostThe underlying security symbol
The number of contracts for the option leg
The type of order to be placed. First order, one of: limit, stop, stop_limit
limitstopstop_limitOCC option symbol of the option
Show child attributes
The side of the leg. Equity orders, one of: buy, buy_to_cover, sell, sell_short Option orders, one of: buy_to_open, buy_to_close, sell_to_open, sell_to_close
buybuy_to_coversellsell_shortbuy_to_openbuy_to_closesell_to_opensell_to_closeLimit price. Required only for limit, stop_limit, debit and credit orders.
Stop price. Required only for stop and stop_limit orders.
The underlying security symbol
The number of contracts for the option leg
The type of order to be placed. Second order, one of: limit, stop, stop_limit
limitstopstop_limitOCC option symbol of the option
Show child attributes
The side of the leg. Equity orders, one of: buy, buy_to_cover, sell, sell_short Option orders, one of: buy_to_open, buy_to_close, sell_to_open, sell_to_close
buybuy_to_coversellsell_shortbuy_to_openbuy_to_closesell_to_opensell_to_closeLimit price. Required only for limit, stop_limit, debit and credit orders.
Stop price. Required only for stop and stop_limit orders.
User-defined tag for the order
When true, validates the order without submitting it
Response
Order response information
Response Attributes
Show child attributes
Invalid request parameters or body
Authentication required or invalid credentials
Access denied to the requested resource
The requested resource was not found