Kronos
v0.1.2Stock price forecasting for China A-shares — Kronos K-line time-series model
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
kronos_health
确认 Kronos 服务能连上、你的 key 是有效的。 **遇到任何问题先调这个。**它能把「key 不对」和「代码不对」区分开 —— 直接调 predict 失败时,这两种原因看起来是一样的。
kronos_predict
预测一只股票未来 N 根日 K 线。 symbol A 股代码,`600519` 或 `600519.SH` 两种写法都认 pred_len 预测多少根,1~30。默认 10 返回每根预测 K 线的 date / open / high / low / close / volume, 外加 `last_close`(最后一根真实收盘价)和 `expected_return` (末根预测收盘 / 最后真实收盘 − 1)—— 这个比例是最常用的那个数。 ⚠️ **一次调用要 30-70 秒**(GPU 推理),这是正常的,不要因为慢就重试。 要问多只票就依次调用,不要指望批量 —— 上游一次只接受一个代ç …
| Parameter | Type | Description |
|---|---|---|
symbol * | string | |
pred_len | integer |