📝 docs(tsl): add generated codegen reference

This commit is contained in:
csh
2026-07-07 16:34:27 +08:00
parent 014c23d386
commit 7046f0b60e
632 changed files with 160584 additions and 0 deletions
@@ -0,0 +1,45 @@
# 金融函数 - 外汇 / 汇率
## 函数
### `forExrateMidPrice(endt)`
指定日汇率中间价,与系统参数(外汇代码)相关。
| 参数 | 类型 | 说明 |
| ------ | -------- | ------------------ |
| `endt` | datetime | 日期类型,截止日期 |
返回:float
### `forExrateMidPriceBegTEndT(begt, endt)`
区间汇率数据,与系统参数(外汇代码)相关。
| 参数 | 类型 | 说明 |
| ------ | -------- | ------------------ |
| `begt` | datetime | 日期类型,开始日期 |
| `endt` | datetime | 日期类型,截止日期 |
返回:array
### `getCurrencyCodeBySecurityCode(stockid)`
根据证券代码得到其币种代码。目前对照包括上交所、深交所、联交所股票。
| 参数 | 类型 | 说明 |
| --------- | ------ | ---------------- |
| `stockid` | string | 字符串,证券代码 |
返回:string|float
### `forExRateZf(begt, endt)`
获取汇率区间收益率,与系统参数(外汇代码)相关。
| 参数 | 类型 | 说明 |
| ------ | -------- | ------------------ |
| `begt` | datetime | 日期类型,开始日期 |
| `endt` | datetime | 日期类型,截止日期 |
返回:float