做网站的职责,域名注册商平台,怎么制作视频收费观看的网页,wordpress地理定位3-股票池 文章目录 3-股票池一. 查询股票池支持的类型二. 查询目前股票池对应的股票信息三 查询股票池内距离今天类型最少/最多的股票数据四. 查询股票的池统计信息 一. 查询股票池支持的类型
接口描述:
接口地址:/StockApi/stockPool/listPoolType
请求方式#xff1a;GET…3-股票池 文章目录 3-股票池一. 查询股票池支持的类型二. 查询目前股票池对应的股票信息三 查询股票池内距离今天类型最少/最多的股票数据四. 查询股票的池统计信息 一. 查询股票池支持的类型
接口描述:
接口地址:/StockApi/stockPool/listPoolType
请求方式GET
consumes:
produces:[*/*]
请求参数
参数名称参数说明in是否必须数据类型schemaAuthorizationToken令牌headerfalsestring
响应示例:
{code: 0,data: [{code: ,name: }],exceptionMessage: ,message: ,success: true,timestamp: 0
}响应参数:
参数名称参数说明类型schemacode响应代码integer(int32)integer(int32)data响应的数据array字典配置展示exceptionMessage异常信息stringmessage响应信息stringsuccess是否成功 true 为成功 false 为不成功booleantimestamp当前时间戳integer(int64)integer(int64)
schema属性说明
字典配置展示
参数名称参数说明类型schemacodecodestringnamenamestring 二. 查询目前股票池对应的股票信息
接口描述:
接口地址:/StockApi/stockPool/listNowPool/{type}
请求方式Get
consumes:
produces:[*/*]
请求示例
{type: 1
}请求参数
参数名称参数说明in是否必须数据类型schemaAuthorizationToken令牌headerfalsestringtype类型urltrue股票池统计信息股票池统计信息
响应示例:
{code: 20000,success: true,timestamp: 1698386296865,data: [{code: 000628,name: 高新发展,currDate: 2023-10-27 13:58:16,stockPoolType: ZT,type: 1,nowPrice: 31.82,amplitude: 9.99,tradingValue: 0,floatMarket: 6111795953,totalMarket: 11209549600.00,changingProportion: 0.43,sealingMoney: 2961622253,startTime: 2023-10-27 09:25:00,endTime: 2023-10-27 09:25:00,zbCount: 0,lbCount: 7,statCount: 7,statDay: 7,bkName: 工程建设,},{code: 002232,name: 启明信息,currDate: 2023-10-27 13:58:16,stockPoolType: ZT,type: 1,nowPrice: 18.51,amplitude: 9.98,tradingValue: 0,floatMarket: 7562231902,totalMarket: 7562231772.48,changingProportion: 1.51,sealingMoney: 413165560,startTime: 2023-10-27 09:25:00,endTime: 2023-10-27 09:25:00,zbCount: 0,lbCount: 2,statCount: 2,statDay: 2,bkName: 互联网服,}]
}响应参数:
参数名称参数说明类型code股票编码stringname股票名称stringcurrDate当前日期DatestockPoolType股票池类型枚举对象type池类型intnowPrice最新价bigDecimalamplitude涨跌幅度bigDecimaltradingValue成交金额bigDecimalfloatMarket流通市值bigDecimaltotalMarket总市值bigDecimalchangingProportion换手率bigDecimalsealingMoney封板资金bigDecimalstartTime开始封板时间dateendTime最后封板时间datezbCount炸板数intlbCount连板数intstatCount统计数intstatDay统计天数intbkName所属行业stringdays针对跌停板进行的操作 跌了几天intocCount针对跌停板进行的操作 开板次数intzfProportion针对 昨日涨停板进行的操作 今日振幅比bigDecimalng针对 强势股进行的操作 新高intlb针对 强势股进行的操作 量比bigDecimalreason针对 强势股进行的操作 原因stringods针对 次新股进行的操作 上市几日intstartDate针对 次新股进行的操作 上市日期stringopenDate针对 次新股进行的操作 开板日期string
查询今日涨停 type 为1: 查询今日跌停 type 2 查询昨日涨停: type 为3 查询强势股 type 4 查询次新股: type 5 查询炸板股 type 6 三 查询股票池内距离今天类型最少/最多的股票数据
接口描述:
接口地址:/StockApi/stockPool/listDaysPool
请求方式POST
consumes:[application/json]
produces:[*/*]
请求示例
{keyword:,poolType: 1,startDate:2023-02-01,endDate: 2023-02-14,leDays:4,geDays:2,totalDays:4
}请求参数
参数名称参数说明in是否必须数据类型schemaAuthorizationToken令牌headerfalsestringstockPoolRostockPoolRobodytrue股票池统计信息股票池统计信息
schema属性说明
股票池统计信息
参数名称参数说明in是否必须数据类型schemageDays大于天数bodyfalseinteger(int32)keywords股票关键字bodyfalsestringleDays小于天数bodyfalseinteger(int32)pageNum页数bodytrueinteger(int32)pageSize每页显示最大数量bodytrueinteger(int32)poolType股票池类型bodyfalseinteger(int32)totalDays总天数bodyfalseinteger(int32)
响应示例:
{code: 20000,success: true,message: null,timestamp: 1698387955264,exceptionMessage: null,data: {600853: [2023-10-25,2023-10-26],002457: [2023-10-25,2023-10-26]603768: [2023-10-25,2023-10-26],603219: [2023-10-25,2023-10-26]}
}响应参数:
参数名称参数说明类型schemacode响应代码integer(int32)integer(int32)data响应的数据objectexceptionMessage异常信息stringmessage响应信息stringsuccess是否成功 true 为成功 false 为不成功booleantimestamp当前时间戳integer(int64)integer(int64)
如查询 最后 4个交易日 (totalDays 4 ) 涨停 (poolType 1) 超过 2天 (geDays 2) 少于 4天的 (leDays 4)
会展示出对应的股票编码和 符合条件的时间信息。 keyword 为股票编码的筛选信息。 四. 查询股票的池统计信息
接口描述:
接口地址:/StockApi/stockPool/listPool
请求方式POST
consumes:[application/json]
produces:[*/*]
请求示例
{pageSize: 15,pageNum: 1,startDate: 2023-08-01,endDate: 2023-09-05,poolType: 1,keywords:
}请求参数
参数名称参数说明in是否必须数据类型schemaAuthorizationToken令牌headerfalsestringstockPoolRostockPoolRobodytrue股票池统计信息股票池统计信息
schema属性说明
股票池统计信息
参数名称参数说明in是否必须数据类型schemaendDate股票的查询结束日期bodyfalsestringkeywords股票关键字bodyfalsestringpageNum页数bodytrueinteger(int32)pageSize每页显示最大数量bodytrueinteger(int32)poolType股票池类型bodyfalseinteger(int32)startDate股票的查询开始日期bodyfalsestring
响应示例:
{code: 20000,success: true,message: null,timestamp: 1698389123502,exceptionMessage: null,data: {total: 35,list: [{code: 600853,name: 龙建股份,detailList: [{currDate: 2023-10-26,type: 1,amplitudeProportion: 10.0200,closePrice: 4.8300,sign: 1}]},{code: 002457,name: 青龙管业,detailList: [{currDate: 2023-10-26,type: 1,amplitudeProportion: 9.9900,closePrice: 10.5700,sign: 1}]}]}
}响应参数:
参数名称参数说明类型schemacode股票编码6位数编码name股票名称stringdetailList详情信息List
其中 HistoryRelationVo 对应的信息是:
参数名称参数说明类型currDate交易日期stringtype类型 1赚 -1赔 0是平intamplitudeProportion涨跌比例stringclosePrice收盘价stringsign是否有标识 0为没有标识 1为有标识int
如 查询 10-21 到 10-26 号 各个股票有涨停的情况。