Get Time and Sales Data

Sections

Theme switcher

Place Multileg Order

Header Parameters

Content-Typestring Required

Request content type

Enum values:
application/x-www-form-urlencoded
Authorizationstring Required

Path Parameters

account_idstring Required

ID of the account

Body Parameters

classstring Required

Order class identifier

Enum values:
multileg
symbolstring Required

The underlying security symbol of the options

typestring Required

The type of order to be placed. One of: market, debit, credit, even

Enum values:
marketdebitcrediteven
durationstring Required

The order duration

Enum values:
daygtcprepost
pricenumber

The limit price (required for debit and credit orders)

option_symbol[0]string

OCC option symbol of the option

Show child attributes

side[0]string

The side of the option leg. One of: buy_to_open, buy_to_close, sell_to_open, sell_to_close

Enum values:
buy_to_openbuy_to_closesell_to_opensell_to_close
quantity[0]number

The number of contracts for the option leg

option_symbol[1]string

OCC option symbol of the option

Show child attributes

side[1]string

The side of the option leg. One of: buy_to_open, buy_to_close, sell_to_open, sell_to_close

Enum values:
buy_to_openbuy_to_closesell_to_opensell_to_close
quantity[1]number

The number of contracts for the option leg

option_symbol[2]string

OCC option symbol of the option

Show child attributes

side[2]string

The side of the option leg. One of: buy_to_open, buy_to_close, sell_to_open, sell_to_close

Enum values:
buy_to_openbuy_to_closesell_to_opensell_to_close
quantity[2]number

The number of contracts for the option leg

option_symbol[3]string

OCC option symbol of the option

Show child attributes

side[3]string

The side of the option leg. One of: buy_to_open, buy_to_close, sell_to_open, sell_to_close

Enum values:
buy_to_openbuy_to_closesell_to_opensell_to_close
quantity[3]number

The number of contracts for the option leg

tagstring

User-defined tag for the order

previewboolean

When true, validates the order without submitting it

Response

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?

POST

/

Select
1

Response

Was this section helpful?