指标共振选股 (multi_index_bs) 在线调试
指标共振选股
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/quote/v2/multi_index_bs |
---|
是否需要业务登录
否 |
---|
HTTP请求方式
GET |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
data_count | Integer | 否 | 10 | 10 | 数据个数 |
不填默认返回10条,值小于等于0也是返回默认数量
|
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
date | Integer | 8 | 日期 |
若没有返回空,格式:YYYYMMDD,如20160426
|
|
time | Integer | 8 | 发生时间 |
若没有返回空,格式:hhmmss
|
|
buy_signal_grp | Object | 发出买信号股票集 | |||
sell_signal_grp | Object | 发出卖信号股票集 |
请求示例
http://192.168.58.200:8082/quote/v2/multi_index_bs?data_count=1
正确返回示例
{ "data":{ "date":20160919, "time":230127, "buy_signal":[{ "prod_code":"603703.XSHG", "score":4000, "trade_cnt":9, "win_cnt":6, "exp_ret":347.608, "buy_index":{"macd":"0","kdj":"0","rsi":"0","ma":"0"}, "sell_index":{} }], "sell_signal":[{ "prod_code":"603016.XSHG", "score":-4000, "trade_cnt":1, "win_cnt":1, "exp_ret":3.212, "buy_index":{}, "sell_index":{"macd":"0","kdj":"0","rsi":"0","ma":"0"} }] } }