POST/v1/api/auth/orders
URL:
https://api.koindex.io/POST/v1/api/auth/orders?api_key=****&auth_nonce=1524165420000&auth_sign=0aeb680bb3152c14f849037af45f9eb1
Request field:
api_key |
Your API key | string |
auth_nonce |
Timestamp | string |
auth_sign |
MD5coding.MD5(api_key+auth_nonce+apiSecret) | string |
Response:
{
"code": 0,
"data": [
[
"465138077950068736",
"ETH_USDT",
"1530939159630",
"0",
"1.0000",
"0.010000",
"0",
"LIMIT",
"-1",
"1"
],
[
"465137048718198784",
"ETH_USDT",
"1530938914242",
"0",
"0.1000",
"0.011000",
"0",
"LIMIT",
"-1",
"1"
],
],
"channel": "auth-orders"
}
data |
Order ID, Pair name, Order creation time, Completed amount, Total amount of this order, Price of specify, when the specify price is positive means bids and a negative number indicates asks. Price of trade, Order type: MARKET / LIMIT / STOP-LIMIT associated orders: -1 means no associated orders, only if STOP-LIMIT is defined.Order status: 1-Start / 2-Partially Executed / 3-Executed / 4-Cancelled |
channel |
auth-make-order | auth-cancel-order | auth-orders | auth-orders-history | auth-trades-history | auth-detail-order |
Error:
{"code":-1,"msg":"fail"}
code |
response status, 0 is success, other is fail. |
msg |
error massage |