← 返回
未分类 中文

alphaear-predictor

Market prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments.
Kronos 市场预测技能,用于金融市场时间序列预测或基于新闻的行情调整。
zhouzhonglu8-png
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 376
下载
💾 4
安装
1
版本
#latest

概述

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:

  1. Generate Base Forecast: Use scripts/kronos_predictor.py (via KronosPredictorUtility) to generate the technical/quantitative forecast.
  2. Adjust Forecast (Agentic): Use the Forecast Adjustment Prompt in references/PROMPTS.md to subjectively adjust the numbers based on latest news/logic.

Key Tools:

  • KronosPredictorUtility.get_base_forecast(df, lookback, pred_len, news_text): Returns List[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.

  1. Kronos Model:
    • Ensure exports/models directory exists in the project root.
    • Place trained news projector weights (e.g., kronos_news_v1.pt) in exports/models/.
    • Or depend on the base model (automatically downloaded).

> [!CAUTION]

> Model Security: This skill loads model weights from exports/models. We use weights_only=True and only scan for the kronos_news_*.pt pattern. Ensure you only place trusted checkpoints in this directory.

  1. 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

  • torch
  • transformers
  • sentence-transformers
  • pandas
  • numpy
  • scikit-learn

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 11:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

alphaear-search

zhouzhonglu8-png
执行金融网页搜索和本地上下文搜索。适用于用户需要从网页(Jina/DDG/Baidu)获取一般金融信息或需要检索金融数据。
★ 0 📥 366

alphaear-signal-tracker

zhouzhonglu8-png
跟踪金融投资信号演变并根据最新金融市场信息更新逻辑;用于监控金融信号并判断是否需要调整。
★ 0 📥 333

alphaear-sentiment

zhouzhonglu8-png
使用FinBERT或LLM分析金融文本情感,判断正面、负面或中性并给出评分。
★ 0 📥 363