Acquire full delegation

Open-api (Api Demo)

Online Support avatar
Written by Online Support
Updated over a week ago

Open-api (Api Demo)

Acquire full delegation

  1. 1.Interface address:/open/api/v2/all_order

  2. 2.Interface specification:(getrequest)Acquire full delegation

  3. 3.startDate,endDate interval cannot exceed ten minutes

  4. 4.No startDate, endDate, default first 10 minutes

  • Old interface/open/api/all_order It is still reserved, but not recommended

  • v2Version change: Remove from the result return value tradeListTransaction record,Enhance efficiency;If transaction information for a single order is required

,you can use /open/api/order_info interface and check it

Parameter

Fill in type

Explain

symbol

Must fill

Market mark,btcusdt,See below for details

startDate

Selective filling

(Added) Start time, accurate to seconds“yyyy-MM-dd mm:hh:ss”

endDate

Selective filling

(Added) End time, accurate to seconds“yyyy-MM-dd mm:hh:ss”

pageSize

Selective filling

Page size

page

Selective filling

Page number

api_key

Must fill

api_key

time

Must fill

time stamp

sign

Must fill

autograph

Return value:

Field

Example

Explain

code

0

msg

"suc"

code>0fail

data

as follows:

{
"count":10,
"orderList":[
{
"side":"BUY",
"total_price":"0.10000000",
"created_at":1510993841000,
"avg_price":"0.10000000",
"countCoin":"btc",
"source":1,
"type":1,
"side_msg":"Purchase",
"volume":"1.000",
"price":"0.10000000",
"source_msg":"WEB",
"status_msg":"Full deal",
"deal_volume":"1.00000000",
"id":424,
"remain_volume":"0.00000000",
"baseCoin":"eth",
"status":2
},
{
"side":"SELL",
"total_price":"0.09900000",
"created_at":1510993715000,
"avg_price":"0.10000000",
"countCoin":"btc",
"source":1,
"type":1,
"side_msg":"Sell out",
"volume":"1.000",
"price":"0.09900000",
"source_msg":"WEB",
"status_msg":"Full deal",
"deal_volume":"1.00000000",
"id":423,
"remain_volume":"0.00000000",
"baseCoin":"eth",
"status":2
}
]
}

Currency Number

xxx-cny

xxx-btc

xxx-usdt

btc

btccny

-

btcusdt

eth

ethcny

ethbtc

ethusdt

ltc

ltccny

Itcbtc

ltcusdt

bcc

bcccny

bccbtc

bccusdt

etc

etccny

etcbtc

etcusdt

usdt

usdtcny

-

-

Did this answer your question?