✨ 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.
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
# 金融 / 股票 / 综合指标 / PEG
|
||||
|
||||
## `stockPeG_iii(end_t, n, data_type)`
|
||||
|
||||
声明:function
|
||||
|
||||
指定日PEG(最近12个月加权),与当前股票pn_stock(),当前时间pn_date()相关
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ----------- | -------- | ---------------------------- |
|
||||
| `end_t` | datetime | 日期类型,截止日期; |
|
||||
| `n` | integer | 用户自定义类型,增长率标准; |
|
||||
| `data_type` | integer | 整数类型,类型; |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:SZ300296 利亚德以前年为增长率标准,2018年8月22日的PEG(最近12个月加权)
|
||||
|
||||
```tsl
|
||||
// SZ300296 利亚德以前年为增长率标准,2018年8月22日的PEG(最近12个月加权)。
|
||||
|
||||
setsysparam(pn_stock(), "SZ300296");
|
||||
|
||||
setsysparam(pn_date(), 20181011T);
|
||||
|
||||
return StockPEG_III(20180822T, 2, 0);
|
||||
// 输出:9.52957
|
||||
```
|
||||
Reference in New Issue
Block a user