Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/financial/futures-futures_code-specified_date.md
T

1.1 KiB

金融 / 期货 / 期货代码 / 指定日

futuresGetJYSCode(futures_id)

声明:function

返回天软期货代码转换为交易所代码

参数 类型 说明
futures_id string 证券,期货合约代码

返回:string

示例

范例01:返回:AP103

转换AP2103为交易所代码AP103

return FuturesGetJYSCode("AP2103");
// 输出:AP103

futuresGetTsCode(futures_id)

声明:function

返回交易所代码转换为天软期货代码

参数 类型 说明
futures_id string 证券,期货合约代码

返回:string

示例

范例01:返回:AP2103

AP103转换为天软期货代码

return FuturesGetTSCode("AP103");
// 输出:AP2103