feat(tsl-api-reference): add class and framework API lookup

This commit is contained in:
csh
2026-08-20 13:49:55 +08:00
parent 7233646398
commit 651c1f68d2
637 changed files with 25498 additions and 36673 deletions
@@ -8,7 +8,7 @@
<!-- tags: 因子分析 扩展指标 因子计算 技术指标 -->
### `frf`
### `Frf`
声明:field
@@ -18,7 +18,7 @@
类型:real
### `configSet(key, value)`
### `ConfigSet(key, value)`
声明:function
@@ -38,11 +38,11 @@
范例01:调用示例
```tsl
Obj := new tsf_factorExtindicator_Base();
Obj.configSet('总组数',5);
Obj := new tsf_factorExtindiCator_base();
Obj.ConfigSet('总组数',5);
```
### `configGet(key)`
### `ConfigGet(key)`
声明:function
@@ -61,11 +61,11 @@ Obj.configSet('总组数',5);
范例01:调用示例
```tsl
Obj := new tsf_factorExtindicator_Base();
Return Obj.configGet('总组数'); //5
Obj := new tsf_factorExtindiCator_base();
Return Obj.ConfigGet('总组数'); //5
```
### `defaultConfig()`
### `DefaultConfig()`
声明:function
@@ -77,7 +77,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `getIC(begt, endt, ic_type)`
### `GetIC(begt, endt, ic_type)`
声明:function
@@ -95,7 +95,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `getDailyGroupReturnAllG(begt, endt)`
### `GetDailyGroupReturnAllG(begt, endt)`
声明:function
@@ -112,7 +112,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `getDailyGroupReturn(begt, endt, group_name)`
### `GetDailyGroupReturn(begt, endt, group_name)`
声明:function
@@ -130,7 +130,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `getFactorReturn(begt, endt)`
### `GetFactorReturn(begt, endt)`
声明:function
@@ -147,7 +147,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `getgroupstocks(endt, gtype)`
### `Getgroupstocks(endt, gtype)`
声明:function
@@ -164,7 +164,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `gettcrq(begt, endt)`
### `Gettcrq(begt, endt)`
声明:function
@@ -181,7 +181,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `get_ICI_mean(begt, endt, ic_type)`
### `Get_ICI_mean(begt, endt, ic_type)`
声明:function
@@ -199,7 +199,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_ICI_StdDev(begt, endt, ic_type)`
### `Get_ICI_StdDev(begt, endt, ic_type)`
声明:function
@@ -217,7 +217,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_ICI_Absmean(begt, endt, ic_type)`
### `Get_ICI_Absmean(begt, endt, ic_type)`
声明:function
@@ -235,7 +235,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_ICI_Win_pct(begt, endt, ic_type)`
### `Get_ICI_Win_pct(begt, endt, ic_type)`
声明:function
@@ -253,7 +253,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_ICI_ICIR(begt, endt, ic_type)`
### `Get_ICI_ICIR(begt, endt, ic_type)`
声明:function
@@ -271,7 +271,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Ri_CumReturn(begt, endt, rt_type)`
### `Get_Ri_CumReturn(begt, endt, rt_type)`
声明:function
@@ -289,7 +289,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Ri_volatility(begt, endt, rt_type)`
### `Get_Ri_volatility(begt, endt, rt_type)`
声明:function
@@ -307,7 +307,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Ri_Sharpe_ratio(begt, endt, rt_type)`
### `Get_Ri_Sharpe_ratio(begt, endt, rt_type)`
声明:function
@@ -325,7 +325,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Ri_Win_pct(begt, endt, rt_type)`
### `Get_Ri_Win_pct(begt, endt, rt_type)`
声明:function
@@ -343,7 +343,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Ri_cagr(begt, endt, rt_type)`
### `Get_Ri_cagr(begt, endt, rt_type)`
声明:function
@@ -361,7 +361,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Ri_mean(begt, endt, rt_type)`
### `Get_Ri_mean(begt, endt, rt_type)`
声明:function
@@ -379,7 +379,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Ri_To_CumReturn(begt, endt, rt_type)`
### `Get_Ri_To_CumReturn(begt, endt, rt_type)`
声明:function
@@ -397,7 +397,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `get_Ti_AbsMean(begt, endt)`
### `Get_Ti_AbsMean(begt, endt)`
声明:function
@@ -414,7 +414,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Ti_AbsSignProp(begt, endt, abstsignv)`
### `Get_Ti_AbsSignProp(begt, endt, abstsignv)`
声明:function
@@ -432,7 +432,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Crowding_ValuPB(endt, alg_type)`
### `Get_Crowding_ValuPB(endt, alg_type)`
声明:function
@@ -449,7 +449,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Crowding_ValuPE(endt, alg_type)`
### `Get_Crowding_ValuPE(endt, alg_type)`
声明:function
@@ -466,7 +466,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Crowding_ValuFac(endt, alg_type)`
### `Get_Crowding_ValuFac(endt, alg_type)`
声明:function
@@ -483,7 +483,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Crowding_Corr(begt, endt, alg_type, option)`
### `Get_Crowding_Corr(begt, endt, alg_type, option)`
声明:function
@@ -502,7 +502,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Crowding_Volatility(begt, endt, alg_type)`
### `Get_Crowding_Volatility(begt, endt, alg_type)`
声明:function
@@ -520,7 +520,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `get_Crowding_AssetCentrality(begt, endt, ep)`
### `Get_Crowding_AssetCentrality(begt, endt, ep)`
声明:function
@@ -538,7 +538,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `getFactor_Crowded_TopBottomStocks(begt, endt, zbarr, seq_standard, n)`
### `GetFactor_Crowded_TopBottomStocks(begt, endt, zbarr, seq_standard, n)`
声明:function
@@ -558,7 +558,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `getFactor_Discrete(begt, end_t, seq_standard, n)`
### `GetFactor_Discrete(begt, end_t, seq_standard, n)`
声明:function
@@ -577,7 +577,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `get_Seq_Rt(begt, endt, rt_type)`
### `Get_Seq_Rt(begt, endt, rt_type)`
声明:function
@@ -595,7 +595,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `get_Seq_IC(begt, endt, ic_type)`
### `Get_Seq_IC(begt, endt, ic_type)`
声明:function
@@ -613,7 +613,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `get_Seq_T(begt, endt)`
### `Get_Seq_T(begt, endt)`
声明:function
@@ -630,7 +630,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `get_Seq2_Rt(begt, endt, rt_type)`
### `Get_Seq2_Rt(begt, endt, rt_type)`
声明:function
@@ -648,7 +648,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `get_Seq2_IC(begt, endt, ic_type)`
### `Get_Seq2_IC(begt, endt, ic_type)`
声明:function
@@ -666,7 +666,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `get_Seq2_T(begt, endt)`
### `Get_Seq2_T(begt, endt)`
声明:function
@@ -683,7 +683,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `getFactorReturnandIC(begt, endt, ic_type)`
### `GetFactorReturnandIC(begt, endt, ic_type)`
声明:function
@@ -701,7 +701,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `getLongShortReturn(begt, endt, cycle)`
### `GetLongShortReturn(begt, endt, cycle)`
声明:function
@@ -719,7 +719,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `getGroupN()`
### `GetGroupN()`
声明:function
@@ -731,7 +731,7 @@ Return Obj.configGet('总组数'); //5
返回:int
### `getLongName()`
### `GetLongName()`
声明:function
@@ -743,7 +743,7 @@ Return Obj.configGet('总组数'); //5
返回:string
### `getShortName()`
### `GetShortName()`
声明:function
@@ -755,7 +755,7 @@ Return Obj.configGet('总组数'); //5
返回:string
### `transferGroupName(group_name)`
### `TransferGroupName(group_name)`
声明:function
@@ -771,7 +771,7 @@ Return Obj.configGet('总组数'); //5
返回:array
### `getGroupNameByGType(g_type)`
### `GetGroupNameByGType(g_type)`
声明:function
@@ -787,7 +787,7 @@ Return Obj.configGet('总组数'); //5
返回:string
### `getDaysInOneYear(cycle)`
### `GetDaysInOneYear(cycle)`
声明:function
@@ -803,7 +803,7 @@ Return Obj.configGet('总组数'); //5
返回:real
### `getFdaysIn1y(begt, endt, rt_type)`
### `GetFdaysIn1y(begt, endt, rt_type)`
声明:function
@@ -843,7 +843,7 @@ obj := new tsf_factorExtindicator_test();
'组成分详情':obj.getgroupstocks(20260331T,1));
```
### `tsfAdapterfun_mulfactor2Extindicator(obj_ts_multi_factor, if_cache)`
### `TsfAdapterfun_mulfactor2Extindicator(obj_ts_multi_factor, if_cache)`
声明:function
@@ -855,7 +855,7 @@ obj := new tsf_factorExtindicator_test();
| 参数 | 类型 | 说明 |
| --------------------- | ---------- | -------------------------------------------------- |
| `obj_ts_multi_factor` | tsl_object | 已完成回测的 TSMultiFactor 框架对象 |
| `obj_ts_multi_factor` | tsl_object | 已完成回测的 tsMultiFactor 框架对象 |
| `if_cache` | boolean | 是否预缓存中间指标数据:1 预缓存;0 不缓存(默认) |
返回:tsl_object