风格指数收益率(fund_style/style_index_gr) 在线调试
获取指定日期下风格指数的收益率信息
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/gildatafund/v1/fund_style/style_index_gr |
---|
是否需要业务登录
否 |
---|
HTTP请求方式
GET,POST |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
fund_style_code | String | 是 | 1010001 | 风格指数代码 |
风格指数代码与风格代码相同,可通过“风格代码”API获取;支持输入多个代码,用逗号“,”隔开
|
|
trading_date | String | 是 | 交易日期 |
输入格式为“YYYY-MM-DD”,如“2017-01-05”
|
||
fields | String | 否 | 字段集合 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
fund_style_code | String | 1010001 | 风格指数代码 |
风格指数代码与风格代码相同,可通过“风格代码”API获取;支持输入多个代码,用逗号“,”隔开
|
|
trading_date | String | 交易日期 |
输入格式为“YYYY-MM-DD”,如“2017-01-05”
|
||
daily_gr | Float | 16.2 | -0.12 | 日收益率 |
日收益率
|
gr_for_this_week | Float | 16.2 | -0.73 | 本周以来收益率 |
本周以来收益率
|
weekly_gr | Float | 16.2 | 0.07 | 一周收益率 |
一周收益率
|
gr_for_this_month | Float | 16.2 | 2.36 | 本月以来收益率 |
本月以来收益率
|
monthly_gr | Float | 16.2 | 2.36 | 一个月收益率 |
一个月收益率
|
gr_for_3month | Float | 16.2 | 3.93 | 三个月收益率 |
三个月收益率
|
gr_for_6month | Float | 16.2 | 3.23 | 六个月收益率 |
六个月收益率
|
gr_for_9month | Float | 16.2 | 4.26 | 九个月收益率 |
九个月收益率
|
gr_for_this_year | Float | 16.2 | 3.82 | 今年以来收益率 |
今年以来收益率
|
gr_for_1year | Float | 16.2 | 9.99 | 一年收益率 |
一年收益率
|
gr_for_since | Float | 16.2 | -10.81 | 自设立以来的收益率 |
自设立以来的收益率
|
请求示例
/gildatafund/v1/fund_style/style_index_gr?fund_style_code='1010001'&trading_date='2017-03-28'
正确返回示例
{"data":[{"fund_style_code":"1010001","trading_date":"2017-03-28","daily_gr":-0.12,"gr_for_this_week":-0.73,"weekly_gr":0.07,"gr_for_this_month":2.36,"monthly_gr":2.36,"gr_for_3month":3.93,"gr_for_6month":3.23,"gr_for_9month":4.26,"gr_for_this_year":3.82,"gr_for_1year":9.99,"gr_for_since":-10.81}]}