期货当日成交查询(business_qry) 在线调试

当日的成交清单

网关地址

沙箱环境调用地址: https://sandbox.hscloud.cn
数据核查类生产调用地址: https://api.hscloud.cn
仿真业务接口生产调用地址: https://vopen.hscloud.cn
其余生产调用地址: https://open.hscloud.cn

URL

https://sandbox.hscloud.cn/futu/v1/business_qry

是否需要业务登录

HTTP请求方式

GET,POST

请求参数

参数名 类型 必填 最大长度 默认值 中文名 描述
futu_exch_type String 4 交易类别
futures_account String 12 交易编码
futu_code String 30 合约代码
query_mode String 1 查询模式
查询模式 0 明细 1 按[委托编号+交易类别+期货交易帐号+合约代码+开平仓方向+买卖方向+业务标志]汇总 2 按[委托编号+交易类别+期货交易帐号+合约代码+开平仓方向+买卖方向+业务标志+成交价格]汇总 3 按[交易类别+期货交易帐号+合约代码+开平仓方向+买卖方向+业务标志]汇总
sort_direction String 1 返回排序方式
0:正序;1:倒序
request_num Integer 10 请求行数
position_str String 100 定位串

返回参数

参数名 类型 最大长度 默认值 中文名 描述
entrust_no Integer 8 委托编号
futu_exch_type String 4 交易类别
futures_account String 12 交易编码
futu_code String 30 合约代码
money_type String 3 币种类别

【限制字典子项:0-人民币
2-港 币
1-美 元】

数据字典(122)

futures_direction String 1 开平仓方向
entrust_bs String 1 买卖方向
hedge_type String 1 投机/套保类型
futu_business_price Float 12.6 成交价格
entrust_type String 1 委托类别
business_time Integer 8 成交时间
business_amount Integer 10 成交数量
business_fare Float 16.2 成交手续费金额
business_id String 16 成交编号
position_str String 100 定位串
confirm_id String 20 主场单号
session_no Integer 8 会话编号
entrust_reference String 32 委托引用
entrust_occasion String 32 委托场景

正确返回示例

{
    "data": [
        {
            "session_no": "0",
            "business_fare": "5408.40",
            "confirm_id": "2",
            "entrust_no": "2",
            "business_amount": "1.00",
            "entrust_reference": "2",
            "futu_exch_type": "F2",
            "position_str": "0000000001",
            "arbit_code": "",
            "entrust_bs": "1",
            "business_time": "90000",
            "hedge_type": "0",
            "futu_product_type": "1",
            "drop_income_float": "0",
            "fopt_type": "0",
            "exercise_price": "0",
            "money_type": "0",
            "drop_income": "0",
            "futu_code": "a2011",
            "futures_account": "80003990",
            "underlying_code": " ",
            "futu_business_price": "4507.000000",
            "entrust_occasion": "",
            "business_id": "1",
            "futures_direction": "1",
            "entrust_type": "0"
        }
   ]
}