# 查询期货持仓列表
# 接口说明
查询期货账户的持仓信息。
# 接口地址
POST http://127.0.0.1:11111/trade/FuturesQueryHoldsList
- Post请求示例
{
"timeout_sec": 10,
"params": {}
}
- 响应结果
{
"ok": true,
"err": "",
"data": {
"fundInfo": {
"assetBalance": "string 资产净值",
"enableBalance": "string 可用金额(购买力)",
"marginCall": "string 追缴保证金",
"incomeBalance": "string 持仓盈亏",
"cashBal": "string 现金结余",
"iMargin": "string 基本保证金",
"mMargin": "string 维持保证金",
"marginLevel": "string 保证金水平",
"maxMargin": "string 最高保证金",
"creditLimit": "string 信贷限额",
"ctrlLevel": "string 控制级数",
"marginClass": "string 保证金类型",
"aeId": "string 经纪",
"cashBalHKD": "string 港币现金结余",
"cashBalUSD": "string 美元现金结余",
"cycRateUSDtoHSD": "string 美元兑港币汇率",
"marginStatus": "string 风险状态 //1:安全 2:预警 3:危险 4:平仓",
"statusPercent": "string 风险状态画图百分比",
"closeProfit": "string 已实现盈亏",
"cashBalCNH": "string 人民币现金结余"
},
"holdsList": [{
"stockName": "string 股票名称",
"stockCode": "string 股票代码,1.港股有后缀 .HK",
"lastDayQty": "string 上日持仓数量",
"lastDayPrice": "string 上日持仓成本",
"depQty": "string 存储仓位",
"dayLongQty": "string 今日长仓数量",
"dayLongPrice": "string 今日长仓均价",
"dayShortQty": "string 今日短仓数量",
"dayShortPrice": "string 今日短仓均价",
"dayNetQty": "string 今日净仓数量",
"dayNetPrice": "string 今日净仓均价",
"currentQty": "string 持仓 上日持仓数量 + 今日净仓数量 = 净仓数量",
"costPrice": "string 成本价",
"lastPrice": "string 现价",
"preClosePrice": "string 昨收价",
"profitLoss": "string 盈亏",
"ccyRate": "string 参考兑换率",
"contractValue": "string 合约值",
"profitLossBaseCcy": "string 盈亏(基本货币)",
"ccy": "string 产品系列的交易币种",
"dataType": "string 仅仅期货是返回dataType,因为港期和美期",
"closeProfit": "string 已实现盈亏",
"closeProfitHKD": "string 已实现盈亏(HKD)"
}]
}
}
← 查询期货资金信息 查询期货最大可买可卖 →