本文へ移動
cccskills
無料GitHub で公開

alphaear-predictor

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

インストール方法を見る

含まれるファイル(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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Fetch the latest financial signals and transmission-chain analyses from DeepEar Lite. Use when the user needs immediate insights into financial market trends, stock performance factors, and reasoning from the DeepEar Lite dashboard.

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0712026年3月29日 更新

Create visualize finance logic diagrams (e.g., Draw.io XML) to explain complex finance transmission chains or finance logic flows.

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0712026年3月29日 更新

Fetch hot finance news, unified trends, and prediction financial market data. Use when the user needs real-time financial news, trend reports from multiple finance sources (Weibo, Zhihu, WallstreetCN, etc.), or Polymarket finance market prediction data.

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0712026年3月29日 更新

Plan, write, and edit professional financial reports; generate finance chart configurations. Use when condensing finance analysis into a structured output.

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0712026年3月29日 更新

Perform finance web searches and local context searches. Use when the user needs general finance info from the web (Jina/DDG/Baidu) or needs to retrieve finance information from a local document store (RAG).

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0712026年3月29日 更新

Analyze finance text sentiment using FinBERT or LLM. Use when the user needs to determine the sentiment (positive/negative/neutral) and score of financial text markets.

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0712026年3月29日 更新

RKiding のスキルをすべて見る

このスキルの問題を報告する