历史成交明细查询(businesshis_qry_detail) 在线调试
历史数据获取:通过查询的开始时间和结束时间,获取历史成交明细记录
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/hk/v1/businesshis_qry_detail |
---|
是否需要业务登录
是 |
---|
HTTP请求方式
GET,POST |
---|
支持格式
JSON |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
exchange_type | String | 否 | 4 | 交易类别 |
【限制字典子项:K-香港市场】 |
|
stock_code | String | 否 | 16 | 证券代码 |
|
|
start_date | String | 是 | 开始日期 |
|
||
end_date | String | 是 | 截止日期 |
|
||
query_direction | String | 否 | 1 | 查询方向 |
0倒序,1顺序
|
|
request_num | Integer | 否 | 10 | 请求行数 |
|
|
position_str | String | 否 | 32 | 定位串 |
|
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
init_date | Integer | 交易日期 |
|
||
entrust_bs | String | 买卖方向 | |||
exchange_type | String | 交易类别 |
【限制字典子项:K-香港市场】 |
||
sequence_no | String | 8 | 合同号 |
|
|
sub_detail_id | Integer | 10 | 拆补单明细 |
|
|
allocation_id | Integer | 10 | 分拆序号 |
|
|
stock_code | String | 12 | 证券代码 |
|
|
stock_name | String | 255 | 证券名称 |
|
|
stock_name_gb | String | 255 | 股票名称[简体] |
|
|
business_no | Integer | 16 | 成交编号 |
|
|
business_price | Float | 11.4 | 成交价格 |
|
|
business_amount | Integer | 10 | 成交数量 |
|
|
business_balance | Float | 16.2 | 成交金额 |
|
|
business_time | Integer | 10 | 成交时间 |
|
|
report_no | Integer | 10 | 申请编号 |
|
|
record_no | Integer | 10 | 委托库记录号 |
|
|
position_str | String | 32 | 定位串 |
|