Files
playbook/docs/tsl/codegen/dotnet/indices/misc.md
T
csh b6160676b4 ♻️ refactor(tsl): rebuild codegen taxonomy
Move generated builtin and dotnet function docs into the upgraded taxonomy, remove legacy route pages, and regenerate function_index.tsv from markdown headings.
2026-07-07 16:36:08 +08:00

23 lines
745 B
Markdown

# 指数 / 其他
### `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