📝 docs(tsl): complete and lint codegen reference

This commit is contained in:
csh
2026-07-07 16:46:51 +08:00
parent 16e0992dd2
commit bbf6977f57
232 changed files with 39191 additions and 29763 deletions
@@ -1,6 +1,6 @@
# 期货 / 国债期货可交割债券
### `futuresConverFactor(bond_id)`
## `futuresConverFactor(bond_id)`
指定国债的转换因子,与系统参数(证券)相关。如果返回0,说明不是可交割债券期货。
@@ -10,14 +10,14 @@
返回:float
#### 示例
### 示例
```tsl
SetSysParam(PN_Stock(),'TF2403');
return FuturesConverFactor("BK210007");
```
### `futuresDeliverBondValue(bond_id)`
## `futuresDeliverBondValue(bond_id)`
国债期货的指定可交割债券的数据,与系统参数(证券)相关。如果返回array(),说明无相关数据。
@@ -27,14 +27,14 @@ return FuturesConverFactor("BK210007");
返回:array
#### 示例
### 示例
```tsl
SetSysParam(PN_Stock(),'TF2403');
return FuturesDeliverBondValue("BK210007");
```
### `futuresIsDeliverBond(bond_id)`
## `futuresIsDeliverBond(bond_id)`
当前国债是否可交割债券,与系统参数(证券)相关。
@@ -44,7 +44,7 @@ return FuturesDeliverBondValue("BK210007");
返回:int
#### 示例
### 示例
```tsl
SetSysParam(PN_Stock(),'TF2403');