Place a combo order. This is a specialized type of order consisting of one equity leg and one option leg. It can optionally include a second option leg, for some strategies.
Header | Required | Values/Example | Default |
---|---|---|---|
Accept | Optional | application/xml, application/json | application/xml |
Authorization | Required | Bearer {token} |
Note: the index for each leg starts at 0 and would go to 3 for 4 legs.
Parameter | Type | Param Type | Required | Values/Example | Default |
---|---|---|---|---|---|
account_id | Path | String | Required | VA000000 | |
Account number | |||||
class | Form | String | Required | combo | |
The kind of order to be placed. | |||||
symbol | Form | String | Required | SPY | |
Underlying security symbol of the options | |||||
type | Form | String | Required | market | |
The type of order to be placed. One of: market, debit, credit, even
|
|||||
duration | Form | String | Required | day | |
Time the order will remain active. One of: day, gtc, pre, post
|
|||||
price | Form | String | Optional | 1.00 | |
Limit price. Required only for debit and credit orders. | |||||
side[0] | Form | String | Required | buy | |
The side of the equity leg. One of: buy, buy_to_cover, sell, sell_short
|
|||||
quantity[0] | Form | String | Required | 1 | |
The number of shares | |||||
option_symbol[1] | Form | String | Required | SPY140118C00195000 | |
OCC option symbol of the option | |||||
side[1] | Form | String | Required | buy_to_open | |
The side of the option leg. One of: buy_to_open, buy_to_close, sell_to_open, sell_to_close
|
|||||
quantity[1] | Form | String | Required | 100 | |
The number of contracts for the option leg | |||||
option_symbol[2] | Form | String | Optional | SPY140118C00196000 | |
OCC option symbol of the option | |||||
side[2] | Form | String | Optional | buy_to_close | |
The side of the option leg. One of: buy_to_open, buy_to_close, sell_to_open, sell_to_close
|
|||||
quantity[2] | Form | String | Optional | 100 | |
The number of contracts for the option leg | |||||
tag | Form | String | Optional | my-tag-example-1 | |
Order tag. Maximum lenght of 255 characters. Valid characters are letters, numbers and -
|
https://sandbox.tradier.com