✨ feat(tsl-api-reference): expand and reorganize api catalog
Flatten builtin pages, add third-party and platform scopes, and import financial and data warehouse references. Keep the existing generated index without rebuilding after signature normalization.
This commit is contained in:
+47
@@ -0,0 +1,47 @@
|
||||
# 金融 / 期货 / 期货代码 / 指定日
|
||||
|
||||
## `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
|
||||
```
|
||||
Reference in New Issue
Block a user