Skip to main content
POST
/
nbx
/
v2
/
emm
/
orders
/
place
cURL Example
curl -X POST "$API/emm/orders/place" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outcomeId": "123e4567-e89b-12d3-a456-426614174000",
    "price": 0.125,
    "qty": 4200,
    "currency": COIN,
    "tif": "GTC"
}'

Body

application/json
outcomeId
string
required

The server-generated UUID of the outcome for which the order will increase exposure

Example:

"123e4567-e89b-12d3-a456-426614174000"

price
number
required

The price of the order in decimal probability, up to 3 decimal places

Example:

0.667

qty
number
required

The number of minimal currency units for the order. Note that this must be a positive integer. For CASH orders, 1 unit = 0.01 Novig Cash (e.g., 100 units = 1.00 Cash). For COIN orders, 1 unit = 1 Novig Coin

Example:

110

currency
string
required

Denomination of the order, i.e. CASH or COIN

Example:

"CASH"

tif
string
required

GTC, GTT, IOC, or FOK (default is GTC)

Example:

"GTC"

ttl
number

Time to live for the order (milliseconds) after which the order will be automatically canceled if not totally filled. Applicable only under GTT time-in-force

Example:

2400

flags
string

Custom 8-character string field for storing trader-specified flags or metadata about the order

Maximum string length: 8
Example:

"ABC12345"

Response

Order placed successfully