@zltquant/zlt-mcp 0.8.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/config.json +6 -6
- package/package.json +1 -1
- package/zlt-mcp-proxy.bundle.cjs +4281 -2377
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ zlt-mcp list --tool show_stock_panel --json
|
|
|
47
47
|
|
|
48
48
|
## 准备本地回测环境
|
|
49
49
|
|
|
50
|
-
本地回测需要 ClientLite 研究环境。当前 npm 自动安装流程适用于 Windows x64,可安装配套的 ClientLite 正式版。先预览版本、下载量和安装目录:
|
|
50
|
+
本地回测需要 ClientLite 研究环境。当前 npm 自动安装流程适用于 Windows x64 和 macOS ARM64,可安装配套的 ClientLite 正式版。先预览版本、下载量和安装目录:
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
zlt-mcp runtime install
|
|
@@ -65,7 +65,7 @@ zlt-mcp runtime install --confirm
|
|
|
65
65
|
zlt-mcp runtime select --workspace-id <工作区 ID>
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
macOS
|
|
68
|
+
macOS ARM64 使用本 CLI 内嵌的 exact release `@zltquant/clientlite-darwin-arm64@1.0.0`。Python 安装到独立完整 prefix,Git 仅复用预检合格的已有工具。Intel Mac 验收尚未完成。
|
|
69
69
|
|
|
70
70
|
## 供 Agent 调用
|
|
71
71
|
|
package/config.json
CHANGED
|
@@ -1900,7 +1900,7 @@
|
|
|
1900
1900
|
},
|
|
1901
1901
|
{
|
|
1902
1902
|
"name": "mcp-factor-value-query",
|
|
1903
|
-
"description": "
|
|
1903
|
+
"description": "查询因子值。verdict 是 CLI 派生判断,不是原生存储标签;values-returned 表示本次已取得 rows,artifact-only 表示有产物但本次明细不可读,不能说因子未产出。原生已返回 rows 时直接保留其结果;原生无明细且所选安装配置 Parquet 时,可由 CLI 用该安装的 Python 只读当前产物,valueSource=sdk-parquet-readonly、artifactRead.format=parquet 标明来源;旧 EDMS 安装保留相应兼容读取。不能把原生 metadata 的 EDMS 标签当成本次 Parquet 文件格式。\n\nParquet 兼容读取只支持研发域最新成功记录的唯一、身份一致的日线截面输出,在本地应用日期、证券和 limit 筛选;未指定任何日期时取记录范围内最新可用交易日,limit 默认 100、最多 1000。这不是原生 value-query v2 能力或分页验收,未证明不可变历史快照;指定记录已非最新时拒绝读取,不自动换新记录。原生结果的筛选和分页能力须按实际服务版本核对,不把 CLI 参数当作原生已应用。calculateRecordId 有就传;只给 factorId 时查询最近一次研发域成功记录并返回 calculateRecordSource=latest-success,没有成功记录报 ErrNo 10055。策略内使用因子值仍按 readWith 调用 get_factor。",
|
|
1904
1904
|
"inputSchema": {
|
|
1905
1905
|
"type": "object",
|
|
1906
1906
|
"properties": {
|
|
@@ -1915,29 +1915,29 @@
|
|
|
1915
1915
|
"tradeDate": {
|
|
1916
1916
|
"type": "string",
|
|
1917
1917
|
"format": "date",
|
|
1918
|
-
"description": "
|
|
1918
|
+
"description": "CLI 兼容读取时选择单个交易日,格式 YYYY-MM-DD;原生是否应用此参数以实际服务合同为准。"
|
|
1919
1919
|
},
|
|
1920
1920
|
"startDate": {
|
|
1921
1921
|
"type": "string",
|
|
1922
1922
|
"format": "date",
|
|
1923
|
-
"description": "
|
|
1923
|
+
"description": "Parquet 兼容读取的起始日期(含当日),格式 YYYY-MM-DD,须在所选计算记录范围内。"
|
|
1924
1924
|
},
|
|
1925
1925
|
"endDate": {
|
|
1926
1926
|
"type": "string",
|
|
1927
1927
|
"format": "date",
|
|
1928
|
-
"description": "
|
|
1928
|
+
"description": "Parquet 兼容读取的结束日期(含当日),格式 YYYY-MM-DD,须在所选计算记录范围内。"
|
|
1929
1929
|
},
|
|
1930
1930
|
"stockCodes": {
|
|
1931
1931
|
"type": "array",
|
|
1932
1932
|
"items": {
|
|
1933
1933
|
"type": "string"
|
|
1934
1934
|
},
|
|
1935
|
-
"description": "
|
|
1935
|
+
"description": "Parquet 兼容读取时筛选指定证券,如 [\"sh600000\",\"sz000001\"];原生筛选支持按实际服务合同核对。"
|
|
1936
1936
|
},
|
|
1937
1937
|
"limit": {
|
|
1938
1938
|
"type": "integer",
|
|
1939
1939
|
"default": 100,
|
|
1940
|
-
"description": "
|
|
1940
|
+
"description": "CLI 兼容读取的展示条数上限,默认 100;Parquet 读取最多 1000。原生已返回 rows 时保留其结果,不以此参数承诺原生分页。"
|
|
1941
1941
|
}
|
|
1942
1942
|
},
|
|
1943
1943
|
"additionalProperties": false
|