Files
playbook/docs/tsl/codegen/dotnet/indices/valuation.md
T
csh b6160676b4 ♻️ refactor(tsl): rebuild codegen taxonomy
Move generated builtin and dotnet function docs into the upgraded taxonomy, remove legacy route pages, and regenerate function_index.tsv from markdown headings.
2026-07-07 16:36:08 +08:00

7.0 KiB

指数 / 估值指标

indexCallDp(right_type, sample_select, criterion, r_date_type)

实时计算指数股息率DP(%),与系统证券、时间相关。

参数 类型 说明
right_type any 加权方式,整型,取值如下
sample_select any 样本股选择,具体取值如下:
criterion float 实数,绩差股标准,和参数SampleSelect结合使用。
r_date_type any 整型,报告期类型,具体取值如下:

返回:array

indexCallPb(right_type, sample_select, criterion, r_date_type)

实时计算指数市净率PB,与系统证券、时间相关。

参数 类型 说明
right_type any 加权方式,整型,取值如下
sample_select any 样本股选择,具体取值如下:
criterion float 实数,绩差股标准,和参数SampleSelect结合使用。
r_date_type any 整型,报告期类型,具体取值如下:

返回:array

indexCallPcf(right_type, sample_select, criterion, r_date_type)

实时计算指数市现率PCF,与系统证券、时间相关。

参数 类型 说明
right_type any 加权方式,整型,取值如下
sample_select any 样本股选择,具体取值如下:
criterion float 实数,绩差股标准,和参数SampleSelect结合使用。
r_date_type any 整型,报告期类型,具体取值如下:

返回:array

indexCallPe(right_type, sample_select, criterion, r_date_type)

实时计算指数市盈率PE,与系统证券、时间相关。

参数 类型 说明
right_type any 加权方式,整型,取值如下
sample_select any 样本股选择,具体取值如下:
criterion float 实数,绩差股标准,和参数SampleSelect结合使用。
r_date_type any 整型,报告期类型,具体取值如下:

返回:array

indexCallPsr(right_type, sample_select, criterion, r_date_type)

实时计算指数市销率PSR,与系统证券、时间相关。

参数 类型 说明
right_type any 加权方式,整型,取值如下
sample_select any 样本股选择,具体取值如下:
criterion float 实数,绩差股标准,和参数SampleSelect结合使用。
r_date_type any 整型,报告期类型,具体取值如下:

返回:array

indexPb2(right_type, sample_select)

指定日市净率(最新年报),与系统参数(证券代码,时间)相关。

参数 类型 说明
right_type any 用户自定义。加权方式,取值如下:
sample_select any 用户自定义。样本股选择,取值如下:

返回:float

indexPcf(right_type, sample_select)

提取指定日的指数市现率,与系统参数(证券代码,时间)相关。

参数 类型 说明
right_type any 加权方式,0为总股本加权,1为中位数
sample_select any 样本股选择,0为全部样本股,1为剔除亏损

返回:any

indexPcf2(right_type, sample_select)

指定日市现率(最新年报),与系统参数(证券代码,时间)相关。

参数 类型 说明
right_type any 用户自定义。加权方式,取值如下:
sample_select any 用户自定义。样本股选择,取值如下:

返回:float

indexPe(right_type, sample_select)

提取指定日的指数市盈率,与系统参数(证券代码,时间)相关。

参数 类型 说明
right_type any 加权方式,0为总股本加权,1为中位数
sample_select any 样本股选择,0为全部样本股,1为剔除亏损

返回:float

indexPe2(right_type, sample_select)

指定日市盈率(最新年报),与系统参数(证券代码,时间)相关。

参数 类型 说明
right_type any 用户自定义。加权方式,取值如下:
sample_select any 用户自定义。样本股选择,取值如下:

返回:float

indexPsr(right_type, sample_select)

提取指定日的指数市销率,与系统参数(证券代码,时间)相关。

参数 类型 说明
right_type any 加权方式,0为总股本加权,1为中位数
sample_select any 样本股选择,0为全部样本股,1为剔除亏损

返回:any

indexPsr2(right_type, sample_select)

指定日市销率(最新年报),与系统参数(证券代码,时间)相关。

参数 类型 说明
right_type any 用户自定义。加权方式,取值如下:
sample_select any 用户自定义。样本股选择,取值如下:

返回:float

indexValFirstday()

指数估值衍生开始日,与系统参数(证券代码)相关。

返回:float

indexValLastUpday()

指数估值衍生实际计算日期,与系统参数(证券代码)相关。

返回:float|datetime

indexValue(right_type, sample_select, index_type)

指数估值中间函数,与系统参数(证券代码,时间)相关。

参数 类型 说明
right_type any 用户自定义。取值如下:
sample_select any 用户自定义。取值如下:
index_type any 用户自定义。取值如下:

返回:float