风险分析(performance_evaluation/risk_management)
记录基金的风险指标数据,包括基金Alpha、基金Beta、基金SharpeRatio等。
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/gildatafund/v1/performance_evaluation/risk_management |
---|
是否需要业务登录
否 |
---|
HTTP请求方式
GET,POST |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
en_prod_code | String | 是 | 000001.OF | 证劵代码 |
基金代码,根据交易代码和交易市场组合而成,上市交易基金的后缀根据上市交易所是 .SZ或者 .SH,非上市.OF,支持输入多个基金代码,以半角逗号隔开。
|
|
trading_date | String | 是 | 交易日期 |
交易日期,格式为YYYY-MM-DD,如2015-12-31。
|
||
begin_date | Integer | 是 | 12/22/16 | 起始日期 |
开始日期,格式为YYYY-MM-DD,如2015-12-31。
|
|
end_date | String | 是 | 截止日期 |
截止日期,格式为YYYY-MM-DD,如2015-12-31。
|
||
date_type | String | 是 | 10 | 1 | 日期类型 |
{"日":"0","周":"1","月":"2"}
|
index_code | String | 是 | 10 | 0 | 指数代码 |
{"上证指数":"0","深证成指":"1","沪深300":"2"}
|
fields | String | 否 | 字段集合 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
prod_code | String | 000001.OF | 产品代码 |
基金代码,根据交易代码和交易市场组合而成,上市交易基金的后缀根据上市交易所是 .SZ或者 .SH,非上市.OF,支持输入多个基金代码,以半角逗号隔开。
|
|
trading_date | String | 交易日期 |
交易日期,格式为YYYY-MM-DD,如2015-12-31。
|
||
begin_date | Integer | 12/22/16 | 起始日期 |
开始日期,格式为YYYY-MM-DD,如2015-12-31。
|
|
end_date | String | 截止日期 |
截止日期,格式为YYYY-MM-DD,如2015-12-31。
|
||
date_type | String | 10 | 1 | 日期类型 |
{"日":"0","周":"1","月":"2"}
|
index_code | String | 10 | 0 | 指数代码 |
{"上证指数":"0","深证成指":"1","沪深300":"2"}
|
standard_deviation | Float | 16.6 | 1.345 | 基金收益标准差 |
基金收益标准差
|
average_return | String | 0.306 | 平均收益率 |
平均收益率
|
|
down_standard_deviation | Float | 16.6 | 0.889 | 下行标准差 |
下行标准差
|
year_imp_vol | Float | 16.6 | 9.699 | 年化波动率 |
年化波动率
|
alpha | Float | 16.6 | 0.003 | Alpha |
Alpha
|
beta | Float | 16 | 0.775 | Beta值 |
Beta
|
sharpe_ratio | Float | 16.6 | 0.192 | Sharpe(夏普率) |
Sharpe
|
请求示例
/gildatafund/v1/performance_evaluation/risk_management?en_prod_code=000001.OF&trading_date=2016-12-23&begin_date=2016-12-22&end_date=2017-6-22&date_type=1&index_code=0
正确返回示例
{"data":[{"en_prod_code":"000001.OF","trading_date":"2016-12-23","begin_date":"2016-12-22","end_date":"2017-6-22","date_type":"1","index_code":"0","alpha":"0.002876","beta":"0.774774","sharpe_ratio":"0.191803","standard_deviation":"1.345000","average_return":"0.306052","down_standard_deviation":"0.889000","year_imp_vol":"9.698930"}]}