Create order

Creates a new event contract order for the account. The order is processed asynchronously; a successful response indicates the order was received and is pending further processing, not that it has been accepted by the venue. Use the list orders and list trades endpoints, as well as the event contracts WebSocket to observe order lifecycle and fills.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length between 1 and 256

The account ID or account number to create the order for.

Body Params

An event contract order to create.

string
length between 1 and 256

A unique ID that you provide for the order creation, will be generated automatically if not provided. If the order is updated or canceled, it will get a new automatically generated reference ID.

string
enum
required

Either buy or sell side.

Allowed:
string
required
length between 1 and 16

The number of contracts to buy or sell. Supports up to 2 decimal places.

string
required
length between 1 and 16

The limit price per contract, in dollars. All event contract orders are limit orders. Supports up to 4 decimal places.

string
enum
required

The time-in-force policy for the order.

  • day - Valid for the current trading day.
  • gtc - Good till canceled.
  • ioc - Immediate or cancel.
  • fok - Fill or kill.
  • gtd - Good till date/time. Requires expire_at to be set.
Allowed:
int64
1710613560668 to 2900000000000

Required when time_in_force is gtd, ignored otherwise. The time at which the order should expire.

string
required
length between 1 and 128

The event contract symbol.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Choose an example:
application/json