2.2 KiB
2.2 KiB
金融函数 - 指数 / 估值走势和百分位
函数
tsflIndexValuePctSeries(index_id, begt, endt, cycle, n, right_type, sample_select, types, r_date_type, grid_no)
研究指数PE/PB/PCF/PMI(最近12个月)序列、估值百分位与指数走势之间的关系。
| 参数 | 类型 | 说明 |
|---|---|---|
index_id |
string | 字符串。指数代码 |
begt |
datetime | 日期。开始日 |
endt |
datetime | 日期。截止日 |
cycle |
any | 用户自定义。周期,取值如下: |
n |
any | 整数。过去N个交易日 |
right_type |
any | 用户自定义。加权方式,取值如下: |
sample_select |
any | 用户自定义。样本股选择,取值如下: |
types |
any | 用户自定义。类型,取值如下: |
r_date_type |
any | 用户自定义。报告期类型,取值如下: |
grid_no |
any | 整数。网格数 |
返回:array
getIndexValuePct(index_id, begt, endt, cycle, right_type, sample_select, types, r_date_type, grid_no)
指定日指数PE/PB/PCF/PMI(最近12个月)估值百分位。
| 参数 | 类型 | 说明 |
|---|---|---|
index_id |
string | 字符串。指数代码 |
begt |
datetime | 日期。开始日 |
endt |
datetime | 日期。截止日 |
cycle |
any | 用户自定义。周期,取值如下: |
right_type |
any | 用户自定义。加权方式,取值如下: |
sample_select |
any | 用户自定义。样本股选择,取值如下: |
types |
any | 用户自定义。类型,取值如下: |
r_date_type |
any | 用户自定义。报告期类型,取值如下: |
grid_no |
any | 整数。网格数 |
返回:float