📝 docs(tsl): add generated codegen reference

This commit is contained in:
csh
2026-07-07 16:34:27 +08:00
parent 014c23d386
commit 7046f0b60e
632 changed files with 160584 additions and 0 deletions
@@ -0,0 +1,25 @@
# 金融函数 - 期货 / 期货保证金
## 函数
### `futuresTradingMarginRate(end_t, margin_rate_type)`
期货交易保证金率(%),取自期货结算参数(表704)中小于或等于EndT-1的最后一条数据,与系统证券pn_stock()有关。
| 参数 | 类型 | 说明 |
| ------------------ | -------- | ------------------ |
| `end_t` | datetime | 日期,截止日 |
| `margin_rate_type` | any | 整数,保证金率类型 |
返回:float
### `futuresMaintenanceMarginRate(end_t, margin_rate_type)`
期货结算保证金率(%),取自期货结算参数(表704)中小于或等于EndT的最后一条数据,与系统证券pn_stock()有关。
| 参数 | 类型 | 说明 |
| ------------------ | -------- | ------------------ |
| `end_t` | datetime | 日期,截止日 |
| `margin_rate_type` | any | 整数,保证金率类型 |
返回:float