✨ feat(skills): add tsl api reference skill
Bundle the TSL API index and markdown references under the skill, route TSL docs to use it, and update the codegen index generator to maintain the bundled data.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# 教学范例 / TSL语言
|
||||
|
||||
### `arSumUp(stock_id, rdate)`
|
||||
|
||||
数组类型教学函数。提取股票StockID指定报告期Rdate十大股东信息。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ---------- | -------- | -------------- |
|
||||
| `stock_id` | string | 证券,股票代码 |
|
||||
| `rdate` | datetime | 报告期 |
|
||||
|
||||
返回:array
|
||||
|
||||
### `esEvaluate()`
|
||||
|
||||
TSL语法基本教学函数。函数本身介绍了几种基础语法的赋值。
|
||||
|
||||
返回:any
|
||||
|
||||
### `ftExpression221(t, f_name, method, v, v1)`
|
||||
|
||||
表达式函数教学应用。依据Method取值,表T字段FName为V或者Fname取值在V到V1之间
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------- | ------ | ---------- |
|
||||
| `t` | array | 数据表类型 |
|
||||
| `f_name` | string | 字符串 |
|
||||
| `method` | any | 整数 |
|
||||
| `v` | float | 实数 |
|
||||
| `v1` | any | 整数 |
|
||||
|
||||
返回:any
|
||||
Reference in New Issue
Block a user