Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/financial/index-valuation_trend_percentile-intermediate.md
T
csh 9010829c6d feat(tsl-api-reference): expand and reorganize api catalog
Flatten builtin pages, add third-party and platform scopes, and import financial and data warehouse references.

Keep the existing generated index without rebuilding after signature normalization.
2026-08-10 18:26:24 +08:00

2.5 KiB

金融 / 指数 / 估值走势和百分位 / 中间函数

index_pePbPmipna12_call_dbFirst(end_t, right_type, s_type, sample_select, criterion, type, r_date_type)

声明:function

指数PE/PB/PCF/PMI(最近12个月)

参数 类型 说明
end_t datetime 日期。截止日期
right_type integer 用户自定义。加权方式,取值如下:
s_type integer 用户自定义。股票类型,取值如下:
sample_select integer 用户自定义。样本股选择,取值如下:
criterion float 实数。绩差股标准
type integer 用户自定义。类型,取值如下:
r_date_type integer 用户自定义。报告期类型,取值如下:

返回:float

valuePCTSeriesFrame(index_id, begt, endt, cycle, n, val_fun, field, grid_no, if_close)

声明:function

计算区间估值百分位序列

参数 类型 说明
index_id string 字符串。指数代码
begt datetime 日期。开始日
endt datetime 日期。截止日
cycle integer 用户自定义。周期,取值如下:
n integer 整数。前移N个数据百分位
val_fun string 字符串。估值计算公式
field string 字符串。估值指标名称
grid_no integer 整数。网格数
if_close integer 整数。是否添加行情数据

返回:array

valueSeriesFrame(index_id, begt, endt, cycle, val_fun, field, grid_no)

声明:function

计算区间估值序列

参数 类型 说明
index_id string 字符串。指数代码
begt datetime 日期。开始日
endt datetime 日期。截止日
cycle int 用户自定义。周期,取值如下:
val_fun string 字符串。估值计算公式
field string 字符串。估值指标名称
grid_no int 整数。网格数

返回:array