✨ feat(tsl-api-reference): expand API and module coverage
This commit is contained in:
@@ -0,0 +1,143 @@
|
||||
# 股票研究 / 关联度评价
|
||||
|
||||
## `TS_StockCorrelEvaluation`
|
||||
|
||||
声明:class
|
||||
|
||||
股票关联度评价框架
|
||||
|
||||
<!-- tags: 评估 相关性 关联关系 证券 个股 股票关联 证券分析 -->
|
||||
|
||||
### `getTLBStockArrByEndt(endt)`
|
||||
|
||||
声明:function
|
||||
|
||||
获取指定日关联证券池
|
||||
|
||||
<!-- tags: 查询 样本池 个股 -->
|
||||
|
||||
可见性:`public`
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ---------------- |
|
||||
| `endt` | datetime | Datetime,截止日 |
|
||||
|
||||
返回:array
|
||||
|
||||
### `getTLBWeight(stock_arr)`
|
||||
|
||||
声明:function
|
||||
|
||||
获取设置关联证券池权重
|
||||
|
||||
<!-- tags: 查询 配置 组合权重 资产配置 样本池 -->
|
||||
|
||||
可见性:`public`
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ----------- | ----- | ----------------- |
|
||||
| `stock_arr` | array | array,关联证券池 |
|
||||
|
||||
返回:array
|
||||
|
||||
### `getStockRet(stock_id, begt, endt)`
|
||||
|
||||
声明:function
|
||||
|
||||
获取设置证券指定区间的累计收益率(%)
|
||||
|
||||
<!-- tags: 查询 配置 回报率 投资收益 个股 -->
|
||||
|
||||
可见性:`public`
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ---------- | -------- | ---------------- |
|
||||
| `stock_id` | string | string,证券代码 |
|
||||
| `begt` | datetime | Datetime,开始日 |
|
||||
| `endt` | datetime | Datetime,截止日 |
|
||||
|
||||
返回:array
|
||||
|
||||
### `maim()`
|
||||
|
||||
声明:function
|
||||
|
||||
关联度评价框架初始化,获取标准的关联证券池
|
||||
|
||||
<!-- tags: 查询 评估 相关性 关联关系 样本池 -->
|
||||
|
||||
可见性:`public`
|
||||
|
||||
### `get_Evalue_TLBInfo()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回关联证券池详情
|
||||
|
||||
<!-- tags: 查询 关联证券池 证券关联 股票池详情 -->
|
||||
|
||||
可见性:`public`
|
||||
|
||||
返回:array
|
||||
|
||||
### `get_Evalue_Correl(begt, endt)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回指定区间相关系数评价指标
|
||||
|
||||
<!-- tags: 查询 评估 相关性 关联关系 -->
|
||||
|
||||
可见性:`public`
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ---------------------- |
|
||||
| `begt` | datetime | 日期类型,窗口期开始日 |
|
||||
| `endt` | datetime | 日期类型,窗口期截止日 |
|
||||
|
||||
返回:array
|
||||
|
||||
### `get_Evalue_CorrelRet(begt, endt)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回指定区间关联收益评价指标
|
||||
|
||||
<!-- tags: 查询 评估 回报率 投资收益 相关性 关联关系 -->
|
||||
|
||||
可见性:`public`
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ---------------- |
|
||||
| `begt` | datetime | 日期类型,开始日 |
|
||||
| `endt` | datetime | 日期类型,截止日 |
|
||||
|
||||
返回:array
|
||||
|
||||
### `getLableByEndt(endt)`
|
||||
|
||||
声明:function
|
||||
|
||||
获取指定日证券标签数据
|
||||
|
||||
<!-- tags: 查询 证券标签 关联分类 指定日 -->
|
||||
|
||||
可见性:`public`
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ---------------- |
|
||||
| `endt` | datetime | Datetime,截止日 |
|
||||
|
||||
返回:array
|
||||
|
||||
### `get_Evalue_Info()`
|
||||
|
||||
声明:function
|
||||
|
||||
获取关联证券池打分详情
|
||||
|
||||
<!-- tags: 查询 关联证券池 关联强度 综合打分 -->
|
||||
|
||||
可见性:`public`
|
||||
|
||||
返回:array
|
||||
Reference in New Issue
Block a user