POST/v1/api/orders
URL:
https://api.crossexchange.io/POST/v1/api/orders??api_key=****&auth_nonce=1524165420000 &auth_sign=0aeb680bb3152c14f849037af45f9eb1&page_size=10
&page=1
Request filed:
api_key |
Your API key | string |
auth_nonce |
Timestamp | string |
auth_sign |
MD5coding.MD5(api_key+auth_nonce+page_index+page_size+apiSecret) | string |
page_size |
item amount in each page | Integer |
page |
number of current page | Integer |
Response:
{
"code": 0,
"data": [
[
"465138077950068736",
"ETH_BTC",
"1530939159630",
"0",
"1.0000",
"0.010000",
"0",
"LIMIT",
"-1",
"4"
]
],
"channel": "auth-orders-history",
"page": {
"pageNumber": 10,
"countNumber": 197,
"pageSize": 1,
"countPage": 20
}
}
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 |
countNumber |
total items |
countPage |
total pages |
pageNumber |
item amount in each page |
pageSize |
number of current page |
Error:
{"code":-1,"msg":"fail"}
code |
response status, 0 is success, other is fail. |
msg |
error massage |