API Reference

Sub Order Trade

User data stream.

Response

Sub Order Trade:

{
    "channel": "SUB_TRADE",
    "instId": "BINANCE_PERP_ETH_USDT",
    "data": {
        "transactionId": "1735613056931000",
        "portfolioId": "1730798094087000",
        "orderId": "1735613056910000",
        "algoOrderId": "674712518659",
        "clientOrderId": "2024123110441600",
        "sym": "BINANCE_PERP_ETH_USDT",
        "exchangeType": "BINANCE",
        "businessType": "PERP",
        "price": "3343.02",
        "quantity": "0.01",
        "tradingFee": "0.01170057",
        "tradingFeeCoin": "USDT",
        "side": "BUY",
        "rpnl": "0",
        "createAt": "1735613056931",
        "execType": "TAKER"
    }
}
FieldTyperemark
channelStringChannel name: SUB_TRADE
instIdStringTrading pair unique identifier, example: BINANCE_SPOT_BTC_USDT, BINANCE_PERP_BTC_USDT
dataObjectßData
>transactionIdStringTransaction ID
>portfolioIdStringPortfolio ID
>orderIdStringOrder ID
>clientOrderIdStringCustomer defined order ID
>symStringTrading unique identifier, example: BINANCE_SPOT_BTC_USDT, BINANCE_PERP_BTC_USDT
>exchangeTypeStringExchange type (example: BINANCE,OKX)
>businessTypeStringBusiness type
>priceStringFilled price
>quantityStringFilled quantity, note: trading unit of OKX is the number of contracts/ trading unit of Binance is the number of coin
>tradingFeeStringTrading fee
>tradingFeeCoinStringTrading fee coin
>sideStringSide(BUY,SELL)
>createAtStringExecution time
>execTypeStringTAKER or MAKER