期货委托确认(entrust_enter) 在线调试
支持委托下单、委托改单。
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/futu/v1/entrust_enter |
---|
是否需要业务登录
是 |
---|
HTTP请求方式
GET,POST |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
futu_exch_type | String | 是 | 4 | 交易类别 | ||
futures_account | String | 是 | 12 | 交易编码 | ||
futu_code | String | 是 | 30 | 合约代码 | ||
entrust_bs | String | 是 | 1 | 买卖方向 | ||
futures_direction | String | 是 | 1 | 开平仓方向 | ||
hedge_type | String | 是 | 1 | 投机/套保类型 | ||
entrust_amount | Integer | 是 | 10 | 委托数量 | ||
futu_entrust_price | Float | 是 | 12.6 | 委托价格 | ||
entrust_prop | String | 否 | 3 | 委托属性 | 【限制字典子项:F6-止损 |
|
entrust_occasion | String | 否 | 32 | 委托场景 | ||
entrust_reference | String | 否 | 32 | 委托引用 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
entrust_no | Integer | 8 | 委托编号 |
|
|
entrust_reference | String | 32 | 委托引用 |
|
|
session_no | Integer | 8 | 会话编号 |
|
正确返回示例
{ "data": [ { "entrust_bs": "1", "entrust_prop": "F0", "hedge_type": "0", "futu_entrust_price": "6266.000000", "session_no": "", "entrust_time": "172732", "fund_account": "", "futu_code": "AP010", "entrust_amount": "1.00", "entrust_no": "348", "entrust_reference": "1", "futures_account": "80003989", "futu_exch_type": "F1", "entrust_status": "0", "entrust_occasion": "", "futures_direction": "1", "entrust_type": "0" } ] }