证券委托查询(entrust_qry) 在线调试
当日委托查询:股票代码、买卖数量。买卖价格、成交数量等信息
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/secu/v1/entrust_qry |
---|
是否需要业务登录
是 |
---|
HTTP请求方式
GET,POST |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
exchange_type | String | 否 | 4 | 交易类别 | 【限制字典子项:2-深圳 |
|
stock_account | String | 否 | 11 | 证券账号 |
空,表示查所有
|
|
stock_code | String | 否 | 16 | 证券代码 |
空,表示查所有
|
|
action_in | Integer | 否 | 5 | 操作控制值 |
操作控制值,0-查询全部委托;1-查询可撤委托;2-按批号查询(通过locate_entrust_no送入)
|
|
locate_entrust_no | Integer | 否 | 8 | 指定委托号 |
(0,表示不限制)(action_in:2-委托批号,非2-委托编号)
|
|
position_str | String | 否 | 100 | 定位串 |
空格,表示取第一页
|
|
request_num | Integer | 否 | 10 | 50 | 请求行数 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
entrust_no | Integer | 8 | 委托编号 |
|
|
exchange_type | String | 4 | 交易类别 |
【限制字典子项:2-深圳 |
|
stock_account | String | 11 | 证券账号 |
|
|
stock_code | String | 16 | 证券代码 |
|
|
entrust_bs | String | 1 | 买卖方向 | ||
entrust_price | Float | 11.4 | 委托价格 |
|
|
entrust_amount | Integer | 10 | 委托数量 |
|
|
business_amount | Integer | 10 | 成交数量 |
|
|
business_price | Float | 11.4 | 成交价格 |
|
|
report_no | Integer | 8 | 申请编号 |
|
|
report_time | Integer | 8 | 申报时间 |
|
|
entrust_type | String | 1 | 委托类别 |
【限制字典子项:2-撤单 |
|
entrust_status | String | 1 | 委托状态 |
【限制字典子项:7-部成 |
|
entrust_time | Integer | 8 | 委托时间 |
|
|
entrust_date | Integer | 8 | 委托日期 |
|
|
entrust_prop | String | 3 | 委托属性 |
【限制字典子项:e-互报成交确认委托 |
|
stock_name | String | 32 | 证券名称 |
|
|
withdraw_flag | String | 1 | 撤单允许标志 | ||
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" } ] }