Get orders:
GET /trades
Request parameters:
Parameter | Jenis | Deskripsi |
---|---|---|
pair_id * | integer | Pair ID |
from_date |
datetime
ISO 8601
|
From date
By default is a day ago
|
to_date |
datetime
ISO 8601
|
To date
By default is the current time
|
per_page |
integer
min: 10,
max: 100
|
Trades count
By default is 100
|
page | integer | Page number |
Example response:
[
{
"id": 1,
"side": "sell",
"price": "219500",
"size": "0.001",
"amount": "219.5",
"created_at": "2017-09-25T19:21:44+00:00"
},
{
"id": 2,
"side": "sell",
"price": "219890",
"size": "0.002",
"amount": "439.78",
"created_at": "2017-09-25T19:21:56+00:00"
},
{
"id": 3,
"side": "buy",
"price": "218650",
"size": "0.005",
"amount": "1093.25",
"created_at": "2017-09-25T19:26:36+00:00"
}
]
kembali