Skip to content
cccskills
FreePublished on 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.

OriginalShow the original description

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

Run score Not tested

See how to install

Good for

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

Files included (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 (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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-skills3.1KUpdated Mar 29, 2026

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-skills3.1KUpdated Mar 29, 2026

alphaear-news

FreeSummary

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-skills3.1KUpdated Mar 29, 2026

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-skills3.1KUpdated Mar 29, 2026

alphaear-search

FreeSummary

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-skills3.1KUpdated Mar 29, 2026

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-skills3.1KUpdated Mar 29, 2026

See all skills by RKiding

Report a problem with this skill