Account Change
Description
When changes occur in the static amount of the account, such as margin freezing or releasing, funding rate settlements, and realized PnLs, the following account-related information will be pushed.
Pushing Frequency
Real Time
Channel
account
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| event | Yes | String | Operation: subscribe, unsubscribe |
| channel | Yes | Array | account |
Request Response
| Parameter | Type | Description |
|---|---|---|
| event | String | Operation: subscribe, unsubscribe |
| channel | String | account |
| message | String | Error message |
Push Data
| Parameter | Type | Description |
|---|---|---|
| channel | String | account |
| data | Array | The subscribed data |
| > state | String | Account Status |
| > eq | String | equity in assets |
| > isoEq | String | Isolated asset equity |
| > im | String | Initial margin = cross position margin + cross position pending order freezing |
| > mm | String | Account maintenance margin |
| > mmr | String | Account maintenance margin rate |
| > upl | String | unrealized profit or loss-cross |
| > availMgn | String | Available margin |
| > details | Array | |
| > details.ccy | String | Currency |
| > details.eq | String | Asset equity of this currency |
| > details.isoEq | String | Isolated position equity of this currency = isoAvail + isoUpl + isoHold |
| > details.avail | String | The currency is available |
| > details.upl | String | unrealized profit or loss |
| > details.isoAvail | String | Isolated margin of this currency - Isolated position frozen |
| > details.isoHold | String | This currency’s isolated margin orders are frozen |
| > details.isoUpl | String | Isolated position unrealized profit and loss |
| > details.im | String | Initial margin of this currency |
| > details.imr | String | The initial margin rate of this currency, single currency mode |
| > details.mm | String | The currency maintenance margin |
| > details.mmr | String | This currency maintains a margin rate |
| > details.cTime | String | creation time |
| > details.uTime | String | Update time |
| > cTime | String | Account creation time |
| > uTime | String | Account update time |
| > ts | Long | Push time (millisecond) |
Request Example
{
"event": "subscribe",
"channel": ["account"],
"symbols": ["BTC_USDT_PERP"]
}
Push Data Example
{
"channel": "account",
"data": [
{
"state": "NORMAL",
"eq": "9604385.495986629521985415",
"isoEq": "0",
"im": "281.27482",
"mm": "65.7758462",
"mmr": "0.000006848522086861",
"upl": "702.005423182573616772",
"availMgn": "9604104.221166629521985415",
"details": [
{
"ccy": "USDT",
"eq": "9604385.495986629521985415",
"isoEq": "0",
"avail": "9603683.490563446948368643",
"upl": "702.005423182573616772",
"isoAvail": "0",
"isoHold": "0",
"isoUpl": "0",
"im": "281.27482",
"imr": "0.000029286081875569",
"mm": "65.7758462",
"mmr": "0.000006848522086861",
"cTime": 1723431998599,
"uTime": 1725329576649
}
],
"cTime": 1689326308656,
"uTime": 1725329576649,
"ts": 1725329576659
}
]
}