📝 docs(tsl): complete and lint codegen reference
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 指数 / 财务指标
|
||||
|
||||
### `indexCallFinancialItemPs(right_type, sample_select, criterion, value_type, r_date_type)`
|
||||
## `Index_CallFinancialItemPS(right_type, sample_select, criterion, value_type, r_date_type)`
|
||||
|
||||
计算指数每股财务指标,与系统证券、时间相关。
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
返回:float
|
||||
|
||||
### `indexCallFinancialRatio(right_type, sample_select, criterion, value_type, r_date_type)`
|
||||
## `Index_CallFinancialRatio(right_type, sample_select, criterion, value_type, r_date_type)`
|
||||
|
||||
计算指数财务比率,与系统证券、时间相关。 其结果与参数ValueType和RightType有关。 例如:当ValueType = 0时,取得指标是板块的流动比率 1)加权(RightType=0)时,其值为(板块个股的流动资产简单加总和的平均值 /板块个股的流动负债的简单加总和的平均值)\*100%; 2)算术平均时(RightType=1),其值为(流动资产/板块个股的流动负债)\*100%,然后再对板块内个股的流动比率之和求平均。 3)整体权重加权(RightType=11)时,其值为本期(板块个股的权重\*板块个股的流动资产)/(板块个股的权重\*板块个股的流动负债)\*100%; 4)调和平均数权重加权(RightType=12)时,其值为本期(1/板块个股的权重/(板块个股的流动资产/板块个股的流动负债))\*100%; 5)直接法权重加权(RightType=13)时,其值为本期(板块个股的权重\*(板块个股的流动资产/板块个股的流动负债))\*100%;
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
返回:float
|
||||
|
||||
### `indexCallRoe(right_type, sample_select, criterion, r_date_type)`
|
||||
## `Index_CallROE(right_type, sample_select, criterion, r_date_type)`
|
||||
|
||||
计算指数ROE(%),与系统证券、时间相关。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user