返回顶部
a

alphaear-predictorAlpha耳预测器

Market prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
118
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

alphaear-predictor

AlphaEar 预测器技能

概述

本技能利用Kronos模型(通过KronosPredictorUtility)执行时间序列预测,并根据新闻情感调整预测结果。

功能

1. 预测市场趋势

1. 预测市场趋势

工作流程:

  1. 1. 生成基础预测:使用scripts/kronos_predictor.py(通过KronosPredictorUtility)生成技术/量化预测。
  2. 调整预测(智能代理):使用references/PROMPTS.md中的预测调整提示,根据最新新闻/逻辑主观调整数值。

关键工具:

  • - KronosPredictorUtility.getbaseforecast(df, lookback, predlen, newstext):返回List[KLinePoint]。

使用示例(Python):

python
from scripts.utils.kronos_predictor import KronosPredictorUtility
from scripts.utils.database_manager import DatabaseManager

db = DatabaseManager()
predictor = KronosPredictorUtility()

预测

forecast = predictor.predict(600519, horizon=7d) print(forecast)

配置

本技能需要Kronos模型和嵌入模型。

  1. 1. Kronos模型
- 确保项目根目录下存在exports/models目录。 - 将训练好的新闻投影器权重(例如kronosnewsv1.pt)放置在exports/models/中。 - 或依赖基础模型(自动下载)。

[!CAUTION]
模型安全性:本技能从exports/models加载模型权重。我们使用weightsonly=True,仅扫描kronosnews_*.pt模式。请确保仅在此目录中放置受信任的检查点。

  1. 2. 环境变量
- EMBEDDING_MODEL:嵌入模型的路径或名称(默认值:sentence-transformers/all-MiniLM-L6-v2)。 - KRONOSMODELPATH:可选路径,用于覆盖模型加载。

依赖项

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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 alphaear-predictor-1775888009 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 alphaear-predictor-1775888009 技能

通过命令行安装

skillhub install alphaear-predictor-1775888009

下载

⬇ 下载 alphaear-predictor v1.0.0(免费)

文件大小: 97.11 KB | 发布时间: 2026-4-12 08:59

v1.0.0 最新 2026-4-12 08:59
AlphaEar Predictor 1.0.0 - Initial Release

- Added market prediction capabilities using the Kronos model for time-series forecasting.
- Introduced workflow for base quantitative forecast and news-driven subjective adjustment.
- Provided configurable support for custom and default Kronos model weights.
- Added requirement for an embedding model, with customizable environment variables.
- Documented required Python dependencies for operation.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部