期货委托确认(entrust_enter)
支持委托下单、委托改单。
URL
https://sandbox.hscloud.cn/futu/v1/entrust_enter |
---|
是否需要业务登录
是 |
---|
HTTP请求方式
GET,POST |
---|
支持格式
JSON |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
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 | 委托属性 | 【限制字典子项:F4-限价止损定单 |
|
entrust_occasion | String | 否 | 32 | 委托场景 | ||
entrust_reference | String | 否 | 32 | 委托引用 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
entrust_no | Integer | 8 | 委托编号 |
|
|
entrust_reference | String | 32 | 委托引用 |
|
|
session_no | Integer | 8 | 会话编号 |
|