期权持仓查询(func_opt_hold_qry) 在线调试

获取客户期权合约持仓信息

网关地址

沙箱环境调用地址: https://sandbox.hscloud.cn
数据核查类生产调用地址: https://api.hscloud.cn
仿真业务接口生产调用地址: https://vopen.hscloud.cn
其余生产调用地址: https://open.hscloud.cn

URL

https://sandbox.hscloud.cn/option/v1/func_opt_hold_qry

是否需要业务登录

HTTP请求方式

GET

请求参数

参数名 类型 必填 最大长度 默认值 中文名 描述
asset_prop String 1 B,衍生品账户 资产属性
exchange_type String 4 空格,表示不限制 交易类别
option_account String 13 空格,表示不限制 衍生品合约账户
opthold_type String 1 空格,表示不限制 期权持仓类别
option_code String 8 空格,表示不限制 期权合约编码
position_str String 100 空格,表示取第一页 定位串
request_num Integer 10 50 请求行数

返回参数

参数名 类型 最大长度 默认值 中文名 描述
fund_account String 18 资产账户
exchange_type String 4 交易类别
option_account String 13 衍生品合约账户
opthold_type String 1 期权持仓类别
option_code String 8 期权合约编码
stock_code String 6 证券代码
optcontract_id String 32 合约交易代码
option_name String 32 期权合约简称
option_type String 1 期权种类
current_amount Integer 10 当前数量
hold_amount Integer 10 持有数量
enable_amount Integer 10 可用数量
optcomb_used_amount String 16 组合策略占用数量
real_open_amount Integer 10 回报开仓数量
real_drop_amount Integer 10 回报平仓数量
entrust_drop_amount Integer 10 委托平仓数量
last_price Float 16.3 最新价
opt_last_price Float 11.4 期权最新价
opt_cost_price Float 12.6 开仓均价
exercise_price Float 12.6 行权价格
market_value Float 16.2 证券市值
cost_balance Float 16.2 持仓成本
income_balance Float 16.2 盈亏金额
exercise_income Float 16.2 行权盈亏
exercise_profit_ratio Float 9.8 行权盈亏比例
duty_used_bail Float 16.2 义务仓占用保证金
real_hold_margin Float 16.2 动态持仓保证金
static_hold_margin Float 16.2 静态持仓保证金
exercise_date Integer 8 行权日期
amount_per_hand Integer 10 合约乘数
position_str String 100 定位串