Place a New Order

1. Request Url

https://{host}/marketApi/trade

2. Request Param

Parameter name

Is it necessary

description

channelId

Y

Channel number

timestamp

Y

Millisecond timestamp(UTC+8)

sign

Y

See "Signature Generation"

tradePair

Y

Trade pair

type

Y

buy/sell

price

Y

price

amount

Y

amount

3.Request Example

{
"channelId":"swft-channel",
"sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
"timestamp":"1557653925555",
"tradePair":"BTC/USDT",
"type":"buy",
"price":"1",
"amount":"1",
}

4.Response Data

{
"data":"",
"resCode":"800",
"resMsg":"SUCCESS"
}