📝 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:
@@ -3035,17 +3035,6 @@ return histc(a, b);
|
||||
|
||||
返回:array
|
||||
|
||||
## `Anova_Bartlett(groups, alpha)`
|
||||
|
||||
执行 Bartlett 方差齐性检验。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------- | ----- | ---------- |
|
||||
| `groups` | array | 各组观测值 |
|
||||
| `alpha` | float | 显著性水平 |
|
||||
|
||||
返回:array
|
||||
|
||||
## `Anova_Levene(groups, alpha)`
|
||||
|
||||
执行 Levene 方差齐性检验。
|
||||
|
||||
@@ -71,16 +71,6 @@ CB_AdditionalPutbackPriceInterest 相关函数。
|
||||
|
||||
返回:float
|
||||
|
||||
## `cb_delistedbydate(endt)`
|
||||
|
||||
截止日退市转债
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ----------- |
|
||||
| `endt` | datetime | date,截止日 |
|
||||
|
||||
返回:array
|
||||
|
||||
## `CB_ExpiredRedemptionPrice()`
|
||||
|
||||
可转债的到期赎回价(不包含利息)
|
||||
|
||||
@@ -120,18 +120,6 @@ return EncodeGraphGroup(array(g1,g2),array());
|
||||
|
||||
返回:string
|
||||
|
||||
## `exportJsonString(data, n, return_value)`
|
||||
|
||||
将TSL结构数据转换为json串。对于非ASCII编码的文字转换为转义字符。 天软中的nan,inf,-inf会相应地转换为NaN,Infinity,-Infinity,该处理是为了便捷与python处理的兼容,在交互中,将天软的数据结果转化为json串再传递到python中,可以解决编码不一导致转码效率低下的问题。但同时该类特殊数值的处理无法保障在其他语言中也能转换正常。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------------- | ------- | ----------------------------------------------------------------------------- |
|
||||
| `data` | anytype | 天软数据,任意数据类型。 |
|
||||
| `n` | int | 可选参数,要保留的小数位数。为0时保留1位小数,大于16或小于0时保留全部小数位数 |
|
||||
| `return_value` | string | 字符串,json串 |
|
||||
|
||||
返回:string
|
||||
|
||||
## `getMsgDigest(arg)`
|
||||
|
||||
信息摘要函数相关函数。
|
||||
|
||||
@@ -21,16 +21,6 @@
|
||||
|
||||
返回:any
|
||||
|
||||
## `createhttpsession(return_value)`
|
||||
|
||||
创建一个http Session对象,并返回会话ID,即Session id。仅新一代TSL语言支持该函数。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------------- | ---- | -------------- |
|
||||
| `return_value` | int | 返回session ID |
|
||||
|
||||
返回:intptr
|
||||
|
||||
## `destroyHttpSession(session, return_value)`
|
||||
|
||||
销毁一个Http Session对象,并返回销毁结果,销毁成功返回True。 仅新一代TSL语言支持该函数。
|
||||
|
||||
Reference in New Issue
Block a user