feat(tsl-api-reference): index class and unit APIs

Migrate reference pages to declaration-line storage and rebuild the
13-column index.

Add qualified member lookup plus regression and end-to-end coverage.
This commit is contained in:
csh
2026-07-29 15:47:46 +08:00
parent 9edc8fc868
commit 13be5ea0aa
239 changed files with 39157 additions and 12846 deletions
@@ -2,6 +2,8 @@
## `stocksDtBreakRatio(stock_arr, end_t)`
声明:function
翘板率(%)。
| 参数 | 类型 | 说明 |
@@ -13,6 +15,8 @@
## `stocksDtCount(stock_arr, end_t)`
声明:function
跌停个数。
| 参数 | 类型 | 说明 |
@@ -24,6 +28,8 @@
## `stocksDtList(stock_arr, end_t)`
声明:function
跌停股票列表。
| 参数 | 类型 | 说明 |
@@ -35,6 +41,8 @@
## `stocksFanBaoBanCount(stock_arr, end_t)`
声明:function
反包板股票个数。
| 参数 | 类型 | 说明 |
@@ -46,6 +54,8 @@
## `stocksFanBaoBanList(stock_arr, end_t)`
声明:function
反包板股票列表。
| 参数 | 类型 | 说明 |
@@ -57,6 +67,8 @@
## `stocksFirstBanInWeekCount(stock_arr, end_t)`
声明:function
周期首板股票个数。
| 参数 | 类型 | 说明 |
@@ -68,6 +80,8 @@
## `stocksFirstBanInWeekList(stock_arr, end_t)`
声明:function
周期首板股票列表。
| 参数 | 类型 | 说明 |
@@ -79,6 +93,8 @@
## `stocksIsTradeDay(stock_arr, end_t)`
声明:function
剔除指定日非交易日的股票。
| 参数 | 类型 | 说明 |
@@ -90,6 +106,8 @@
## `stocksLBanStockLists(stock_arr, end_t)`
声明:function
连板股票列表:统计EndT涨停股票的连板次数>=2的股票。
| 参数 | 类型 | 说明 |
@@ -101,6 +119,8 @@
## `stocksOpenAuctionZtRatio(stock_arr, end_t)`
声明:function
竞价异动比。
| 参数 | 类型 | 说明 |
@@ -112,6 +132,8 @@
## `stocksStOrXgCheck(stock_arr, end_t, doption)`
声明:function
剔除ST股或者新股。
| 参数 | 类型 | 说明 |
@@ -124,6 +146,8 @@
## `stocksTBanCount(stock_arr, end_t)`
声明:function
T板股票个数。
| 参数 | 类型 | 说明 |
@@ -135,6 +159,8 @@ T板股票个数。
## `stocksTBanList(stock_arr, end_t)`
声明:function
T板股票列表。
| 参数 | 类型 | 说明 |
@@ -146,6 +172,8 @@ T板股票列表。
## `stockStOrXgCheck(stock_id, end_t, doption)`
声明:function
是否是新股或者ST股,首先会剔除未上市的股票。
| 参数 | 类型 | 说明 |
@@ -158,6 +186,8 @@ T板股票列表。
## `stocksYiZiBanCount(stock_arr, end_t)`
声明:function
一字板股票个数。
| 参数 | 类型 | 说明 |
@@ -169,6 +199,8 @@ T板股票列表。
## `stocksYiZiBanList(stock_arr, end_t)`
声明:function
一字板股票列表。
| 参数 | 类型 | 说明 |
@@ -180,6 +212,8 @@ T板股票列表。
## `stocksZt2LbRatio(stock_arr, end_t)`
声明:function
一进二连板率(%)。
| 参数 | 类型 | 说明 |
@@ -191,6 +225,8 @@ T板股票列表。
## `stocksZt3LbRatio(stock_arr, end_t)`
声明:function
二进三连板率(%)。
| 参数 | 类型 | 说明 |
@@ -202,6 +238,8 @@ T板股票列表。
## `stocksZtAmount(stock_arr, end_t)`
声明:function
涨停成交金额(亿)。
| 参数 | 类型 | 说明 |
@@ -213,6 +251,8 @@ T板股票列表。
## `stocksZtAvgMaxDf(stock_arr, end_t)`
声明:function
最大跌幅(%)。
| 参数 | 类型 | 说明 |
@@ -224,6 +264,8 @@ T板股票列表。
## `stocksZtAvgMaxZf(stock_arr, end_t)`
声明:function
最大涨幅(%)。
| 参数 | 类型 | 说明 |
@@ -235,6 +277,8 @@ T板股票列表。
## `stocksZtAvgOpenZf(stock_arr, end_t)`
声明:function
开盘涨幅(%)。
| 参数 | 类型 | 说明 |
@@ -246,6 +290,8 @@ T板股票列表。
## `stocksZtAvgZf(stock_arr, end_t)`
声明:function
涨幅(%)。
| 参数 | 类型 | 说明 |
@@ -257,6 +303,8 @@ T板股票列表。
## `stocksZtBreakCount(stock_arr, end_t)`
声明:function
开板数,涨停打开过的股票数量统计。
| 参数 | 类型 | 说明 |
@@ -268,6 +316,8 @@ T板股票列表。
## `stocksZtCount(stock_arr, end_t)`
声明:function
涨停个数。
| 参数 | 类型 | 说明 |
@@ -279,6 +329,8 @@ T板股票列表。
## `stocksZtCountType(stock_arr, end_t, d_type)`
声明:function
指定封板类型的股票个数。 秒板:封板时间在09:30~9:31且之后未开板的股票数量统计 分板:封板时间在09:31~9:40且之后未开板的股票数量统计 3)10点前:封板时间在09:40~10:00且之后未开板的股票数量统计 4)10:00~11:30:封板时间在10:00~11:30且之后未开板的股票数量统计 5)13:00~14:00:封板时间在13:00~14:00且之后未开板的股票数量统计 6)14:00~15:00:封板时间在14:00~15:00且之后未开板的股票个数
| 参数 | 类型 | 说明 |
@@ -291,6 +343,8 @@ T板股票列表。
## `stocksZtHitLimitRatio(stock_arr, end_t)`
声明:function
封板率(%)。
| 参数 | 类型 | 说明 |
@@ -302,6 +356,8 @@ T板股票列表。
## `stocksZtIn3HourCount(stock_arr, end_t)`
声明:function
13:00~14:00封板个数,封板时间在13:00~14:00且之后未开板的股票数量统计。
| 参数 | 类型 | 说明 |
@@ -313,6 +369,8 @@ T板股票列表。
## `stocksZtIn4HourCount(stock_arr, end_t)`
声明:function
14:00~15:00封板个数,封板时间在14:00~15:00且之后未开板的股票数量统计。
| 参数 | 类型 | 说明 |
@@ -324,6 +382,8 @@ T板股票列表。
## `stocksZtInHalfHourCount(stock_arr, end_t)`
声明:function
10点前封板个数,封板时间在09:40~10:00且之后未开板的股票数量统计。
| 参数 | 类型 | 说明 |
@@ -335,6 +395,8 @@ T板股票列表。
## `stocksZtInMinCount(stock_arr, end_t)`
声明:function
分板个数,封板时间在09:31~9:40且之后未开板的股票数量统计。
| 参数 | 类型 | 说明 |
@@ -346,6 +408,8 @@ T板股票列表。
## `stocksZtInOpenCount(stock_arr, end_t)`
声明:function
开盘涨停个数。
| 参数 | 类型 | 说明 |
@@ -357,6 +421,8 @@ T板股票列表。
## `stocksZtInOpenList(stock_arr, end_t)`
声明:function
开盘涨停股票列表。
| 参数 | 类型 | 说明 |
@@ -368,6 +434,8 @@ T板股票列表。
## `stocksZtInSecCount(stock_arr, end_t)`
声明:function
秒板个数,封板时间在09:30~9:31且之后未开板的股票数量统计。
| 参数 | 类型 | 说明 |
@@ -379,6 +447,8 @@ T板股票列表。
## `stocksZtlb2Count(stock_arr, end_t)`
声明:function
二连板股票个数。
| 参数 | 类型 | 说明 |
@@ -390,6 +460,8 @@ T板股票列表。
## `stocksZtlb3Count(stock_arr, end_t)`
声明:function
三连板股票个数。
| 参数 | 类型 | 说明 |
@@ -401,6 +473,8 @@ T板股票列表。
## `stocksZtlb4Count(stock_arr, end_t)`
声明:function
四连板股票个数。
| 参数 | 类型 | 说明 |
@@ -412,6 +486,8 @@ T板股票列表。
## `stocksZtlb5Count(stock_arr, end_t)`
声明:function
五连板及以上股票个数。
| 参数 | 类型 | 说明 |
@@ -423,6 +499,8 @@ T板股票列表。
## `stocksZtlbList(stock_arr, end_t)`
声明:function
证券列表连板次数。
| 参数 | 类型 | 说明 |
@@ -434,6 +512,8 @@ T板股票列表。
## `stocksZtlbList2(stock_arr, end_t)`
声明:function
证券列表连板次数
| 参数 | 类型 | 说明 |
@@ -445,6 +525,8 @@ T板股票列表。
## `stocksZtlbNumCount(stock_arr, end_t, lb_num)`
声明:function
连板N次股票个数。 1)LBNum=0或者为空时,表示连板次数大于0的所有股票列表 2LBNum>0且LBNum<5时,表示连板次数为LBNum的股票列表 3)LBNum>=5时,表示连板次数为LBNum及以上的股票列表
| 参数 | 类型 | 说明 |
@@ -457,6 +539,8 @@ T板股票列表。
## `stocksZtlbNumList(stock_arr, end_t, lb_num)`
声明:function
连板N次股票列表。 1)LBNum=0或者为空时,表示连板次数大于0的所有股票列表 2LBNum>0且LBNum<5时,表示连板次数为LBNum的股票列表 3)LBNum>=5时,表示连板次数为LBNum及以上的股票列表
| 参数 | 类型 | 说明 |
@@ -469,6 +553,8 @@ T板股票列表。
## `stocksZtlbRatio(stock_arr, end_t)`
声明:function
连板率(%)。
| 参数 | 类型 | 说明 |
@@ -480,6 +566,8 @@ T板股票列表。
## `stocksZtList(stock_arr, end_t)`
声明:function
涨停股票列表。
| 参数 | 类型 | 说明 |
@@ -491,6 +579,8 @@ T板股票列表。
## `stocksZtPriceAmount(stock_arr, end_t)`
声明:function
涨停价成交金额。
| 参数 | 类型 | 说明 |
@@ -502,6 +592,8 @@ T板股票列表。
## `stocksZtTypeList(stock_arr, end_t, d_type)`
声明:function
指定封板类型的股票列表。 秒板:封板时间在09:30~9:31且之后未开板的股票列表 分板:封板时间在09:31~9:40且之后未开板的股票列表 3)10点前:封板时间在09:40~10:00且之后未开板的股票列表 410:00~11:30:封板时间在10:00~11:30且之后未开板的股票列表 513:00~14:00:封板时间在13:00~14:00且之后未开板的股票列表 614:00~15:00:封板时间在14:00~15:00且之后未开板的股票列表
| 参数 | 类型 | 说明 |
@@ -514,6 +606,8 @@ T板股票列表。
## `stockZtTime()`
声明:function
涨停时间,与系统参数(股票代码、时间)相关。
返回:array