📝 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,173 @@
# 金融函数 - 股票 / 股份回购
## 函数
### `stockRepurchaseRDate(end_t)`
获得指定日前最近一次回购的公布日,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:any
### `stockRepurchaseFDate(end_t)`
获得指定日前最近一次回购的首次信息公布日,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:any
### `stockRepurchaseStockType(end_t)`
获得指定日前最近回购股票种类,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:string
### `stockRepurchaseVol(end_t)`
获得指定日前最近累计回购数量,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `stockRepurchaseAmount(end_t)`
获得指定日前最近累计回购金额,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `stockRepurchaseAveragePrice(end_t)`
获得指定日前最近累计回购均价,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `stockRepurchasePremium(end_t)`
获得指定日前最近累计回购折益率(%)=(最近累计回购均价/最近回购日期收盘价-1)\*100 系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `stockRepurchaseHighPrice(end_t)`
获得指定日前最近累计回购最高价,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `stockRepurchaseLowPrice(end_t)`
获得指定日前最近累计回购最低价,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `stockRepurchaseIsFinished(end_t)`
获得指定日前最近累计回购方案是否结束,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:bool
### `stockRepurchaseVolRate(end_t)`
获得指定日前最近累计回购数量占总股本(%)=最近累计回购数量/首次信息公布日总股本\*100% 系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `stockRepurchaseVolRateB(end_t)`
获得指定日前最近累计回购数量占B股(%)=最近累计回购数量/首次信息公布日B股总股本\*100% 系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `stockRepurchaseVolRateH(end_t)`
获得指定日前最近累计回购数量占H股(%)最近累计回购数量/首次信息公布日H股总股本\*100% 系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:float
### `stockRepurchaseDaysBetweenFrist(end_t)`
获得指定日前最近回购日距首次信息公布日天数,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:any
### `stockRepurchaseEndT(end_t)`
获得指定日前最近回购方案结束日期,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:datetime
### `stockRepurchaseBuyType(end_t)`
获得指定日前最近回购类型,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:string
### `stockRepurchaseDate(end_t)`
获得指定日前最近回购日期,系统参数:证券代码
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------- |
| `end_t` | datetime | 日期,截止日期 |
返回:datetime