Acquisition of Trading Records

Open-api (Api Demo)

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

Acquisition of Trading Records

  1. 1.Interface address:/open/api/get_trades

  2. 2.Interface specification:(get Request) to obtain market transaction records

  • This interface does not perform signature verification

Parameter

Fill in type

Explain

symbol

must fill

Market mark,bchbtc,See below for details

Return value:

Field

Example

Explain

code

0

msg

''suc''

code>0fail

data

as follows:

[
{
"amount": 0.55,//volume
"price": 0.18519949,//Transaction price
"id": 447121,
"type": "buy"//Businesstype,Buy asbuy,buysell
},
{
"amount": 16.45,
"price": 0.18335468,
"id": 447120,
"type": "buy"
},
{
"amount": 2,
"price": 0.18335468,
"id": 447119,
"type": "buy"
},
{
"amount": 2.92,
"price": 0.183324003,
"id": 447118,
"type": "sell"
}
]

Virtual Currency Number

xxx-cny

xxx-btc

xxx-usdt

bcc

bcccny

bchbtc

bchusdt

btc

btccny

-

btcusdt

etc

etccny

etcbtc

etcusdt

eth

ethcny

ethbtc

ethusdt

ltc

ltccny

ltcbtc

ltcusdt

Did this answer your question?