alphaear-predictor
Agent skill fromRKiding/Awesome-finance-skills
Market prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments.
How to install alphaear-predictor
install alphaear-predictor
# install the Awesome-finance-skills pack with the skills CLI
npx skills add RKiding/Awesome-finance-skills# or add only this skill to Claude Code: copy the folder
skills/alphaear-predictor/
# into
~/.claude/skills/alphaear-predictor/ (all projects)
.claude/skills/alphaear-predictor/ (one project)
1# AlphaEar Predictor Skill23## Overview45This skill utilizes the Kronos model (via `KronosPredictorUtility`) to perform time-series forecasting and adjust predictions based on news sentiment.67## Capabilities89### 1. Forecast Market Trends1011### 1. Forecast Market Trends1213**Workflow:**141. **Generate Base Forecast**: Use `scripts/kronos_predictor.py` (via `KronosPredictorUtility`) to generate the technical/quantitative forecast.152. **Adjust Forecast (Agentic)**: Use the **Forecast Adjustment Prompt** in `references/PROMPTS.md` to subjectively adjust the numbers based on latest news/logic.1617**Key Tools:**18- `KronosPredictorUtility.get_base_forecast(df, lookback, pred_len, news_text)`: Returns `List[KLinePoint]`.1920**Example Usage (Python):**2122```python23from scripts.utils.kronos_predictor import KronosPredictorUtility24from scripts.utils.database_manager import DatabaseManager2526db = DatabaseManager()27predictor = KronosPredictorUtility()2829# Forecast30forecast = predictor.predict("600519", horizon="7d")31print(forecast)32```333435## Configuration3637This skill requires the **Kronos** model and an embedding model.38391. **Kronos Model**:40 - Ensure `exports/models` directory exists in the project root.41 - Place trained news projector weights (e.g., `kronos_news_v1.pt`) in `exports/models/`.42 - Or depend on the base model (automatically downloaded).4344> [!CAUTION]45…
Excerpt shown under the repository's Apache-2.0 license.
