📝 docs(tsl): sync api skill with corrected codegen

Mirror docs/tsl/codegen into the bundled tsl-api-reference skill and rebuild the function index.

Remove invalid duplicate API entries for cb_delistedbydate, createhttpsession, exportJsonString, and Anova_Bartlett so exact lookup returns the canonical entries.
This commit is contained in:
csh
2026-07-07 16:47:03 +08:00
parent bbf6977f57
commit c0bf0358e0
278 changed files with 45212 additions and 35782 deletions
@@ -1,6 +1,6 @@
# 股票 / 区间
### `bkHsgValueN(field, beg_t, end_t, _type)`
## `BK_HSGValueN(field, beg_t, end_t, _type)`
通道区间的相关数据的抽象函数,与系统参数(通道代码)相关。南向港股通交易单位为港币,北向沪深股通交易单位为元。如果返回0,说明区间通道无交易或无相关数据的交易。
@@ -9,11 +9,11 @@
| `field` | string | 字符串。列名 |
| `beg_t` | datetime | 日期。开始日期 |
| `end_t` | datetime | 日期。截止日期 |
| `_type` | any | 整数。计算类型,取值如下: |
| `_type` | any | 整数。计算类型,取值如下: |
返回:float
### `getRepurchaseVol(stock_id, beg_t, end_t, rtype, stype, ctype, ex_rate)`
## `getRepurchaseVol(stock_id, beg_t, end_t, rtype, stype, ctype, ex_rate)`
获得区间内累计回购数量、金额、占比
@@ -29,7 +29,7 @@
返回:float
### `stocktbdeleterepeatdata(t)`
## `stocktbdeleterepeatdata(t)`
删除日重复数据
@@ -39,7 +39,7 @@
返回:array
### `stocktbgetinfo(stockarr, begt, endt, ydtype, direction)`
## `stocktbgetinfo(stockarr, begt, endt, ydtype, direction)`
区间内指定异动类型与交易方向的交易公开信息报表,与系统参数(证券)相关.
@@ -53,7 +53,7 @@
返回:array
### `stocktbgetinfoyddata(ydtype)`
## `stocktbgetinfoyddata(ydtype)`
获取公开交易数据异动类型信息
@@ -63,7 +63,7 @@
返回:array
### `stocktbsectionamount(t)`
## `stocktbsectionamount(t)`
公开交易信息区间成交金额
@@ -73,7 +73,7 @@
返回:float
### `stocktbsectiondate(t)`
## `stocktbsectiondate(t)`
区间内交易公开信息涉及到的异常日期(证券)相关.