跳到主要内容

账户类

查询账户余额

描述

此接口用于查询合约账户信息。

HTTP请求

GET /v3/account/balance

请求参数

响应参数

参数类型描述
stateString账户状态
eqString资产权益
isoEqString逐仓资产权益
imString初始保证金 = 全仓仓位占用保证金 + 全仓挂单初始保证金
mmString维持保证金
mmrString维持保证金率
uplString未实现盈亏--全仓的未实现盈亏
availMgnString可用保证金
cTimeString账户创建时间
uTimeString账户更新时间
detailsList账户明细
details.ccyString币种
details.eqString该币种资产权益
details.isoEqString该币种逐仓仓位权益 =   isoAvail + isoUpl + isoHold
details.availString该币种可用
details.uplString未实现盈亏
details.isoAvailString该币种逐仓保证金-逐仓持仓冻结
details.isoHoldString该币种逐仓冻结-挂单冻结
details.isoUplString逐仓未实现盈亏 
details.imString该币种初始保证金
details.mmString该币种维持保证金
details.mmrString该币种维持保证金率
details.imrString该币种初始保证金率,单币种模式
details.cTimeString创建时间
details.uTimeString更新时间

响应示例

{
"code": 200,
"msg": "Success",
"data": {
"state": "NORMAL",
"eq": "959.581928139999996061",
"isoEq": "0",
"im": "5.28",
"mm": "1.32",
"mmr": "0.001375599061727448",
"upl": "-2.4",
"availMgn": "954.301928139999996061",
"cTime": "1690196536233",
"uTime": "1721902285120",
"details": [
{
"ccy": "USDT",
"eq": "959.581928139999996061",
"isoEq": "0",
"avail": "961.981928139999996061",
"trdHold": "0",
"upl": "-2.4",
"isoAvail": "0",
"isoHold": "0",
"isoUpl": "0",
"im": "5.28",
"mm": "1.32",
"mmr": "0.001375599061727448",
"imr": "0.005502396246909794",
"cTime": "1717396712353",
"uTime": "1721902285120"
}
]
}
}