AssetPair Trade
Trade
Attribute Name | Type | Description | Example |
---|---|---|---|
id | number | id of trade | |
asset_pair_name | string | name of asset pair | BTC-USDT |
price | string | deal price | |
amount | string | amount | |
taker_side | string | order side, one of "ASK"/"BID" | |
created_at | string | order created datetime |
Trades of a asset pair
Only returns 50 latest trades
GET /asset_pairs/{asset_pair_name}/trades
Parameters
Name | Type | Require | Description | Example |
---|---|---|---|---|
asset_pair_name | string | true | asset pair name | BTC-USDT |
Response is Trade Array.
{
"code": 0,
"data": [{
"id": 38199941,
"price": "3378.67",
"amount": "0.019812",
"taker_side": "ASK",
"created_at": "2019-01-29T06:05:56Z"
}, {
"id": 38199934,
"price": "3376.14",
"amount": "0.019384",
"taker_side": "ASK",
"created_at": "2019-01-29T06:05:40Z"
}]
}