-
Notifications
You must be signed in to change notification settings - Fork 0
Trading record information
huyaohua edited this page Jan 19, 2020
·
1 revision
Interface address:https://api.bitforex.com/api/v1/market/trades
Request method:GET
Parameters
parameter name | Types | Is required | Defaults | Description |
---|---|---|---|---|
symbol | String | Yes | - | Trading pairs such as coin-usd-btc, coin-usd-eth, etc. |
size | int | No (default is 1) | - | The number of transactions is 1-600 |
Example
# request
GET https://api.bitforex.com/api/v1/market/trades
# Response
{
"success": true,
"data": [{
"amount": 1,
"direction": 1,
"price": 990,
"tid": "8076",
"time": 1516628489676
}]
}
Return value description
Parameter Name | Type | Description |
---|---|---|
amount | double | The number of transactions |
direction | int | Direction of deal, 1 buyer meal list 2 seller meal list |
price | double | deal price |
tid | String | Transaction record id |
time | long | Deal time |