@@ -2,6 +2,8 @@
|
||||
|
||||
## `fundCalmarRatio(beg_t, end_t, data_select, cycle)`
|
||||
|
||||
声明:function
|
||||
|
||||
基金Calmar。与系统股票pn_stock()、当前时间pn_date()相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -22,6 +24,8 @@ Return FundCalmarRatio(20160101T,20180903T,0,cy_day());
|
||||
|
||||
## `fundOmega(index_id, beg_t, end_t, data_select, cycle)`
|
||||
|
||||
声明:function
|
||||
|
||||
基金Omega比率。与系统股票pn_stock()、当前时间pn_date()相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -36,6 +40,8 @@ Return FundCalmarRatio(20160101T,20180903T,0,cy_day());
|
||||
|
||||
## `fundRachev(beg_t, end_t, rf, data_select, cycle)`
|
||||
|
||||
声明:function
|
||||
|
||||
基金Rachev比率。与系统股票pn_stock()、当前时间pn_date()相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -57,6 +63,8 @@ Return FundRachev(20160101T,20180903T,3,0,cy_day());
|
||||
|
||||
## `fundSortinoRatio(beg_t, end_t, rf, data_select, annual, cycle)`
|
||||
|
||||
声明:function
|
||||
|
||||
基金索丁诺比率。与系统股票pn_stock()、当前时间pn_date()相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -81,6 +89,8 @@ return fundSortinoRatio(20160101T,20180903T,3,0,1,cy_day());
|
||||
|
||||
## `fundAppraisalRatio(index_id, beg_t, end_t, data_select)`
|
||||
|
||||
声明:function
|
||||
|
||||
估价比率(估价比率=α系数/残差),也即为信息比率,与系统证券pn_stock()相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -103,6 +113,8 @@ ReturnFundAppraisalRatio("SH000001",intToDate(20031010),intToDate(20121022),0);
|
||||
|
||||
## `fundJensenMeasure(index_id, beg_t, end_t, rf, data_select)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回Jense指数(与系统股票pn_stock()相关)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -126,6 +138,8 @@ return fundJensenMeasure("SH000001",intToDate(20030314),intToDate(20121019),1.98
|
||||
|
||||
## `fundSharpMeasure(beg_t, end_t, rf, data_select)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回Sharp指数(与系统证券pn_stock()相关)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -148,6 +162,8 @@ ReturnFundSharpMeasure(intToDate(20030314),intToDate(20121019),2,0);
|
||||
|
||||
## `fundTreynorMeasure(index_id, beg_t, end_t, rf, data_select)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回Treynor指数(与系统股票pn_stock()相关)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -171,6 +187,8 @@ return fundTreynorMeasure("SH000001",intToDate(20030314),intToDate(20121019),1.9
|
||||
|
||||
## `fundMeasure(index_id, beg_t, end_t, rf, data_select)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回基金评估常用的指标。只支持日线与周线,若当前基金净值是按周公布的,计算指标包括以下等:(Rp,Rm,Alpha,Beta,Std,SharpMeasure,JensenMeasure,TreynorMeasure,AppraisalRatio,Corr,…)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -200,6 +218,8 @@ return fundMeasure("SH000001",intToDate(20210121),intToDate(20210521),14,0);
|
||||
|
||||
## `userDefineIndex(stock_arr, beg_t, end_t, rf, use_rf)`
|
||||
|
||||
声明:function
|
||||
|
||||
用户自定义指数的收益率序列,与系统周期pn_cycle()相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -228,6 +248,8 @@ intToDate(20121010),intToDate(20121019),2,false);
|
||||
|
||||
## `zsRfRatio(rf)`
|
||||
|
||||
声明:function
|
||||
|
||||
无风险收益率(折算),与系统周期有关
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
|
||||
Reference in New Issue
Block a user