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.
3.4 KiB
3.4 KiB
文档处理 / WordTemplate
policyResearch(bk1, bk2, bk3, start1, end1, bstart1, b_end1, share_low, share_high, interval, class1, bk4, end2, b_end2, power, price_low, price_high, price_interval, sz_low, sz_high, sz_interval, syl_low, syl_high, syl_interval)
策略研究WORD模板测试。模板文件在金融分析.NET的运行目录里,如: C:\Program files\Tinysoft\Analyse.NET
| 参数 | 类型 | 说明 |
|---|---|---|
bk1 |
string | 市场和板块类型,资金在品种中的流动的品种 |
bk2 |
string | 市场和板块类型,资金在行业中流向的品种 |
bk3 |
string | 市场和板块类型,资金在不同股本间的流动 |
start1 |
datetime | 日期类型,开始日期 |
end1 |
datetime | 日期类型,截止日期 |
bstart1 |
datetime | 日期类型,同比开始 |
b_end1 |
datetime | 日期类型,同比结束 |
share_low |
int | 整数类型,股本下限(万股) |
share_high |
int | 整数类型,股本上限(万股) |
interval |
int | 整数类型,统计间距(万股) |
class1 |
int | 用户自定义,分类标准,其取值如下: |
bk4 |
string | 市场和板块,结构分析 |
end2 |
datetime | 日期类型,截止日期 |
b_end2 |
datetime | 日期类型,同比日期 |
power |
int | 用户自定义,涨幅权重,其取值如下: |
price_low |
float | 实数,股价下限 |
price_high |
float | 实数,股价上限 |
price_interval |
float | 实数,统计间隔 |
sz_low |
int | 整数,市值下限(亿) |
sz_high |
int | 整数,市值上限(亿) |
sz_interval |
int | 整数,统计间距(亿) |
syl_low |
int | 整数,市盈率下限 |
syl_high |
int | 整数,市盈率上限 |
syl_interval |
int | 整数,市盈率统计间距 |
返回:array
WORD_Execute(s, t)
执行函数
| 参数 | 类型 | 说明 |
|---|---|---|
s |
any | 整数 |
t |
any | 整数 |
返回:any
WORD_OutPutGraph(s, file_name)
Word-输出图形
| 参数 | 类型 | 说明 |
|---|---|---|
s |
any | 整数 |
file_name |
string | 整数 |
返回:any
WORD_OutPutTable(t)
Word-输出表格
| 参数 | 类型 | 说明 |
|---|---|---|
t |
any | 整数 |
返回:any
WORD_WriteTableToExcel(file_name, sheet_name, data)
Word-在Excel中写数据,若Data不是数组返回假,成功在Excel中写数据返回真
| 参数 | 类型 | 说明 |
|---|---|---|
file_name |
string | 整数 |
sheet_name |
string | 整数 |
data |
array | 整数 |
返回:array