期货委托确认(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-止损
FA-跨期套利确认
FB-持仓套保确认
F0-限价单
FG-五档市价
F1-市价单
F2-止损定单
FF-双边报价
FC-请求询价
F4-限价止损定单
FH-最优价
FD-期权权力行使
FE-期权权力放弃
F5-限价止盈定单
F3-止盈定单
F7-组合定单】

数据字典(143)

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"
        }
    ]
}