Test New Order

Submits a validation request to test endpoint 200 Status OK

📘

The test endpoint is solely to validate the parameters of the new order, it does not send to matching engine

Weight: 1

Request Parameters*


PARAMETERTYPEReq'dDESCRIPTION
symbolSTRINGYName of instrument
e.g. "BTCUSD", "ETHUSD"
sideENUMYBUY or SELL
typeENUMYCurrently offer 3 order types:
  • LIMIT - Limit order
  • MARKET - Market order
  • LIMIT_MAKER - Maker Limit order
quantityDECIMALYOrder amount in units of the instrument. Commonly known as "orderQty"
priceDECIMALCRequired for LIMIT and LIMIT_MAKER order
newClientOrderIdSTRINGAn ID defined by the client for the order, it will be automatically generated if it is not sent in the request (up to 255 characters)
timeInForceENUMGTC for Limit order, Limit maker order and IOC for Market order
recvWindowLONGRecv Window. Default 5000
timestampLONGYTimestamp
stpModeENUMCSelf Trade Prevention Mode.
Enum: EXPIRE_TAKER, EXPIRE_MAKER
Default EXPIRE_TAKER if not specified.

Response Content

Empty

{}
Query Params
string
required
Defaults to BTCUSD

Instrument ID

string
enum
required
Defaults to BUY

Order side

Allowed:
string
enum
required
Defaults to LIMIT

Order Type

Allowed:
double
required
Defaults to 0.01

Order amount in units of the instrument. Commonly known as "orderQty"

double
Defaults to 46000

Required for LIMIT and LIMIT_MAKER order

int64
Defaults to 5000

rec Window

string
enum
Defaults to GTC

GTC for Limit order and IOC for Market order

Allowed:
string
Defaults to 123456

An ID defined by the client for the order, it will be automatically generated if it is not sent in the request

int64
required
Defaults to 1707491157769

Millisecond Timestamp

string
required
Defaults to e26b5b4ca8109262c34a0bd6733a675e3a5db9dc78aa06ea2c8dcae01a0ee312

Signature

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json