✨ 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:
+22
@@ -0,0 +1,22 @@
|
||||
# 金融 / 股票 / 综合指标
|
||||
|
||||
## `financialConstraint(report_date)`
|
||||
|
||||
声明:function
|
||||
|
||||
融资约束(专用函数),与当前股票pn_stock(),当前时间pn_date()相关。 如果t年的每股股利高于t-1年的每股股利,那么融资约束是1, 如果不变,融资约束是0,如果减少,融资约束是-1
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------- | -------- | -------------------- |
|
||||
| `report_date` | datetime | 报告期类型,报告期; |
|
||||
|
||||
返回:int
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:调用函数
|
||||
|
||||
```tsl
|
||||
setsysparam(pn_stock(), "SZ300296");
|
||||
return FinancialConstraint(20171231);
|
||||
```
|
||||
Reference in New Issue
Block a user