Place OTOCO Order
Header Parameters
Request content type
application/x-www-form-urlencodedPath Parameters
ID of the account
Body Parameters
Order class identifier
otocoTime the order will remain active. One of: day, gtc, pre, post. Alternatively, it can also be sent per leg (duration[index]) as long as the main duration is omitted.
daygtcprepostThe underlying security symbol, use for equities legs
Show child attributes
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, use for option legs
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, use for equities legs
OCC option symbol of the option
Show child attributes
The number of contracts for the option leg
The type of order to be placed. Second leg (first OCO leg), one of: limit, stop, stop_limit
limitstopstop_limitThe 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, use for equities legs
OCC option symbol of the option, use for option legs
Show child attributes
The number of contracts for the option leg
The type of order to be placed. Third leg (second OCO leg), one of: limit, stop, stop_limit
limitstopstop_limitThe 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