New order (TRADE)

POST /api/v3/order

Send in a new order. (Захиалга оруулах)

Parameters:

Name
Type
Mandatory
Description

symbol

STRING

YES

side

ENUM

YES

type

ENUM

YES

quantity

DECIMAL

NO

price

DECIMAL

NO

total

DECIMAL

NO

timestamp

LONG

YES

Some additional mandatory parameters based on order type:

Type
Additional mandatory parameters
Additional Information

LIMIT

quantity, price

MARKET

quantity or total

When side is SELL quantity param is required. When side is BUY total param is required

Response RESULT:

{
  "status": true,
  "code": "0000",
  "msg": [
    "Амжилттай"
  ],
  "data": {
    "id": "faa1074c-ed19-4674-ba30-9844a31bfdd3",
    "symbol": "TRD/MNT",
    "side": "BUY",
    "price": 6,
    "qty": 1000,
    "total": 6000,
    "created_at": "2006-01-02T13:39:59.97487+08:00",
    "side_name": "Авах"
  }
}

Last updated