Create Order
This API allows you to create a new order on the platform.
Last updated
This API allows you to create a new order on the platform.
Last updated
Before using this endpoint, ensure you have read the guide. This guide explains the steps required to create the signature
parameter needed to authenticate your request.
The request body must include the required parameters, detailed below.
You must provide a valid timestamp
and signature
in the request body.
The x-api-key
must be included in the request headers for authentication.
POST
https://nami.exchange/api/v4/spot/order
Headers
Content-Type
application/json
x-api-key
<Your secret key>
Body
symbol
string
The trading symbol
price
number
The price at which to place the order.
Any positive integer
stopPrice
number
The stop price for a stop order.
Any positive integer
side
string
The side of the order
BUY | SELL
type
string
The type of the order
LIMIT | MARKET | STOP_LIMIT | OCO
quantity
number
The quantity of the asset to buy or sell.
Any positive integer
quoteOrderQty
number
The quote order quantity.
Any positive integer
useQuoteQty
boolean
Whether to use the quote order quantity.
True use quoteOrderQty
.
False use quantity
signature
string
The signature is the secret key encoded as ASCII data
timestamp
number
The timestamp is the time the request was sent.
Millisecond only
Response
Read to get symbol available