获取订单:

GET /trades

请求参数:

参数 类型 描述
pair_id * integer 交易对 ID
from_date datetime
ISO 8601
從日期
默認情況下,前一天
to_date datetime
ISO 8601
日期
默認為當前時間
per_page integer
最小值: 10, 最大值: 100
交易数量
等级 :數
page integer 页码

示例响应:

[
    {
        "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"
    }
]

返回