普通委托(trade_entrust) 在线调试

境外期货委托

网关地址

沙箱环境调用地址: https://sandbox.hscloud.cn
数据核查类生产调用地址: https://api.hscloud.cn
其余生产调用地址: https://open.hscloud.cn

URL

https://sandbox.hscloud.cn/ovfutu/v1/trade_entrust

是否需要业务登录

HTTP请求方式

POST

支持格式

JSON

请求参数

参数名 类型 必填 最大长度 默认值 中文名 描述
op_station String 255 站点地址
MPN:**********;IP:***.***.***.*** 备注 MPN:移动手机号码 ip:设备ip地址
user_token String 255 通讯会话
fund_account String 18 资金账号
futu_product_type String 1 产品类别
futu_exch_type String 8 交易类别
交易类别(期货)

【限制字典子项:SGX-新加坡交易所
COMEX-纽约商业交易所
NYMEX-纽约商品交易所】

数据字典(1128)

commodity_type String 10 品种代码类别
contract_code String 32 合约代码
YYmm
second_code String 32 第二腿合约代码
options_type String 1 期权类型
strike_price Float 19.5 执行价
entrust_bs String 1 买卖方向
entrust_amount Integer 10 委托数量
futu_entrust_price Float 19.4 期货委托价格
futu_entrust_prop String 1 期货委托属性

【限制字典子项:0-限价单
4-限价止损定单
I8-竞价单
1-市价单】

数据字典(1153)

spring_price Float 19.4 止损价格
time_condition String 1 3 有效期类型

【限制字典子项:3-当日有效
4-取消前有效
1-即时生效
2-即时部分成交
5-指定日期前有效】

数据字典(1123)

valid_date Integer 8 有效日期
YYYYMMDD
today_flag String 1 0 T+1标记
0-非T+1日单,1-T+1日单,日盘默认值'0';港交所夜盘T+1日,值'1'
hedge_type String 1 投机/套保类型
idempotency_flag String 1 0 幂等标志
0:不校验 1:校验
entrust_reference String 32 委托引用

返回参数

参数名 类型 最大长度 默认值 中文名 描述
entrust_reference String 32 委托引用
futu_entrust_no String 32 委托编号
提交工单

提交成功

确定