@hbec-public
2016-10-20T08:42:18.000000Z
字数 16519
阅读 882
接口文档 分级行情
| 需求版本 | 修订类型 | 修订人员 | 日期 | 说明 |
|---|---|---|---|---|
| 3.3.1 | 创建 | 王鑫 | 2016-09-14 | 分级行情相关接口 |
| 3.3.1 | 修改 | 王鑫 | 2016-10-20 | 增加查询基金类型接口 |
5个公共请求参数:_b_、_e_、_t_、_appSign_、_appCrypt_
对于私有接口,
_b_、_e_为登录成功之后获取的标识,参数传递到后台会被自动解析成投客userId
_t_为标识移动端所用版本信息
_appSign_、_appCrypt_为签名和加密字符串
_b_、_e_、_t_)拼成name=zhangsan&password=123&status=1的形式,得到字符串 str_appSign__appCrypt_接口文档中URL皆以{site}替换
| 环境 | URL |
|---|---|
| 开发 | http://api.dev.hbec.com/cg |
| 仿真 | http://api-wwwtest.touker.com/cg |
| 生产 | http://api.touker.com/cg |
- 首页数据(一个接口返回):gradedFundQueryController.queryIndexModules
- 分级A列表(带分页):gradedFundQueryController.queryGradedFundAList
- 分级B列表(带分页):gradedFundQueryController.queryGradedFundBList
- 母基金列表(带分页):gradedFundQueryController.queryGradedFundMList
- 分级套利列表(不带分页):gradedFundQueryController.queryGradedFundArbitageList
- 主题列表(不带分页):gradedFundQueryController.queryThemeFundList
- 主题基金列表(不带分页):gradedFundQueryController.queryThemeFundDetail
- 基础行情数据:gradedFundDetailQueryController.queryFundQuatation
- 联基金/主题:gradedFundDetailQueryController.queryFundRelation
- 基金诊断:gradedFundDetailQueryController.queryFundDiagnosis
- 基金概况:gradedFundDetailQueryController.queryFundSummary
- 重仓数据:gradedFundDetailQueryController.queryFundStockPortfolio
- 基金公告:gradedFundDetailQueryController.queryFundBulletin
- 基金类型:gradedFundDetailQueryController.queryFundType
分级行情相关接口均为私有、加密接口。
说明
查询分级Top6热门主题、Top5博杠杆的分级B、Top5低风险的分级A、折溢价套利及下折套利数据,将这五个模块数据融合到一个接口返回。
方法名
gradedFundQueryController.queryIndexModules
调用示例
/gradedFundQueryController.queryIndexModules
参数列表
无
响应结构
{"themeList": [{"themeTitle": "食品饮料","themeChangesPercent": 4.6,"fundBaseTrade": false}],"fundBList": [{"currentPrice": 0.569,"changesPercent": 4.6,"fundPriceLever": 2.933,"stockCode": "150199","stockName": "食品B","exchange": "SZ","securityType": 3,"subFundType": 11,"fundBaseTrade": true,"fundIndexTrackingName": "国证食品","tagArr": ["国证食品","整体溢价率偏高"]}],"fundAList": [{"currentPrice": 1.1,"changesPercent": 2.33,"fundOvercomeRate": 4.23,"fundANetValue": 1.016,"fundLowDiscount": "37.82%","stockCode": "150315","stockName": "工业4A","exchange": "SZ","securityType": 3,"subFundType": 10,"fundBaseTrade": true,"fundIndexTrackingName": "工业4.0","tagArr": ["工业4.0"]}],"fundRateList": [{"changesPercent": -1.49,"fundValuationValue": 0.818842857,"fundOverallRate": 10.583,"fundOverallDiscountRate": -10.583,"stockCode": "161831","stockName": "H股分级","exchange": "SZ","securityType": 3,"subFundType": 12,"fundBaseTrade": false,"fundIndexTrackingName": "HSCEI","tagArr": ["恒生国企","整体溢价率偏高"]}],"fundDiscountList": [{"fundADiscountRate": 4.23,"fundANetValue": 1.0161,"fundLowDiscount": 37.82,"stockCode": "150315","stockName": "工业4A","exchange": "SZ","securityType": 3,"subFundType": 10,"fundBaseTrade": true,"tagArr": ["工业4.0"]}]}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| themeList | Array | Y | 热门主题列表,见主题涨幅 |
| fundBList | Array | Y | 博杠杆的分级B列表,见分级B |
| fundAList | Array | Y | 低风险的分级A列表,见分级A |
| fundRateList | Array | Y | 折溢价套利列表,见母基金 |
| fundDiscountList | Array | Y | 下折套利列表,见分级A |
说明
分页查询分级A实时数据列表
方法名
gradedFundQueryController.queryGradedFundAList
调用示例
/gradedFundQueryController.queryGradedFundAList?pager={'pageNo':1,'pageSize':10,'sortAttr':'currentPrice','desc':1}
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| pager | Object | Y | 分页参数 |
| pageNo | Integer | N | 页码,从1开始 |
| pageSize | Integer | N | 每页显示条数 |
| sortAttr | String | N | 排序属性(属性名) |
| desc | Integer | N | 排序规则,0:升序,1:降序 |
响应结构
{"data":{"count": 138,"pageNo": 1,"pageSize": 2,"hasNextPage": true,"desc": 0,"list": [{"currentPrice": 1.1,"changesPercent": 2.33,"fundOvercomeRate": 4.23,"fundANetValue": 1.016,"fundLowDiscount": "37.82%","stockCode": "150315","stockName": "工业4A","exchange": "SZ","securityType": 3,"subFundType": 10,"fundBaseTrade": true,"fundIndexTrackingName": "工业4.0","tagArr": ["工业4.0"]},{"currentPrice": 1.152,"changesPercent": 1.41,"fundOvercomeRate": 4.96,"fundANetValue": 1.0113,"fundLowDiscount": "47.06%","stockCode": "502057","stockName": "医疗A","exchange": "SH","securityType": 3,"subFundType": 10,"fundBaseTrade": true,"fundIndexTrackingName": "中证医疗","tagArr": ["中证医疗"]}]},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| count | Integer | Y | 总数 |
| desc | Integer | Y | 排序,1:倒序,0:正序 |
| pageNo | Integer | Y | 页码,与传参相同 |
| pageSize | Integer | Y | 每页显示条数,与传参相同 |
| hasNextPage | Boolean | Y | 是否有下一页数据 |
| list | Array | Y | 数据列表 |
| currentPrice | BigDecimal | Y | 现价,保留小数点后三位 |
| changesPercent | BigDecimal | Y | 涨幅,保留小数点后两位 |
| fundOvercomeRate | BigDecimal | Y | 隐含收益率,保留小数点后两位 |
| fundANetValue | BigDecimal | Y | 参考净值,保留小数点后四位 |
| fundLowDiscount | BigDecimal | Y | 下折母基需跌,保留小数点后两位 |
| fundADiscountRate | BigDecimal | Y | 预估A下折收益,保留小数点后两位 |
| stockCode | String | Y | A代码 |
| stockName | String | Y | A名称 |
| exchange | String | Y | 市场 |
| securityType | Integer | Y | 证券分类,基金:3 |
| subFundType | Integer | Y | 证券二级分类,见基金二级分类 |
| fundBaseTrade | boolean | Y | 是否可交易,true:可交易,false:不可交易 |
| fundIndexTrackingName | String | Y | 指数名称 |
| tagArr | Array | Y | 标签数组 |
说明
分页查询分级B实时数据列表
方法名
gradedFundQueryController.queryGradedFundBList
调用示例
/gradedFundQueryController.queryGradedFundBList?pager={'pageNo':1,'pageSize':10,'sortAttr':'currentPrice','desc':1}
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| pager | Object | Y | 分页参数 |
| pageNo | Integer | N | 页码,从1开始 |
| pageSize | Integer | N | 每页显示条数 |
| sortAttr | String | N | 排序属性(属性名) |
| desc | Integer | N | 排序规则,0:升序,1:降序 |
响应结构
{"data":{"count": 138,"pageNo": 1,"pageSize": 10,"hasNextPage": true,"desc": 1,"list":[{"currentPrice": 0.569,"changesPercent": 4.6,"fundPriceLever": 2.933,"stockCode": "150199","stockName": "食品B","exchange": "SZ","securityType": 3,"subFundType": 11,"fundBaseTrade": true,"fundIndexTrackingName": "国证食品","tagArr": ["国证食品","整体溢价率偏高"]}]},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| count | Integer | Y | 总数 |
| desc | Integer | Y | 排序,1:倒序,0:正序 |
| pageNo | Integer | Y | 页码,与传参相同 |
| pageSize | Integer | Y | 每页显示条数,与传参相同 |
| hasNextPage | Boolean | Y | 是否有下一页数据 |
| list | Array | Y | 数据列表 |
| currentPrice | BigDecimal | Y | 现价,保留小数点后三位 |
| changesPercent | BigDecimal | Y | 涨幅,保留小数点后两位 |
| fundPriceLever | BigDecimal | Y | 价格杠杆,保留小数点后三位 |
| stockCode | String | Y | B代码 |
| stockName | String | Y | B名称(简称) |
| securityType | Integer | Y | 证券分类,基金:3 |
| subFundType | Integer | Y | 证券二级分类,见基金二级分类 |
| exchange | String | Y | 市场 |
| fundBaseTrade | boolean | Y | 是否可交易,true:可交易,false:不可交易 |
| fundIndexTrackingName | String | Y | 指数名称 |
| tagArr | Array | Y | 标签数组 |
说明
分页查询分级母基金实时数据列表
方法名
gradedFundQueryController.queryGradedFundMList
调用示例
/gradedFundQueryController.queryGradedFundMList?pager={'pageNo':1,'pageSize':10,'sortAttr':'currentPrice','desc':1}
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| pager | Object | Y | 分页参数 |
| pageNo | Integer | N | 页码,从1开始 |
| pageSize | Integer | N | 每页显示条数 |
| sortAttr | String | N | 排序属性(属性名) |
| desc | Integer | N | 排序规则,0:升序,1:降序 |
响应结构
{"data":{"count": 138,"pageNo": 1,"pageSize": 10,"hasNextPage": true,"desc": 1,"list":[{"indexChangesPercent": -1.41,"fundValuationValue": 0.8879445,"fundOverallRate": 16.223,"fundOverallDiscountRate": -16.223,"stockCode": "164705","stockName": "添富恒生","exchange": "SZ","securityType": 3,"subFundType": 12,"fundBaseTrade": false,"fundIndexTrackingName": "HSI","tagArr": ["恒生","整体溢价率偏高"]}]},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| count | Integer | Y | 总数 |
| desc | Integer | Y | 排序,1:倒序,0:正序 |
| pageNo | Integer | Y | 页码,与传参相同 |
| pageSize | Integer | Y | 每页显示条数,与传参相同 |
| hasNextPage | Boolean | Y | 是否有下一页数据 |
| list | Array | Y | 数据列表 |
| stockCode | String | Y | 母基金代码 |
| stockName | String | Y | 母基金名称(简称) |
| securityType | Integer | Y | 证券分类,基金:3 |
| subFundType | Integer | Y | 证券二级分类,见【基金二级分类】 |
| fundBaseTrade | boolean | Y | 是否可交易,true:可交易,false:不可交易 |
| fundValuationValue | BigDecimal | Y | 参考净值,保留小数点后四位 |
| indexChangesPercent | BigDecimal | Y | 跟踪指数涨跌幅,保留小数点后两位 |
| fundOverallRate | BigDecimal | Y | 整体溢价率,保留小数点后三位 |
| fundOverallDiscountRate | BigDecimal | Y | 整体折价率,保留小数点后三位 |
| tagArr | Array | Y | 标签数组 |
说明
查询分级套利实时数据列表
方法名
gradedFundQueryController.queryGradedFundArbitageList
调用示例
/gradedFundQueryController.queryGradedFundArbitageList
参数列表
无
响应结构
{"data":{"filterRules":"\r\n""fundOverRateList":[{"fundValuationValue": 0.818842857,"fundOverallRate": 10.583,"stockCode": "161831","stockName": "H股分级","exchange": "SZ","securityType": 3,"subFundType": 12,"fundBaseTrade": false,"fundIndexTrackingName": "HSCEI","tagArr": ["恒生国企","整体溢价率偏高"]}],"fundDiscountRateList":[{"fundValuationValue": 0.818842857,"fundOverallDiscountRate": -10.583,"stockCode": "161831","stockName": "H股分级","exchange": "SZ","securityType": 3,"subFundType": 12,"fundBaseTrade": false,"fundIndexTrackingName": "HSCEI","tagArr": ["恒生国企","整体溢价率偏高"]}],"fundADiscountList":[{"fundADiscountRate": 4.23,"fundANetValue": 1.0161,"fundLowDiscount": "37.82%","stockCode": "150315","stockName": "工业4A","exchange": "SZ","securityType": 3,"subFundType": 10,"fundBaseTrade": true,"tagArr": ["工业4.0"]}],},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| filterRules | String | Y | 筛选规则 |
| fundOverRateList | Array | Y | 溢价套利实时数据列表,见母基金 |
| fundDiscountRateList | Array | Y | 折价套利实时数据列表,见母基金 |
| fundADiscountList | Array | Y | 下折套利实时数据列表,见分级A |
说明
查询分级主题实时数据列表
方法名
gradedFundQueryController.queryThemeFundList
调用示例
/gradedFundQueryController.queryThemeFundList
参数列表
无
响应结构
{"data":{"themeTitle":"港股","themeChangesPercent":4.07,"stockCode":"150176","stockName":"H股B","exchange": "SZ","securityType": 3,"subFundType": 11,"fundBaseTrade": true},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| themeTitle | Array | Y | 主题名称 |
| themeChangesPercent | BigDecimal | Y | 主题涨幅,保留小数点后两位 |
| stockCode | String | Y | 股票代码 |
| stockName | String | Y | 股票名称 |
| exchange | String | Y | 市场 |
| securityType | Integer | Y | 证券分类,基金:3 |
| subFundType | Integer | Y | 证券二级分类,见基金二级分类 |
| fundBaseTrade | boolean | Y | 是否可交易,true:可交易,false:不可交易 |
说明
查询分级主题详情实时数据列表
方法名
gradedFundQueryController.queryThemeFundDetail
调用示例
/gradedFundQueryController.queryThemeFundDetail?themeTitle=港股
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| themeTitle | String | Y | 主题名称 |
响应结构
{"data":{"notice":"提示:\r\n临近下折,需高度警惕风险。","themeDetailList":[{"stockCode":"150176","stockName":"H股B","currentPrice":1.014,"fundPriceLever":1.254,"changesPercent":1.14,"exchange": "SZ","securityType": 3,"subFundType": 11,"fundBaseTrade": true,"tagArr":["恒生国企"]}]},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| notice | String | Y | 提示信息,主题预警 |
| themeDetailList | String | Y | 主题详情列表 |
| stockCode | String | Y | 领涨基金代码 |
| stockName | String | Y | 领涨基金名称 |
| currentPrice | BigDecimal | Y | 现价,保留小数点后三位 |
| fundPriceLever | BigDecimal | Y | 价格杠杆,保留小数点后三位 |
| changesPercent | BigDecimal | Y | 涨跌幅,保留小数点后两位 |
| exchange | String | Y | 市场 |
| securityType | Integer | Y | 证券分类,基金:3 |
| subFundType | Integer | Y | 证券二级分类,见基金二级分类 |
| fundBaseTrade | boolean | Y | 是否可交易,true:可交易,false:不可交易 |
| tagArr | Array | Y | 标签数组 |
说明
查询分级基础行情数据,根据fundBaseTrade判断基金是否可交易,根据subFundType类型判断显示数据结构。
方法名
gradedFundDetailQueryController.queryFundQuatation
调用示例
/gradedFundDetailQueryController.queryFundQuatation?fundCode=150016
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| fundCode | String | Y | 基金代码 |
响应结构
分级A、B、可交易母基金
{"data":{"stockCode":"150118","stockName":"房地产B","exchange":"SZ","fundBaseTrade":true,"securityType":3,"subFundType":11,"currrentPrice":0.547,"changesPercent":0.25,"hanges":4.77,"openPrice":0.457,"previousPrice":0.458,"totalNum":45.25,"totalAmt":2522.57,"upPrice":0.627,"lowPrice":0.478,"fundDiscountRate":"1.21%","fundPremiumRate":"0.57%","fundAddShare":1000,"fundNetValue":1.1247,"fundNetValueDate":"2016-09-19"},"message":"","result":"1"}
不可交易母基金
{"data":{"stockCode":"160154","stockName":"房地产","exchange":"OF","fundBaseTrade":false,"securityType":3,"subFundType":12,"fundEstimateNetValue":0.5471,"changesPercent":0.025,"changes":4.77,"fundOverallRate":0.457},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| fundBaseTrade | boolean | Y | 是否可交易,true:可交易,false:不可交易 |
| stockCode | String | Y | 基金代码 |
| stockName | String | Y | 基金简称 |
| exchange | String | Y | 基金市场 |
| securityType | Integer | Y | 证券分类,基金:3 |
| subFundType | Integer | Y | 证券二级分类,见【基金二级分类】 |
| currentPrice | BigDecimal | Y | 现价 |
| changesPercent | BigDecimal | Y | 涨跌幅 |
| changes | BigDecimal | Y | 涨跌率 |
| openPrice | BigDecimal | Y | 今开价 |
| previousPrice | BigDecimal | Y | 昨收价 |
| totalNum | BigDecimal | Y | 成交量 |
| totalAmt | BigDecimal | Y | 成交额 |
| upPrice | BigDecimal | Y | 最高价 |
| lowPrice | BigDecimal | Y | 最低价 |
| fundDiscountRate | String | Y | 折价率 |
| fundPremiumRate | String | Y | 溢价率 |
| fundAddShare | BigDecimal | Y | 新增份额 |
| fundNetValue | BigDecimal | Y | 基金净值 |
| fundNetValueDate | String | Y | 净值日期 |
| lastUpdateTime | String | Y | 数据最后更新时间 |
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| fundBaseTrade | boolean | Y | 是否可交易,true:可交易,false:不可交易 |
| stockCode | String | Y | 基金代码 |
| stockName | String | Y | 基金简称 |
| exchange | String | Y | 基金市场 |
| securityType | Integer | Y | 证券分类,基金:3 |
| subFundType | Integer | Y | 证券二级分类,见【基金二级分类】 |
| fundEstimateNetValue | BigDecimal | Y | 母基估算净值 |
| changes | BigDecimal | Y | 净值涨跌率 |
| changesPercent | BigDecimal | Y | 净值涨跌幅 |
| fundOverallRate | BigDecimal | Y | 整体溢价率 |
| lastUpdateTime | String | Y | 数据最后更新时间 |
说明
查询关联基金/主题,根据relationCode是否为空,为空的话为关联主题。
方法名
gradedFundDetailQueryController.queryFundRelation
调用示例
/gradedFundDetailQueryController.queryFundRelation?fundCode=150332
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| fundCode | String | Y | 基金代码 |
响应结构
{"data":{"showTitle":"关联基金/主题","relationList":[{"stockCode":"150331","stockName":"网金融A","exchange":"SZ","fundBaseTrade":true,"securityType":3,"subFundType":10},{"stockCode":"165315","stockName":"网金融""exchange":"CSI","fundBaseTrade":false,"securityType":3,"subFundType":12},{"stockName":"互联金融"}]},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| showTitle | String | Y | 关联基金/主题 |
| relationList | Array | Y | 数据列表 |
| stockCode | String | Y | 关联基金/主题代码 |
| stockName | String | Y | 关联基金/基金名称 |
| securityType | Integer | Y | 证券分类,基金:3 |
| subFundType | Integer | Y | 证券二级分类,见基金二级分类 |
| exchange | String | Y | 市场 |
| fundBaseTrade | boolean | Y | 是否可交易,true:可交易,false:不可交易 |
说明
查询公告
方法名
gradedFundDetailQueryController.queryFundBulletin
调用示例
/gradedFundDetailQueryController.queryFundBulletin?fundCode=150332&pager={'pageNo':1,'pageSize':10}
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| fundCode | String | Y | 基金代码 |
| pager | Object | Y | 分页参数 |
| pageNo | Integer | N | 页码,从1开始 |
| pageSize | Integer | N | 每页显示条数 |
响应结构
{"data":{"count": 300,"pageNo": 1,"pageSize": 10,"hasNextPage": true,"desc": 1,"list":{"id":"anno_3276133,"title":"国泰国证食品饮料B:2016年半年度报告","url":"http://m.touker.com/fenji/bulletin/detail/anno_3276133","pubDate":"2016-09-10"}},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| count | Integer | Y | 总数 |
| desc | Integer | Y | 排序,1:倒序,0:正序 |
| pageNo | Integer | Y | 页码,与传参相同 |
| pageSize | Integer | Y | 每页显示条数,与传参相同 |
| hasNextPage | Boolean | Y | 是否有下一页数据 |
| list | Array | Y | 数据列表 |
| id | String | Y | 公告ID |
| title | String | Y | 公告标题 |
| url | String | Y | 公告详情H5链接地址 |
| pubDate | String | Y | 公告日期 |
说明
查询持仓,如果数据属性值为空,以--代替
方法名
gradedFundDetailQueryController.queryFundStockPortfolio
调用示例
/gradedFundDetailQueryController.queryFundStockPortfolio?fundCode=150288
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| fundCode | String | Y | 基金代码 |
响应结构
{"data": {"reportDate":"2016 年第二季度报告","totalStockProportion":88.13,"infos":[{"stockName":"包钢股份","stockToNav":11.69,"changesPercent":0.54},{"stockName":"宝钢股份","stockToNav":8.67,"changesPercent":0.00}]},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| reportDate | String | Y | 报告日期 |
| totalStockProportion | BigDecimal | Y | 股票重仓占比,保留小数点后3位,加% |
| infos | Array | Y | 数据列表 |
| stockName | String | Y | 股票名称 |
| stockToNav | BigDecimal | Y | 资产占比,保留小数点后2位,加% |
| changesPercent | BigDecimal | Y | 实时涨跌,保留小数点后2位,加%,红涨绿跌 |
说明
查询概况信息,fundACurRate、fundMLowPurchaseAmt、fundMLowRedeemShare属性值为空或0时,以--代替
方法名
gradedFundDetailQueryController.queryFundSummary
调用示例
/gradedFundDetailQueryController.queryFundSummary?fundCode=150332
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| fundCode | String | Y | 基金代码 |
响应结构
{"data":{"fundMCode":"165315","fundMAbbrName":"网金融","fundACode":"150331","fundAAbbrName":"网金融A","fundBCode":"150332","fundBAbbrName":"网金融B","fundScale":"5.5","fundIndexTracking":"399805","fundIndexTrackName":"互联金融","fundFoundDate":"2014-11-11","fundDueDate":"永续","fundCompanyName":"鹏华基金管理有限公司","fundUpperPoint":"母基金净值达到或超过上折点1.5","fundSalientPoint":"B基金净值达到或跌破下折点0.25","fundConvertDate":"2016-09-12","fundACurRate":5.40,"fundAConversion":"一年定期存款利率(税后)+3.5%","fundMLowPurchaseAmt":1000.00,"fundBuyCharge":"场内申购金额(M)元\nM<100万,申购费率1.20%\n","fundMLowRedeemShare":1000.00},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| fundMCode | String | Y | 母基金代码 |
| fundMAbbrName | String | Y | 母基金简称 |
| fundACode | String | Y | A基金代码 |
| fundAAbbrName | String | Y | A基金简称 |
| fundBCode | String | Y | B基金代码 |
| fundBAbbrName | String | Y | B基金简称 |
| fundScale | String | Y | A、B份额比例 |
| fundIndexTracking | String | Y | 跟踪指数代码 |
| fundIndexTrackName | String | Y | 跟踪指数名称 |
| fundFoundDate | String | Y | 上市时间 |
| fundDueDate | String | Y | 到期日 |
| fundCompanyName | String | Y | 基金管理公司 |
| fundUpperPoint | String | Y | 上折条件 |
| fundSalientPoint | String | Y | 下折条件 |
| fundConvertDate | String | Y | 下次定折日 |
| fundACurRate | BigDecimal | Y | 分级A约定收益率,保留小数点后2位,加% |
| fundAConversion | String | Y | 分级A利率规则 |
| fundMLowPurchaseAmt | BigDecimal | Y | 场内最低申购金额,保留小数点后2位 |
| fundBuyCharge | String | Y | 场内申购费率 |
| fundMLowRedeemShare | BigDecimal | Y | 场内赎回最低份额,保留小数点后2位 |
说明
查询诊断信息
方法名
gradedFundDetailQueryController.queryFundDiagnosis
调用示例
/gradedFundDetailQueryController.queryFundDiagnosis?fundCode=150332
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| fundCode | String | Y | 基金代码 |
响应结构
{"data":{"paramsList":[{"paramName":"隐含收益率","paramValue":"5.40%","paramState":3},{"paramName":"整体溢价率","paramValue":"1.251%","paramState":3}],"conversionInfoList":[{"paramName":"当前状态","paramValue":"临近或已触发下折"},{"paramName":"A下折预估收益率","paramValue":"1.251%",},{"paramName":"说明","paramValue":"如触发下折,折价较高的分级A可能会获得下折收益。"}],"fundCurrentPoint":1.0786,"fundUpperPoint":1.50,"fundSalientPoint":0.25,"fundUpperDiscount",25.35,"fundLowDiscount":15.22,"conversionState":1,"fundDiagnosisResult":"隐含收益率处于平均水平;整体溢价率正常。"},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| paramsList | Array | Y | 重要参数列表 |
| conversionInfoList | Array | Y | 折算信息参数列表 |
| paramName | String | Y | 参数名称 |
| paramValue | String | Y | 参数值 |
| paramState | Integer | Y | 参数状态,见参数状态 |
| fundCurrentPoint | BigDecimal | Y | 当前点,保留小数点后4位 |
| fundUpperPoint | BigDecimal | Y | 上折点,保留小数点后2位 |
| fundSalientPoint | BigDecimal | Y | 下折点,保留小数点后2位 |
| fundUpperDiscount | BigDecimal | Y | 需涨,保留小数点后2位 |
| fundLowDiscount | BigDecimal | Y | 需跌,保留小数点后2位 |
| fundDiagnosisResult | String | Y | 诊断分析结果 |
| conversionState | int | Y | 折算状态,见折算状态 |
说明
查询基金类型
方法名
gradedFundDetailQueryController.queryFundType
调用示例
/gradedFundDetailQueryController.queryFundType?fundCode=150332
参数列表
| 参数名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| fundCode | String | Y | 基金代码 |
响应结构
{"data":{"securityType":3,"subFundType":11,"exchange":"SZ","fundBaseTrade":true},"message":"","result":"1"}
响应字段说明
| 字段名 | 类型 | 不可为空 | 说明 |
|---|---|---|---|
| securityType | Integer | Y | 证券分类,基金:3 |
| subFundType | Integer | Y | 证券二级分类,见基金二级分类 |
| exchange | String | Y | 市场 |
| fundBaseTrade | boolean | Y | 是否可交易,true:可交易,false:不可交易 |
| 值 | 说明 |
|---|---|
| 10 | 分级A |
| 11 | 分级B |
| 12 | 母基金 |
| 值 | 说明 |
|---|---|
| 0 | 正常 |
| 1 | 无上折 |
| 2 | 无下折 |
| 3 | 无上下折 |
| 4 | 已上折 |
| 5 | 已下折 |
| 值 | 说明 |
|---|---|
| 0 | 涨,字体颜色标红 |
| 1 | 跌,字体颜色标绿 |
| 2 | 平,字体颜色标灰 |
| 3 | 其他,不做处理 |