Trading pair (current trading pair must submit, all trading pairs do not submit)
from
No
int
122
Query start order_sn
direct
No
string
prev
Query direction (default prev), prev forward, time (or ID) reverse; next backward, time (or ID) positive order. (example: 1, 2, 3, 4, 5. From = 4, prev has 3, 2, 1; next only 5)
limit
No
int
20
Number result sets returned by paging, which defaults to 20 and Max to 100(see details at paging)
Return example
ParamName
Y/N
Type
Example
Description
errno
Yes
int
0
Status code
errmsg
Yes
success
success
Status information
result
Yes
list
See the example
List
RESULT Parameter Instructions
ParamName
Y/N
Type
Example
Description
order_id
Yes
integer
Order ID
order_sn
Yes
string
Order No
symbol
Yes
string
Trading pair
ctime
Yes
string
Entrusted time
type
Yes
int
1
Types:1=Market,2=Limit
side
Yes
string
buy
Direction:buy/sell
price
Yes
String
Price: Market price (type=1) is 0
number
Yes
String
3.12
Quantity: Market price is 0 when buying (type=1, side=buy)
total_price
Yes
String
Total: Market price is 0 when selling (type=1, side=sell)
deal_number
Yes
String
Orders
deal_price
Yes
String
Price
status
Yes
int
1
Status :1=Maker 2=Partial traded 3=Traded 4=Cancelled,5=Partial cancellation 6=Cancelled
Comments
0 comments
Article is closed for comments.