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
@@ -161,6 +161,31 @@ return v;
// 输出:11.79
```
## `stockPe_iii(end_t, r_date)`
声明:function
计算指定日基于指定报告期净利润的加权市盈率
<!-- tags: 金融 股票 综合指标 PE 市盈率 指定报告期 净利润 加权 -->
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------ |
| `end_t` | datetime | 计算市盈率的截止日 |
| `r_date` | integer | 财务报告期 |
返回:real
### 示例
范例01:计算万科 A 在指定日基于 2011 年报的加权市盈率
```tsl
setSysParam(pn_stock(), "SZ000002");
return stockPe_iii(20120830T, 20111231);
// 输出:9.127571
```
## `stockPe_ipo1()`
声明:function