📦 deps(tsl): sync tsl-playbook from a71480a4

Source-Commit: a71480a4ae
This commit is contained in:
ci[bot]
2026-08-12 08:38:08 +08:00
parent 683f83d17c
commit 670ba950a6
1496 changed files with 292667 additions and 220122 deletions
@@ -0,0 +1,81 @@
# 金融 / 期货 / 期货手续费
## `futuresfeeamount(endt, feeamounttype)`
声明:function
获取指定日期货合约手续费(元/手),与系统参数(期货合约代码)相关
<!-- tags: 金融 期货 期货手续费 获取 查询 -->
| 参数 | 类型 | 说明 |
| --------------- | --------- | ---------- |
| `endt` | datetime | 指定日, |
| `feeamounttype` | usrdefine | 手续费类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "cu1404");
return FuturesFeeAmount(inttodate(20140328), 0);
```
## `futuresfeerate(endt, feeratetype)`
声明:function
获取指定日期货合约手续费(交易额万分之),与系统参数(期货合约代码)相关
<!-- tags: 金融 期货 期货手续费 获取 查询 -->
| 参数 | 类型 | 说明 |
| ------------- | --------- | ---------- |
| `endt` | datetime | 指定日, |
| `feeratetype` | usrdefine | 手续费类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "cu1404");
return FuturesFeeRate(inttodate(20140328), 0);
```
## `futuresspfeecost(endt, feetype, amount, vol)`
声明:function
返回期货手续费单位,与系统参数(期货合约代码)相关
<!-- tags: 金融 期货 期货手续费 返回 获取 -->
| 参数 | 类型 | 说明 |
| --------- | --------- | --------------------- |
| `endt` | date | date,指定日 |
| `feetype` | usrdefine | usrdefine,手续费类型 |
| `amount` | number | number,资金总额(元) |
| `vol` | integer | integer,资金总量(手) |
返回:real
## `futuresspfeeunit(endt, feetype)`
声明:function
返回期货手续费单位,与系统参数(期货合约代码)相关
<!-- tags: 金融 期货 期货手续费 返回 获取 -->
| 参数 | 类型 | 说明 |
| --------- | --------- | -------------------- |
| `endt` | datetime | date,指定日 |
| `feetype` | usrdefine | usrdefine,手续费类型 |
返回:string