user.position_balance
CHANNELPosition and balance realtime updates. Subscribe with channels ["user.position_balance"].wss://stream.crypto.com/exchange/v1/user
user.position_balancePrivate
Request
Body
required
Request id
Possible values: [subscribe]
params objectrequired
e.g. ["user.position_balance"]
Current timestamp in milliseconds
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- ]
result object
data object[]
balances object[]
Instrument name of the collateral e.g. USD
Quantity of the collateral.
Update time (Unix timestamp). Optional.
positions object[]
Account ID.
E.g. BTCUSD-PERP.
E.g. PERPETUAL_SWAP.
Position quantity.
Position cost or value in USD.
Profit and loss for the open position.
Open position cost.
Profit and loss in the current trading session.
Updated time (Unix timestamp).
Isolation ID of the isolated position.
Possible values: [ISOLATED_MARGIN]
Isolation type
isolated_positions object[]
Isolation ID of isolated position.
The maximum leverage of the isolated position.
Possible values: [ISOLATED_MARGIN]
Isolation type
balances object[]
Instrument name of the collateral e.g. USD
Quantity of the collateral.
Update time (Unix timestamp). Optional.
positions object[]
Account ID.
E.g. BTCUSD-PERP.
E.g. PERPETUAL_SWAP.
Position quantity.
Position cost or value in USD.
Profit and loss for the open position.
Open position cost.
Profit and loss in the current trading session.
Updated time (Unix timestamp).
Isolation ID of the isolated position.
Possible values: [ISOLATED_MARGIN]
Isolation type