Q: What is newOrderRespType
, and why should I need to care?
Placing order endpoints
POST /api/v3/order
POST /api/v3/order/oco
POST /sapi/v1/margin/order
has this parameter newOrderRespType
which allow client decide how many data returned.
allowed value: ACK
, RESULT
, or FULL
.
order type | default value |
---|---|
MARKET | FULL |
LIMIT | FULL |
STOP_LOSS | ACK |
STOP_LOSS_LIMIT | ACK |
TAKE_PROFIT | ACK |
TAKE_PROFIT_LIMIT | ACK |
LIMIT_MAKER | ACK |
In the API document https://binance-docs.github.io/apidocs/spot/en/#new-order-trade there are examples of each response type.