📝 docs(tsl): sync api skill with corrected codegen

Mirror docs/tsl/codegen into the bundled tsl-api-reference skill and rebuild the function index.

Remove invalid duplicate API entries for cb_delistedbydate, createhttpsession, exportJsonString, and Anova_Bartlett so exact lookup returns the canonical entries.
This commit is contained in:
csh
2026-07-07 16:47:03 +08:00
parent bbf6977f57
commit c0bf0358e0
278 changed files with 45212 additions and 35782 deletions
@@ -1,6 +1,6 @@
# 期货 / 期货手续费
### `futuresfeeamount(endt, feeamounttype)`
## `futuresfeeamount(endt, feeamounttype)`
获得指定日期货合约手续费(元/手),与系统参数(期货合约代码)相关
@@ -11,14 +11,14 @@
返回:float
#### 示例
### 示例
```tsl
setsysparam(pn_stock(),"cu1404");
return FuturesFeeAmount(inttodate(20140328),0);
```
### `futuresfeerate(endt, feeratetype)`
## `futuresfeerate(endt, feeratetype)`
获得指定日期货合约手续费(交易额万分之),与系统参数(期货合约代码)相关
@@ -29,14 +29,14 @@ return FuturesFeeAmount(inttodate(20140328),0);
返回:float
#### 示例
### 示例
```tsl
setsysparam(pn_stock(),"cu1404");
return FuturesFeeRate(inttodate(20140328),0);
```
### `futuresspfeeunit(endt, feetype)`
## `futuresspfeeunit(endt, feetype)`
期货手续费单位,与系统参数(期货合约代码)相关
@@ -47,15 +47,15 @@ return FuturesFeeRate(inttodate(20140328),0);
返回:string
### `futuresspfeecost(endt, feetype, amount, vol)`
## `futuresspfeecost(endt, feetype, amount, vol)`
期货手续费单位,与系统参数(期货合约代码)相关
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `endt` | date | date,指定日 |
| `feetype` | usrdefine | usrdefine,手续费类型 |
| `amount` | number | number,资金总额(元) |
| `vol` | integer | integer,资金总量(手) |
| 参数 | 类型 | 说明 |
| --------- | --------- | --------------------- |
| `endt` | date | date,指定日 |
| `feetype` | usrdefine | usrdefine,手续费类型 |
| `amount` | number | number,资金总额(元) |
| `vol` | integer | integer,资金总量(手) |
返回:real