Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/futures/deliverable_bond.md
T
csh c0bf0358e0 📝 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.
2026-07-07 16:47:03 +08:00

1.2 KiB

期货 / 国债期货可交割债券

futuresConverFactor(bond_id)

指定国债的转换因子,与系统参数(证券)相关。如果返回0,说明不是可交割债券期货。

参数 类型 说明
bond_id string 字符串。债券代码

返回:float

示例

SetSysParam(PN_Stock(),'TF2403');
return FuturesConverFactor("BK210007");

futuresDeliverBondValue(bond_id)

国债期货的指定可交割债券的数据,与系统参数(证券)相关。如果返回array(),说明无相关数据。

参数 类型 说明
bond_id string 字符串。债券代码

返回:array

示例

SetSysParam(PN_Stock(),'TF2403');
return FuturesDeliverBondValue("BK210007");

futuresIsDeliverBond(bond_id)

当前国债是否可交割债券,与系统参数(证券)相关。

参数 类型 说明
bond_id string 字符串。债券代码

返回:int

示例

SetSysParam(PN_Stock(),'TF2403');
return FuturesIsDeliverBond("BK210007");