# 金融 / 期货 / 期货代码 / 指定日 ## `futuresGetJYSCode(futures_id)` 声明:function 返回天软期货代码转换为交易所代码 | 参数 | 类型 | 说明 | | ------------ | ------ | ----------------- | | `futures_id` | string | 证券,期货合约代码 | 返回:string ### 示例 范例01:返回:AP103 ```tsl 转换AP2103为交易所代码AP103 return FuturesGetJYSCode("AP2103"); // 输出:AP103 ``` ## `futuresGetTsCode(futures_id)` 声明:function 返回交易所代码转换为天软期货代码 | 参数 | 类型 | 说明 | | ------------ | ------ | ----------------- | | `futures_id` | string | 证券,期货合约代码 | 返回:string ### 示例 范例01:返回:AP2103 ```tsl AP103转换为天软期货代码 return FuturesGetTSCode("AP103"); // 输出:AP2103 ```