Links

下单

1. 接口调用:
https://{host}/marketApi/trade
2. 请求参数实例
参数
是否必须
说明
channelId
渠道id
timestamp
毫秒时间戳(UTC+8)
sign
签名
tradePair
交易对
type
交易类型,取值:buy/sell
price
下单价格
amount
下单数量
3.请求参数示例
{
"channelId":"swft-channel",
"sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
"timestamp":"1557653925555",
"tradePair":"BTC/USDT",
"type":"buy",
"price":"1",
"amount":"1",
}
4.返回结果示例
{
"data":"",
"resCode":"800",
"resMsg":"成功"
}