Address
Receiving parameter
Submit
Example
curl -d /openApi/entrust/add
Submit parameter
ParamName |
Y/N |
Type |
Example |
Description |
symbol |
Yes |
string |
BTC-USDT |
Trading pair |
type |
Yes |
string |
buy-limit |
Order types:Market buying,Market selling, Limit buying,Limit selling |
amount |
Yes |
float |
1.343432 |
限价单表示下单数量,市价买单时表示买多少钱(usdt),市价卖单时表示卖多少币(btc) |
price |
No |
float |
32.3232145 |
Market price don't submit this parameter |
Return parameter
ParamName |
Y/N |
Type |
Example |
Description |
errno |
Yes |
int |
0 |
Status code |
errmsg |
Yes |
success |
success |
Status information |
result |
Yes |
object |
see the example |
List |
RESULT Parameter description
ParamName |
Y/N |
Type |
Example |
Description |
order_sn |
Yes |
string |
|
Order No
|
order_id |
Yes |
integer |
1231 |
Order ID |
Return example
{
"errno": 0,
"errmsg": "success",
"result": {
"order_sn": "BL786401542840282676"
}
}
Comments
0 comments
Article is closed for comments.