历史证券委托查询(entrusthis_qry) 在线调试
历史数据获取:通过查询的开始时间和结束时间,可支持30天的历史记录查询。该接口获得的数据可对该账户做投资分析。
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/secu/v1/entrusthis_qry |
---|
是否需要业务登录
是 |
---|
HTTP请求方式
GET,POST |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
sort_direction | String | 否 | 0 | 返回排序方式 |
’0’-正序 ’1’-倒序 默认不送时为’0’-正序
|
|
start_date | String | 是 | 开始日期 |
示例:20200831
|
||
end_date | String | 是 | 截止日期 |
示例:20200831
|
||
exchange_type | String | 否 | 4 | 交易类别 | 【限制字典子项:H-深B |
|
stock_account | String | 否 | 11 | 证券账号 |
空,表示查所有
|
|
stock_code | String | 否 | 16 | 证券代码 |
空格,表示不限制
|
|
position_str | String | 否 | 100 | 定位串 |
空格,表示取第一页
|
|
request_num | Integer | 否 | 10 | 50 | 请求行数 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
entrust_no | Integer | 8 | 委托编号 |
|
|
exchange_type | String | 4 | 交易类别 |
【限制字典子项:H-深B |
|
stock_account | String | 11 | 证券账号 |
|
|
stock_code | String | 16 | 证券代码 |
|
|
stock_name | String | 32 | 证券名称 |
|
|
entrust_bs | String | 1 | 买卖方向 | ||
entrust_price | Float | 11.4 | 委托价格 |
|
|
entrust_amount | Integer | 10 | 委托数量 |
|
|
business_amount | Integer | 10 | 成交数量 |
|
|
report_no | Integer | 8 | 申请编号 |
|
|
entrust_date | Integer | 8 | 委托日期 |
|
|
entrust_time | Integer | 8 | 委托时间 |
|
|
report_time | Integer | 8 | 申报时间 |
|
|
entrust_type | String | 1 | 委托类别 |
【限制字典子项:2-撤单 |
|
entrust_status | String | 1 | 委托状态 |
【限制字典子项:6-已撤 |
|
position_str | String | 100 | 定位串 |
|
正确返回示例
{"data":[{"entrust_bs":"1","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","business_amount":"100","report_time":"133501","position_str":"20200827001335010010002200000009","entrust_status":"8","report_no":"9","stock_code":"600570","entrust_type":"0"}]}