user.trade
CHANNELTrade updates for the user. Subscribe with channel ["user.trade"].wss://stream.crypto.com/fcm/v1/user
user.tradePrivate
Request
Body
required
id integerrequired
Request id
method stringrequired
Possible values: [subscribe]
params objectrequired
channels string[]required
e.g. ["user.trade"]
nonce integerrequired
Current timestamp in milliseconds
WebSocket response
Schema
- Array [
- ]
id int64
method string
code int32
result object
instrument_name string
subscription string
channel string
data object[]
account_id string
Account ID.
event_date string
Event date.
journal_type string
Journal type would be TRADING.
traded_quantity decimal
Trade quantity.
traded_price decimal
Trade price.
fees decimal
Net trade fees (after fee credits applied, if any). The negative sign means a deduction on balance.
order_id int64
Order ID.
trade_id int64
Trade ID.
trade_match_id int64
Trade match ID.
client_oid string
Client Order ID.
taker_side WsTakerSide (string)
Possible values: [MAKER, TAKER]
Maker or taker side of the trade
side WsOrderSide (string)
Possible values: [BUY, SELL]
BUY or SELL
instrument_name string
E.g. BTCUSD-PERP.
fee_instrument_name string
E.g. USD.
create_time int64
Create timestamp in milliseconds.
create_time_ns int64
Create timestamp in nanoseconds.
match_count int32
Optional. Number of orders matched; Maker's order always 1; Taker's is the number of orders matched.
match_index int32
Optional. Only for Maker's order; which order entry of the price level was matched; 0-based.
transaction_time int64
Trade transaction time in nanoseconds.