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. "BTCUSDT", "ETHUSDT"
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

Response Content

Empty

{}
Query Params
string
required
Defaults to BTCUSDT

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
required
Defaults to 60000

Required for LIMIT and LIMIT_MAKER order

int64

rec Window

string
enum

GTC for Limit order and IOC for Market order

Allowed:
string

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 1719721551298

Millisecond Timestamp

string
required
Defaults to dfd29f4807479b509c16552f4cfec552e034d96e657074ac4abdb5c2f176749e

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