Private
Equity Channel
Description
Subscribe equity channel
Data will be pushed when the following events occurred:
- Transfer balance to Futures account
- Trading voucher deposit
- Open/close orders are filled
Code
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| op | String | Yes | Operation, subscribe unsubscribe |
| args | List<Object> | Yes | List of channels to request subscription |
| > instType | String | Yes | Product typeUSDT-FUTURES USDT-M FuturesCOIN-FUTURES Coin-M FuturesUSDC-FUTURES USDC-M Futures |
| > channel | String | Yes | Channel name |
Code
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| event | String | Yes Operation |
| arg | Object | Subscribed channels |
| > instType | String | Product typeUSDT-FUTURES USDT-M FuturesCOIN-FUTURES Coin-M FuturesUSDC-FUTURES USDC-M Futures |
| > channel | String | Channel name |
| > instId | String | Product ID default |
| code | String | Error code |
| msg | String | Error message |
Code
Push Parameters
| Parameter | Type | Description |
|---|---|---|
| action | String | action, snapshot |
| arg | Object | Channel |
| > instType | String | Product typeUSDT-FUTURES USDT-M FuturesCOIN-FUTURES Coin-M FuturesUSDC-FUTURES USDC-M Futures |
| > channel | String | Channel name |
| > instId | String | Product ID default |
| data | List<Object> | Subscribed data |
| >usdtEquity | String | Account equity (USDT) |
| >btcEquity | String | Account equity (BTC) |
| >usdtUnrealized | String | Unrealized profit and loss (USDT) |
| >unionTotalMargin | String | Total multi-asset margin |
| >unionAvailable | String | Available balance under multi-asset margin mode |
| >unionMm | String | Maintenance margin under multi-asset margin mode |
