专业做营销网站建设,网站与客户互动,如何自己制作游戏软件,做网站的人属于什么行业7-统计信息 文章目录 7-统计信息一. 股票周级别统计信息二. 查询可支持的所有的股票资金类型三. 股票图形统计信息四. 查询当前用户自选表里面最近十天的交易信息五. 查看天/星期范围统计的历史记录六. 查看最近多少天某个属性的涨跌幅度值 一. 股票周级别统计信息
接口描述: …7-统计信息 文章目录 7-统计信息一. 股票周级别统计信息二. 查询可支持的所有的股票资金类型三. 股票图形统计信息四. 查询当前用户自选表里面最近十天的交易信息五. 查看天/星期范围统计的历史记录六. 查看最近多少天某个属性的涨跌幅度值 一. 股票周级别统计信息
接口描述:
接口地址:/StockApi/stat/getWeekStat
请求方式Get
consumes:[application/json]
produces:[*/*]
请求示例
{code: 002812
}请求参数
参数名称参数说明in是否必须数据类型schemaAuthorizationToken令牌headerfalsestringcode股票编码bodytruestring
schema属性说明
响应示例:
{code: 20000,success: true,message: null,timestamp: 1698470823464,exceptionMessage: null,data: {weekStatInfoList: [{type: 1,typeName: 近一周,rangePrice: -1.1000,rangeProportion: -1.71%},{type: 2,typeName: 近两周,rangePrice: 3.0700,rangeProportion: 5.11%},{type: 3,typeName: 近三周,rangePrice: 3.2700,rangeProportion: 5.46%},{type: 4,typeName: 近一个月,rangePrice: 3.2700,rangeProportion: 5.46%}]}
}响应参数:
参数名称参数说明类型schemacode响应代码integer(int32)integer(int32)data响应的数据周级别信息统计周级别信息统计exceptionMessage异常信息stringmessage响应信息stringsuccess是否成功 true 为成功 false 为不成功booleantimestamp当前时间戳integer(int64)integer(int64)
schema属性说明
周级别信息统计
参数名称参数说明类型schemaweekStatInfoList周级别详细信息array周级别详细信息
周级别详细信息
参数名称参数说明类型schemarangePrice价格stringrangeProportion比例stringtype类型integer(int32)typeName类型名称string 二. 查询可支持的所有的股票资金类型
接口描述:
接口地址:/StockApi/stat/listMoneyType
请求方式Get
consumes:[application/json]
produces:[*/*]
请求参数
参数名称参数说明in是否必须数据类型schemaAuthorizationToken令牌headerfalsestring
响应示例:
{code: 20000,success: true,message: null,timestamp: 1698470937236,exceptionMessage: null,data: [{code: 1,name: 开盘价},{code: 2,name: 收盘价},{code: 3,name: 最高价},{code: 4,name: 最低价},{code: 5,name: 涨幅度比例},{code: 6,name: 成交量},{code: 7,name: 换手率},{code: 8,name: 量比},{code: 9,name: 平均价格}]
}响应参数:
参数名称参数说明类型schemacode响应代码integer(int32)integer(int32)data响应的数据array字典配置展示exceptionMessage异常信息stringmessage响应信息stringsuccess是否成功 true 为成功 false 为不成功booleantimestamp当前时间戳integer(int64)integer(int64)
schema属性说明
字典配置展示
参数名称参数说明类型schemacodecodestringnamenamestring 三. 股票图形统计信息
接口描述:
接口地址:/StockApi/stat/getCharStat
请求方式POST
consumes:[application/json]
produces:[*/*]
请求示例
{code:002812,startDate:2022-10-01,endDate:2022-10-17,charStockTypeList:[1,2]
}请求参数
参数名称参数说明in是否必须数据类型schemaAuthorizationToken令牌headerfalsestringstockStatRostockStatRobodytrue股票统计对象股票统计对象
schema属性说明
股票统计对象
参数名称参数说明in是否必须数据类型schemacharStockTypeList股票的选择类型bodyfalsearraycode股票编码bodyfalsestringendDate股票的查询结束日期bodyfalsestringstartDate股票的查询开始日期bodyfalsestring
响应示例:
{code: 0,data: {legend: [],series: [{data: [],name: ,stack: ,type: }],xaxisData: []},exceptionMessage: ,message: ,success: true,timestamp: 0
}响应参数:
参数名称参数说明类型schemacode响应代码integer(int32)integer(int32)data响应的数据echarts 图形展示信息echarts 图形展示信息exceptionMessage异常信息stringmessage响应信息stringsuccess是否成功 true 为成功 false 为不成功booleantimestamp当前时间戳integer(int64)integer(int64)
schema属性说明
echarts 图形展示信息
参数名称参数说明类型schemalegend展示的legendarrayseries处理的信息值arrayecharts图形展示对象xaxisData横坐标的值array
echarts图形展示对象
参数名称参数说明类型schemadata详细数据信息arrayname名称stringstackstackstringtype类型string 四. 查询当前用户自选表里面最近十天的交易信息
接口描述:
接口地址:/StockApi/stat/getTenTradeData
请求方式POST
consumes:[application/json]
produces:[*/*]
请求示例
{pageNum: 0,pageSize: 0
}请求参数
参数名称参数说明in是否必须数据类型schemaAuthorizationToken令牌headerfalsestringstatTen10RostatTen10Robodytrue最近十天的交易信息最近十天的交易信息
schema属性说明
最近十天的交易信息
参数名称参数说明in是否必须数据类型schemapageNum页数bodytrueinteger(int32)pageSize每页显示最大数量bodytrueinteger(int32)
响应示例:
{code: 0,data: {list: [{code: ,detailList: [{amplitudeProportion: ,closePrice: ,currDate: ,sign: 0,type: 0}],name: }],total: 0},exceptionMessage: ,message: ,success: true,timestamp: 0
}响应参数:
参数名称参数说明类型schemacode响应代码integer(int32)integer(int32)data响应的数据分页展示«股票最近交易信息Vo»分页展示«股票最近交易信息Vo»exceptionMessage异常信息stringmessage响应信息stringsuccess是否成功 true 为成功 false 为不成功booleantimestamp当前时间戳integer(int64)integer(int64)
schema属性说明
分页展示«股票最近交易信息Vo»
参数名称参数说明类型schemalistlist数据array股票最近交易信息Vototal总数integer(int64)
股票最近交易信息Vo
参数名称参数说明类型schemacode股票编码stringdetailList涨跌信息array股票历史展示信息Voname股票名称string
股票历史展示信息Vo
参数名称参数说明类型schemaamplitudeProportion涨跌比例stringclosePrice收盘价stringcurrDate交易日期stringsign是否有标识 0为没有标识 1为有标识integer(int32)type类型 1赚 -1赔 0是平integer(int32)
响应状态: 五. 查看天/星期范围统计的历史记录
接口描述:
接口地址:/StockApi/stockHistory/listDayRange
请求方式POST
consumes:[application/json]
produces:[*/*]
请求示例
{code: ,endDate: ,endDayNum: 0,month: 0,pageNum: 0,pageSize: 0,startDate: ,startDayNum: 0,weeks: []
}请求参数
参数名称参数说明in是否必须数据类型schemaAuthorizationToken令牌headerfalsestringstockDayStatRostockDayStatRobodytrue股票天数统计Ro股票天数统计Ro
schema属性说明
股票天数统计Ro
参数名称参数说明in是否必须数据类型schemacode股票的编码bodyfalsestringendDate结束日期bodyfalsestringendDayNum结束的天数字bodyfalseinteger(int32)month月份bodyfalseinteger(int32)pageNum页数bodytrueinteger(int32)pageSize每页显示最大数量bodytrueinteger(int32)startDate开始日期bodyfalsestringstartDayNum开始的天数字bodyfalseinteger(int32)weeks星期几的集合bodyfalsearray
响应示例:
{code: 0,data: {list: [{amplitude: 0,amplitudeProportion: 0,appointThan: ,avgPrice: 0,buyHand: 0,changingProportion: 0,closingPrice: 0,code: ,currDate: ,dynamicPriceRatio: 0,highestPrice: 0,highestTime: ,innerDish: 0,lowestPrice: 0,lowestTime: ,ltMarket: 0,market: 0,name: ,openingPrice: 0,outDish: 0,sellHand: 0,staticPriceRatio: 0,than: 0,tradingValue: 0,tradingVolume: 0,ttmPriceRatio: 0,yesClosingPrice: 0}],total: 0},exceptionMessage: ,message: ,success: true,timestamp: 0
}响应参数:
参数名称参数说明类型schemacode响应代码integer(int32)integer(int32)data响应的数据分页展示«股票记录展示Vo»分页展示«股票记录展示Vo»exceptionMessage异常信息stringmessage响应信息stringsuccess是否成功 true 为成功 false 为不成功booleantimestamp当前时间戳integer(int64)integer(int64)
schema属性说明
分页展示«股票记录展示Vo»
参数名称参数说明类型schemalistlist数据array股票记录展示Vototal总数integer(int64)
股票记录展示Vo
参数名称参数说明类型schemaamplitude涨跌额numberamplitudeProportion涨跌幅度numberappointThan委比stringavgPrice平均价numberbuyHand买手integer(int32)changingProportion换手率numberclosingPrice收盘价numbercode编码stringcurrDate当前日期string(date-time)dynamicPriceRatio动态的市盈率numberhighestPrice最高价numberhighestTime最高价时间string(date-time)innerDish内盘integer(int32)lowestPrice最低价numberlowestTime最低价时间string(date-time)ltMarket流动市值numbermarket市值numbername名称stringopeningPrice开盘价numberoutDish外盘integer(int32)sellHand卖手integer(int32)staticPriceRatio静态的市盈率numberthan量比numbertradingValue成交额numbertradingVolume成交量numberttmPriceRatiottm 的市盈率numberyesClosingPrice昨日收盘价number 六. 查看最近多少天某个属性的涨跌幅度值
接口描述:
接口地址:/StockApi/stockHistory/stageZDFRange
请求方式POST
consumes:[application/json]
produces:[*/*]
请求示例
{property:closingPrice,code:002812,startDate:2023-10-11,endDate: 2023-10-26
}请求参数
参数名称参数说明in是否必须数据类型schemaAuthorizationToken令牌headerfalsestringstageRostageRobodytrue阶段性的Ro阶段性的Ro
schema属性说明
阶段性的Ro
参数名称参数说明in是否必须数据类型schemacode股票编码bodytruestringstartDate开始日期bodytruestringendDate结束日期bodytruestringproperty股票的某个属性bodytruestring属性支持 HistoryVo 中的相关的 double 属性
响应示例:
{code: 0,data: {changeValue: 0,codes: [],details: []},exceptionMessage: ,message: ,success: true,timestamp: 0
}响应参数:
参数名称参数说明类型schemacode响应代码integer(int32)integer(int32)data响应的数据选中的策略展示VO选中的策略展示VOexceptionMessage异常信息stringmessage响应信息stringsuccess是否成功 true 为成功 false 为不成功booleantimestamp当前时间戳integer(int64)integer(int64)
schema属性说明
选中的策略展示VO
参数名称参数说明类型schemachangeValue幅度值number(double)codes股票编码集合arraydetails详情信息array