是否存在相同盯盘(is_exist_stare)
判断是否存在相同盯盘
网关地址
| 沙箱环境调用地址: | https://sandbox.hscloud.cn |
| 数据核查类生产调用地址: | https://api.hscloud.cn |
| 仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
| 其余生产调用地址: | https://open.hscloud.cn |
URL
| https://sandbox.hscloud.cn/quote/v1/stare/is_exist_stare |
|---|
是否需要业务登录
| 否 |
|---|
HTTP请求方式
| POST |
|---|
请求参数
| 参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
|---|---|---|---|---|---|---|
| stare | String | 是 | 盯盘数据 | |||
| product_no | Integer | 是 | 品种序号 | |||
| app_key | String | 是 | APP标识符 | |||
| user_token | String | 是 | 用户口令 | |||
| auth_id | String | 是 | 认证账户 |
返回参数
| 参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
|---|---|---|---|---|---|
| success_type | String | 成功标志 |
请求示例
auth_id:A000000001973240
product_no:4
app_key:3cb17dedb5b94a0f9d719f5cabfd406d
user_token:f3c9da344589dc70f04b13b88e303747
stare:{"hq_type_code":"XSHG.ESA.M","prod_name":"恒生电子","prod_code":"600570","stare_field":31,"stare_direction":0,"stare_value":"58.00"}
正确返回示例
{"success":true,"data":{"error_info":"该盯盘有效","error_no":"0"},"timestamp":"2018-09-20T12:52:47.439+0000"}
错误返回示例
{"success":true,"data":{"error_info":"网络异常","error_no":"9999"},"timestamp":"2018-09-20T12:52:47.439+0000"}
