Private
Isolated-Margin Account Channel
Description
Code
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| op | String | Yes | Operation subscribe Subscribe unsubscribe Unsubscribe |
| args | List<Object> | Yes | List of channels to request subscription |
| > instType | String | Yes | Product type: MARGIN |
| > channel | String | Yes | Channel name |
| > coin | String | Yes | Coin name,default represents all the coins,Only default is supported now |
Code
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| event | String | Event |
| arg | Object | Subscribed channels |
| > instType | String | Product type |
| > channel | String | Channel name |
| > coin | String | default |
| code | String | Error code, returned only on error |
| msg | String | Error message |
Code
Push Data Parameters
| Parameter | Type | Description |
|---|---|---|
| arg | Object | Successful channel subscriptions |
| > instType | String | Product type |
| > channel | String | Channel name |
| > coin | String | default |
| action | String | Push data action, snapshot or update |
| data | List<Object> | Subscribed data |
| > available | String | Available amount |
| > borrow | String | Borrow amount |
| > symbol | String | Trading pair |
| > coin | String | Coin name |
| > frozen | String | Amount frozen |
| > id | String | ID |
| > interest | String | Interest |
| > uTime | String | Updated time, ms |
| > coupon | String | Coupon |
