跳到正文
cccskills
免费在 GitHub 公开

alphaear-predictor

Generate financial market forecasts with Kronos using time-series data, meaning observations recorded over time. An agent then adjusts the numerical forecast using recent news sentiment and reasoning, combining a quantitative baseline with a subjective assessment.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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

实测评分 未实测

查看安装方法

适用场景

  • Forecasting financial market trends from time-series data
  • Adjusting a baseline forecast using recent news
  • Combining quantitative forecasts with news sentiment

包含的文件(35)

  • SKILL.md2.1 KB
  • references/PROMPTS.md1.0 KB
  • scripts/__init__.py0 B
  • scripts/forecast_agent.py2.9 KB
  • scripts/json_utils.py6.2 KB
  • scripts/kronos_predictor.py7.6 KB
  • scripts/predictor/exports/models/kronos_news_v1_20260101_0015.pt1.2 MB
  • scripts/predictor/model/__init__.py394 B
  • scripts/predictor/model/kronos.py30.4 KB
  • scripts/predictor/model/module.py22.3 KB
  • scripts/prompts/fin_agent.py6.6 KB
  • scripts/prompts/forecast_analyst.py1.9 KB
  • scripts/prompts/intent_agent.py2.2 KB
  • scripts/prompts/isq_prompt_generator.py1.8 KB
  • scripts/prompts/report_agent.py18.1 KB
  • scripts/prompts/trend_agent.py7.4 KB
  • scripts/prompts/visualizer.py2.0 KB
  • scripts/schema/isq_template.py13.6 KB
  • scripts/schema/models.py6.1 KB
  • scripts/utils/__init__.py25 B
  • scripts/utils/database_manager.py21.3 KB
  • scripts/utils/json_utils.py6.2 KB
  • scripts/utils/llm/capability.py2.8 KB
  • scripts/utils/llm/factory.py3.6 KB
  • scripts/utils/llm/router.py2.8 KB
  • scripts/utils/logging_setup.py1.0 KB
  • scripts/utils/predictor/evaluation.py5.6 KB
  • scripts/utils/predictor/kline_generate.py7.6 KB
  • scripts/utils/predictor/model/__init__.py394 B
  • scripts/utils/predictor/model/kronos.py30.4 KB
  • scripts/utils/predictor/model/module.py22.3 KB
  • scripts/utils/predictor/training.py18.3 KB
  • scripts/utils/search_tools.py28.6 KB
  • scripts/utils/stock_tools.py9.8 KB
  • tests/test_predictor.py1.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Retrieve the latest financial signals from DeepEar Lite as a formatted report. Review titles, summaries, sentiment indicators, confidence scores, and source links to understand reported market trends and factors affecting stock performance.

中文简介正在准备中。当前显示英语简介。

  • Checking the latest financial signals
  • Reviewing reported factors affecting stock performance
  • Reading signal summaries alongside confidence scores
RKiding/Awesome-finance-skills30832026年3月29日 更新

Turn investment theses and chains of financial market effects into Draw.io-compatible diagrams. The skill generates diagram XML and saves it in a viewable HTML file, helping readers follow complex relationships and reasoning.

中文简介正在准备中。当前显示英语简介。

  • Visualizing the reasoning behind an investment thesis
  • Mapping how financial signals transmit through markets
  • Preparing a viewable diagram to explain financial logic
RKiding/Awesome-finance-skills30832026年3月29日 更新

Fetch current financial headlines and combine trending stories from multiple sources, including Weibo and WallstreetCN. You can also retrieve a summary of active Polymarket prediction markets to review alongside the news.

中文简介正在准备中。当前显示英语简介。

  • Check trending financial news
  • Combine headlines from several sources into one report
  • Review a summary of active Polymarket prediction markets
RKiding/Awesome-finance-skills30832026年3月29日 更新

Turn financial analysis and investment signals into a structured report. Group related signals, draft sections, assemble and edit the report, and create chart configurations to support the written analysis when needed.

中文简介正在准备中。当前显示英语简介。

  • Turning investment signals into a financial report
  • Grouping related signals to plan report sections
  • Combining section drafts into a complete report
RKiding/Awesome-finance-skills30832026年3月29日 更新

Search for financial information on the web or in a local news database. Use Jina, DDG, or Baidu, combine results from multiple engines, and assess whether cached results can answer a query before searching again.

中文简介正在准备中。当前显示英语简介。

  • Researching financial information on the web
  • Combining results from multiple search engines
  • Finding financial information in stored local news
RKiding/Awesome-finance-skills30832026年3月29日 更新

Analyze financial text with local FinBERT or an LLM to identify positive, negative, or neutral sentiment. Return a numeric score and short reason, with support for batch processing unanalyzed news using FinBERT.

中文简介正在准备中。当前显示英语简介。

  • Classifying sentiment in financial news
  • Batch processing unanalyzed news with FinBERT
  • Using an LLM when sentiment analysis needs reasoning
RKiding/Awesome-finance-skills30832026年3月29日 更新

查看 RKiding 的全部技能

报告此技能的问题