Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/indices/misc.md
T
csh e1f7ce052c 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.
2026-07-07 16:36:15 +08:00

745 B

指数 / 其他

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