持仓明细查询 (positiondetail_qry)

持仓明细查询

URL

https://sandbox.hscloud.cn/futu/v1/positiondetail_qry

是否需要业务登录

HTTP请求方式

GET,POST

支持格式

JSON

请求参数

参数名 类型 必填 最大长度 默认值 中文名 描述
futu_exch_type String 4 交易类别
futures_account String 12 交易编码
futu_code String 30 合约代码
entrust_bs String 1 买卖方向
request_num Integer 10 请求行数
position_str String 100 定位串

返回参数

参数名 类型 最大长度 默认值 中文名 描述
open_date Integer 8 开户日期
serial_no Integer 8 流水序号
branch_no Integer 5 分支机构
fund_account String 18 资产账户
futu_exch_type String 4 交易类别
futures_account String 12 交易编码
futucode_type String 4 合约代码类别
futu_code String 30 合约代码
entrust_bs String 1 买卖方向
hedge_type String 1 投机/套保类型
money_type String 3 币种类别

【限制字典子项:1-美 元
2-港 币
0-人民币】

数据字典(122)

begin_amount Integer 10 期初数量
current_amount Integer 10 当前数量
business_amount Integer 10 成交数量
futu_open_price Float 12.6 开盘价
square_price Float 12.6 结算价
begin_hold_margin Float 16.2 上日持仓保证金
hold_margin Float 16.2 持仓保证金
begin_exch_hold_margin Float 16.2 期初交易所保证金
exch_hold_margin Float 16.2 交易所持仓保证金
drop_income Float 16.2 平仓盯市盈亏
hold_income Float 16.2 期货盯市盈亏
hold_income_float Float 16.2 持仓浮动盈亏
real_hold_income Float 16.2 当日持仓盈亏
real_hold_income_float Float 16.2 当日持仓浮动盈亏
pre_drop_amount Float 16.2 当日预平仓数量
drop_amount Integer 10 平仓数量
old_unfrozen_margin Float 16.2 当日平老仓解冻保证金
real_unfrozen_margin Float 16.2 当日平新仓解冻保证金
real_open_margin Float 16.2 当日开仓冻结保证金
old_unfrozen_exch_margin Float 16.2 当日平老仓交易所解冻保证金
real_unfrozen_exch_margin Float 16.2 当日平新交易所应解冻保证金
real_exch_open_margin Float 16.2 当日开仓交易所冻结保证金
arbithold_id String 20 套利持仓号
futuleg_no Integer 10 腿号
business_id String 16 成交编号
amount_per_hand Integer 10 合约乘数
deliver_flag String 1 确认标志
margin_per_hand Float 16.2 每手保证金
exch_margin_per_hand Float 16.2 交易所每手保证金
position_str String 100 定位串

正确返回示例