feat(tsl-api-reference): expand API and module coverage

This commit is contained in:
csh
2026-08-14 17:12:55 +08:00
parent 8f1056130d
commit 3d3036ebe1
571 changed files with 47842 additions and 14458 deletions
@@ -73,6 +73,25 @@ return v;
// 输出:-5.34
```
## `stockPCF3_v()`
声明:function
计算当前时点的市现率,公式为当前总市值除以最近 12 个月经营活动产生的现金流量净额
<!-- tags: 金融 股票 综合指标 PCF 市现率 最近十二个月 现金流 -->
返回:real
### 示例
范例01:计算万科 A 的最近 12 个月市现率
```tsl
setSysParam(pn_stock(), "SZ000002");
return stockPCF3_v();
```
## `stockPCF_ii(end_t)`
声明:function
@@ -102,6 +121,31 @@ return StockPCF_II(20180822T);
// 输出:69.6581
```
## `stockPCF_iii(end_t, r_date)`
声明:function
计算指定日基于指定报告期经营活动现金流量净额的加权市现率
<!-- tags: 金融 股票 综合指标 PCF 市现率 指定报告期 经营现金流 加权 -->
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------ |
| `end_t` | datetime | 计算市现率的截止日 |
| `r_date` | integer | 财务报告期 |
返回:real
### 示例
范例01:计算万科 A 在指定日基于 2011 年报的加权市现率
```tsl
setSysParam(pn_stock(), "SZ000002");
return stockPCF_iii(20120830T, 20111231);
// 输出:25.919364
```
## `stockPCF_v(end_t)`
声明:function