请求接口

1. /Trade/getOrderList (此接口只可获取7天内的成交单数据)

参数 是否必传 类型 说明
symbol string 交易对名称 例如btc_usdt
side string 购买类型 买:buy 卖:sell
start_time int 查询开始时间戳
end_time int 查询截止时间戳
page int 当前页数
page_size int 每页展示数量 最大值 100

返回数据示例

{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": {
        "list": [
            {
                "order_id": 5600035, // 订单ID
                "symbol_id": 1150, // 交易对ID
                "symbol": "ab_usdt", // 交易对名称
                "channel_id": 221, // 渠道ID
                "buy_tid": 134968810, // 买入委托单ID
                "buy_user_id": 40350278, // 买入用户ID
                "buy_fee": "0.00000000", // 买入手续费
                "sell_tid": 134968813, // 卖出委托单ID
                "sell_user_id": 40350278, // 卖出用户ID
                "sell_fee": "0.00000000", // 卖出手续费
                "price": "0.01011709", // 成交价
                "total": "417.4587", //成交总格
                "num": "41262.725", //成交数量
                "created_at": "2025-02-24 20:41:19", // 创建时间
                "updated_at": "2025-02-24 20:41:19" // 最后修改时间
            },
            {
                "order_id": 5600034,
                "symbol_id": 1150,
                "symbol": "ab_usdt",
                "channel_id": 221,
                "buy_tid": 134968797,
                "buy_user_id": 40350278,
                "buy_fee": "0.00000000",
                "sell_tid": 134968798,
                "sell_user_id": 40350278,
                "sell_fee": "0.00000000",
                "price": "0.01012214",
                "total": "399.7894",
                "num": "39496.5342",
                "created_at": "2025-02-24 20:40:54",
                "updated_at": "2025-02-24 20:40:54"
            },
          ...
        ],
        "pageInfo": {
            "pageCurrent": 1,
            "pageCount": 5012,
            "pageSize": 12,
            "pageTotal": 60141
        }
    },
    "seconds": 1740400880,
    "microtime": 1740400880925,
    "unique_id": "67bc68f0b4f491442135280",
    "host": "127.0.0.1"
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""

      results matching ""

        No results matching ""