✨ 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:
@@ -2,24 +2,32 @@
|
||||
|
||||
## `bd_ActualIssueAmount()`
|
||||
|
||||
声明:function
|
||||
|
||||
实际发行总额(元),与系统证券pn_stock()有关。
|
||||
|
||||
返回:float
|
||||
|
||||
## `bd_CouponRate()`
|
||||
|
||||
声明:function
|
||||
|
||||
票面利率(%/年),与系统证券pn_stock()有关。
|
||||
|
||||
返回:float
|
||||
|
||||
## `bd_CouponType()`
|
||||
|
||||
声明:function
|
||||
|
||||
息票品种,与系统股票pn_stock()有关。
|
||||
|
||||
返回:string
|
||||
|
||||
## `bd_CouponTypeOfLido(bond_id)`
|
||||
|
||||
声明:function
|
||||
|
||||
息票品种。专用函数,仅个别Lido数据用户适用。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -30,24 +38,32 @@
|
||||
|
||||
## `bd_DatedDate()`
|
||||
|
||||
声明:function
|
||||
|
||||
计息日,与系统证券pn_stock()有关。
|
||||
|
||||
返回:datetime
|
||||
|
||||
## `bd_ExpireDate()`
|
||||
|
||||
声明:function
|
||||
|
||||
摘牌日,即获取债券的到期日。与系统证券pn_stock()有关。
|
||||
|
||||
返回:datetime
|
||||
|
||||
## `bd_GoalDate()`
|
||||
|
||||
声明:function
|
||||
|
||||
到期日,与系统证券pn_stock()有关。
|
||||
|
||||
返回:datetime
|
||||
|
||||
## `bd_IfInDuration(bond_id, end_t)`
|
||||
|
||||
声明:function
|
||||
|
||||
判断债券是否在存续期
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -59,18 +75,24 @@
|
||||
|
||||
## `bd_InterestRateType()`
|
||||
|
||||
声明:function
|
||||
|
||||
附息利率品种,与系统证券pn_stock()有关。
|
||||
|
||||
返回:string
|
||||
|
||||
## `bd_InterestRateTypeData()`
|
||||
|
||||
声明:function
|
||||
|
||||
补充的附息利率品种数据。专用函数,仅个别Lido数据用户适用
|
||||
|
||||
返回:array
|
||||
|
||||
## `bd_InterestRateTypeOfLido(bond_id)`
|
||||
|
||||
声明:function
|
||||
|
||||
附息利率品种。专用函数,仅个别Lido数据用户适用
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -81,30 +103,40 @@
|
||||
|
||||
## `bd_ListDate()`
|
||||
|
||||
声明:function
|
||||
|
||||
上市日,与系统证券pn_stock()有关。
|
||||
|
||||
返回:any
|
||||
|
||||
## `bd_Maturity()`
|
||||
|
||||
声明:function
|
||||
|
||||
偿还期限(年),与系统证券pn_stock()有关。
|
||||
|
||||
返回:float
|
||||
|
||||
## `bd_PayTimes()`
|
||||
|
||||
声明:function
|
||||
|
||||
付息频率(次/年),与系统证券pn_stock()有关。
|
||||
|
||||
返回:any
|
||||
|
||||
## `bd_PayTimesData()`
|
||||
|
||||
声明:function
|
||||
|
||||
补充的付息频率数据。专用函数,仅个别Lido数据用户适用
|
||||
|
||||
返回:array
|
||||
|
||||
## `bd_PayTimesOfLido(bond_id)`
|
||||
|
||||
声明:function
|
||||
|
||||
付息频率,专用函数,仅个别Lido数据用户适用。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -115,12 +147,16 @@
|
||||
|
||||
## `bd_Shares()`
|
||||
|
||||
声明:function
|
||||
|
||||
债券流通股,与系统证券pn_stock()有关。
|
||||
|
||||
返回:float
|
||||
|
||||
## `bondExtraDataExist(t, bond_id)`
|
||||
|
||||
声明:function
|
||||
|
||||
判断BondId是否在数据表t中。如果存在,则返回BondId在表t中的行下标;如果不存在,则返回-1。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -132,12 +168,16 @@
|
||||
|
||||
## `bondInterBankIds2()`
|
||||
|
||||
声明:function
|
||||
|
||||
所有的银行间债券(包含退市)。
|
||||
|
||||
返回:array
|
||||
|
||||
## `bondRatingByEndt(endt)`
|
||||
|
||||
声明:function
|
||||
|
||||
指定日最新债券评级,与系统参数(证券代码)相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -155,6 +195,8 @@ return BondRatingByEndt(20240819T);
|
||||
|
||||
## `bondRatingByEndtByInstitution(endt, institution)`
|
||||
|
||||
声明:function
|
||||
|
||||
指定日指定评级机构的债券评级,与系统参数(证券代码)相关。如果无该评级机构的评级,则返回""。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -173,6 +215,8 @@ return BondRatingByEndtByInstitution(20240819T,"联合评级");
|
||||
|
||||
## `isBankBond(stock_id)`
|
||||
|
||||
声明:function
|
||||
|
||||
是否银行间债券。如果是,返回1,否则返回0 用stocktype(stockid)函数进行判断,type=18表示是银行间债券。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -183,6 +227,8 @@ return BondRatingByEndtByInstitution(20240819T,"联合评级");
|
||||
|
||||
## `isConvertibleBond(bond_id)`
|
||||
|
||||
声明:function
|
||||
|
||||
判断BondId是否为可转债,与系统证券pn_stock()有关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -193,6 +239,8 @@ return BondRatingByEndtByInstitution(20240819T,"联合评级");
|
||||
|
||||
## `isCorporationBond(stock_id)`
|
||||
|
||||
声明:function
|
||||
|
||||
判断StockID是否是企业债券,与系统证券pn_stock()有关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -211,6 +259,8 @@ return isCorporationBond('SH129801');
|
||||
|
||||
## `isBond(stock_id)`
|
||||
|
||||
声明:function
|
||||
|
||||
判断StockID是否是债券,与系统证券pn_stock()有关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -229,6 +279,8 @@ return isBond("SH110003");
|
||||
|
||||
## `isGovBond(stock_id)`
|
||||
|
||||
声明:function
|
||||
|
||||
判断StockID是否是国债,与系统证券pn_stock()有关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -247,6 +299,8 @@ return isGovBond("BK000201");
|
||||
|
||||
## `bondConvertibleBonds2()`
|
||||
|
||||
声明:function
|
||||
|
||||
所有的可转债。
|
||||
|
||||
返回:Array
|
||||
@@ -260,6 +314,8 @@ return bondConvertibleBonds2();
|
||||
|
||||
## `bondFutureCtdByEndt(end_t, return_option, market_id, dbtype)`
|
||||
|
||||
声明:function
|
||||
|
||||
国债期货品种对应的指定日最便宜交割券,与系统证券代码相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -283,6 +339,8 @@ return bondFutureCtdByEndt(endt,0,1,0);
|
||||
|
||||
## `bondFutureBasicFunc(end_t, return_option, market_id, dbtype)`
|
||||
|
||||
声明:function
|
||||
|
||||
国债期货品种对应的指定日基本指标函数,与系统证券代码相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -306,6 +364,8 @@ return bondFutureBasicFunc(endt,-1,1,0);
|
||||
|
||||
## `bondFutureBondBasicValue(end_t, bond_id, return_option, market_id, dbtype)`
|
||||
|
||||
声明:function
|
||||
|
||||
国债期货品种对应的单个个券指定日指标,与系统证券代码相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -331,6 +391,8 @@ return bondFutureBondBasicValue(endt,bond_id,0,0);
|
||||
|
||||
## `bondFutureBasicindicators(end_t, market_id, dbtype, return_option)`
|
||||
|
||||
声明:function
|
||||
|
||||
国债期货指定品种代码指定日对应的基本指标数据,与证券代码相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -352,6 +414,8 @@ return bondFutureBasicindicators(endt,1,0);
|
||||
|
||||
## `bondFutureBasicindicators2(end_t, return_option, market_id, dbtype)`
|
||||
|
||||
声明:function
|
||||
|
||||
国债期货指定品种代码指定日对应的基本指标数据,与证券代码相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
|
||||
Reference in New Issue
Block a user