Transaction Channel

Channel name : fill

Description : Subscribe to account order execution updates, with real-time pushes whenever trades occur.

Subscription requests :

{
  "op": "subscribe",
  "args": [
    {
      "instType": "SPOT",
      "channel": "fill",
      "instId": "default"
    }
  ]
}

Push data format :

{
  "action": "update",
  "arg": {
    "channel": "fill",
    "instType": "SPOT",
    "instId": "default"
  },
  "data": [
    {
      "orderId": "2268962683784329472",
      "clientOid": "5f67a425-8261-4fb7-aa2d-fe172c4b602f",
      "tradeId": "2268962683784329474",
      "symbol": "AVAXHKD",
      "baseCoin": "AVAX",
      "quoteCoin": "HKD",
      "side": "sell",
      "orderType": "limit",
      "priceAvg": "52.62000000",
      "size": "0.30000000",
      "amount": "15.78600000",
      "tradeScope": "taker",
      "timeInForce": "gtc",
      "expireTime": null,
      "feeDetail": [
        {
          "feeCoin": "HKD",
          "fee": "-0.00315720"
        }
      ],
      "cTime": "1785217429547",
      "uTime": "1785217429551"
    }
  ],
  "ts": 1785217429572 // event push timestamp
}

Field description :

FieldTypeExplanation
orderIdStringOrder ID
clientOidStringClient Order ID
tradeIdStringTransaction ID
symbolStringTrading pairs, such as BTCUSDT
baseCoinStringBase asset
quoteCoinStringQuote asset
sideStringOrder side: buy/sell
orderTypeStringOrder type: limit/market
priceAvgStringAverage trade price
sizeStringbase-asset quantity
amountStringQuote Volume
tradeScopeStringLiquidity direction: taker/maker
timeInForceStringTime-in-Force (TIF)
feeDetail[].feeCoinStringAsset of transaction fee
feeDetail[].feeStringAmount of transaction fee
cTimeStringCreate timestamp (milliseconds)
uTimeStringUpdate timestamp (milliseconds)
expireTimeStringExpire time