alphaear-predictor
/install alphaear-predictor
AlphaEar Predictor Skill
Overview
This skill utilizes the Kronos model (via KronosPredictorUtility) to perform time-series forecasting and adjust predictions based on news sentiment.
Capabilities
1. Forecast Market Trends
1. Forecast Market Trends
Workflow:
- Generate Base Forecast: Use
scripts/kronos_predictor.py(viaKronosPredictorUtility) to generate the technical/quantitative forecast. - Adjust Forecast (Agentic): Use the Forecast Adjustment Prompt in
references/PROMPTS.mdto subjectively adjust the numbers based on latest news/logic.
Key Tools:
KronosPredictorUtility.get_base_forecast(df, lookback, pred_len, news_text): ReturnsList[KLinePoint].
Example Usage (Python):
from scripts.utils.kronos_predictor import KronosPredictorUtility
from scripts.utils.database_manager import DatabaseManager
db = DatabaseManager()
predictor = KronosPredictorUtility()
# Forecast
forecast = predictor.predict("600519", horizon="7d")
print(forecast)
Configuration
This skill requires the Kronos model and an embedding model.
- Kronos Model:
- Ensure
exports/modelsdirectory exists in the project root. - Place trained news projector weights (e.g.,
kronos_news_v1.pt) inexports/models/. - Or depend on the base model (automatically downloaded).
- Ensure
[!CAUTION] Model Security: This skill loads model weights from
exports/models. We useweights_only=Trueand only scan for thekronos_news_*.ptpattern. Ensure you only place trusted checkpoints in this directory.
- Environment Variables:
EMBEDDING_MODEL: Path or name of the embedding model (default:sentence-transformers/all-MiniLM-L6-v2).KRONOS_MODEL_PATH: Optional path to override model loading.
Dependencies
torchtransformerssentence-transformerspandasnumpyscikit-learn
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install alphaear-predictor - 安装完成后,直接呼叫该 Skill 的名称或使用
/alphaear-predictor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
alphaear-predictor 是什么?
Market prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 101 次。
如何安装 alphaear-predictor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install alphaear-predictor」即可一键安装,无需额外配置。
alphaear-predictor 是免费的吗?
是的,alphaear-predictor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
alphaear-predictor 支持哪些平台?
alphaear-predictor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 alphaear-predictor?
由 zhouzhonglu8-png(@zhouzhonglu8-png)开发并维护,当前版本 v1.0.0。