📝 docs(tsl): add generated codegen reference
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# 金融函数 - 指数 / 指数回溯框架
|
||||
|
||||
## 函数
|
||||
|
||||
### `simulateIndex()`
|
||||
|
||||
指数计算基类,作为类被调用时使用。
|
||||
|
||||
返回:any
|
||||
|
||||
### `simulateIndexDemo(index_id, begt, endt, is_dividend, shares_type, stock_weight)`
|
||||
|
||||
指数计算范例.
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------------- | -------- | ------------------------ |
|
||||
| `index_id` | string | 指数,指数或行业代码 |
|
||||
| `begt` | datetime | 日期,开始日 |
|
||||
| `endt` | datetime | 日期,截止日 |
|
||||
| `is_dividend` | any | 用户自定义,指数类型 |
|
||||
| `shares_type` | any | 用户自定义,股本数据 |
|
||||
| `stock_weight` | any | 用户自定义,权重因子选择 |
|
||||
|
||||
返回:any
|
||||
Reference in New Issue
Block a user