Market Trade
Trades of a market
Only returns 50 latest trades
GET /markets/{market_id}/trades
Parameters
Name | Description | Example | Required |
---|---|---|---|
market_id | market id | ETH-BTC | true |
after | ask for the server to return trades after the cursor | dGVzdGN1cmVzZQo= | false |
before | ask for the server to return trades before the cursor | dGVzdGN1cmVzZQo= | false |
first | slicing count | 20 | false |
last | slicing count | 20 | false |
Response is a Trade collection
{
"edges": [
{
"node": {
"taker_side": "BID",
"price": "46.1450000000000000",
"market_id": "EOS-BTC",
"id": 1,
"amount": "0.2465480000000000"
},
"cursor": "dGVzdGN1cmVzZQo="
}
],
"page_info": {
"end_cursor": "dGVzdGN1cmVzZQo=",
"start_cursor": "dGVzdGN1cmVzZQo=",
"has_next_page": true,
"has_previous_page": false
}
}