证券成交查询(business_qry) 在线调试
当日的成交清单
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/secu/v1/business_qry |
---|
是否需要业务登录
是 |
---|
HTTP请求方式
GET,POST |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
exchange_type | String | 否 | 4 | 交易类别 | 【限制字典子项:A-特转B |
|
stock_account | String | 否 | 11 | 证券账号 |
空,表示查所有
|
|
stock_code | String | 否 | 16 | 证券代码 |
空,表示查所有
|
|
position_str | String | 否 | 100 | 定位串 |
空格,表示取第一页
|
|
request_num | Integer | 否 | 10 | 50 | 请求行数 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
exchange_type | String | 4 | 交易类别 |
【限制字典子项:A-特转B |
|
stock_account | String | 11 | 证券账号 |
|
|
stock_code | String | 16 | 证券代码 |
|
|
entrust_bs | String | 1 | 买卖方向 | ||
business_price | Float | 11.4 | 成交价格 |
|
|
business_amount | Integer | 10 | 成交数量 |
|
|
business_time | Integer | 8 | 成交时间 |
|
|
real_type | String | 1 | 成交类型 |
【限制字典子项:2-撤单 |
|
real_status | String | 1 | 处理标志 |
【限制字典子项:2-废单 |
|
entrust_no | Integer | 8 | 委托编号 |
|
|
business_balance | Float | 16.2 | 成交金额 |
|
|
stock_name | String | 32 | 证券名称 |
|
|
business_no | Integer | 8 | 成交编号 |
|
|
position_str | String | 100 | 定位串 |
|
正确返回示例
{ "data": [ { "entrust_bs": "1", "entrust_prop": "0", "entrust_price": "150.0000", "stock_name": "恒生电子", "business_price": "108.6900", "entrust_time": "133501", "exchange_type": "1", "stock_account": "A070960117", "entrust_amount": "100", "entrust_no": "9", "entrust_date": "20200827", "withdraw_flag": "0", "business_amount": "100", "report_time": "133501", "position_str": "20200827001335010010002200000009", "entrust_status": "8", "report_no": "9", "stock_code": "600570", "entrust_type": "0" } ] }