持仓查询 (func_futu_trade_position_qry) 在线调试
持仓查询
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/ovfutu/v1/func_futu_trade_position_qry |
---|
是否需要业务登录
否 |
---|
HTTP请求方式
GET,POST |
---|
支持格式
JSON |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
futu_exch_type | String | 4 | 交易类别 |
【限制字典子项:HKFE-香港期货交易所 |
|
commodity_type | String | 10 | 品种代码类别 | ||
contract_code | String | 30 | 合同代码 |
|
|
current_amount | Integer | 10 | 当前数量 |
|
|
cost_price | Float | 11.4 | 成本价 |
|
|
entrust_bs | String | 1 | 买卖方向 | ||
money_type | String | 3 | 币种类别 | ||
amount_per_hand | Integer | 10 | 合约乘数 |
|
|
futu_last_price | Float | 12.6 | 最新价格 |
|
|
hold_balance | Float | 16.2 | 持仓金额 |
|
|
hedge_type | String | 1 | 投机/套保类型 |