Alphaear predictor
Skill RKiding/Awesome-finance-skills/skills/alphaear-predictor
Market prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments.From its SKILL.md
npx -y skills add RKiding/Awesome-finance-skills --skill alphaear-predictorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
2.1 KB, 486 tokens by cl100k_base, as published. Nobody here has run it
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:
- Generate Base Forecast: Use
scripts/kronos_predictor.py(viaKronosPredictorUtility) to generate the technical/quantitative forecast. - Adjust Forecast (Agentic): Use the Forecast Adjustment Prompt in
references/PROMPTS.mdto subjectively adjust the numbers based on latest news/logic.
Key Tools:
KronosPredictorUtility.get_base_forecast(df, lookback, pred_len, news_text): ReturnsList[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.
- Kronos Model:
- Ensure
exports/modelsdirectory exists in the project root. - Place trained news projector weights (e.g.,
kronos_news_v1.pt) inexports/models/. - Or depend on the base model (automatically downloaded).
- Ensure
[!CAUTION] Model Security: This skill loads model weights from
exports/models. We useweights_only=Trueand only scan for thekronos_news_*.ptpattern. Ensure you only place trusted checkpoints in this directory.
- 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
torchtransformerssentence-transformerspandasnumpyscikit-learn
What ships with it: 34 files
1545.6 KB alongside SKILL.md, 32 of them executable
references/
- PROMPTS.md1.0 KB
scripts/
- forecast_agent.pyruns2.9 KB
- __init__.pyruns0 B
- json_utils.pyruns6.2 KB
- kronos_predictor.pyruns7.6 KB
- predictor/exports/models/kronos_news_v1_20260101_0015.pt1253.5 KB
- predictor/model/__init__.pyruns394 B
- predictor/model/kronos.pyruns30.4 KB
- predictor/model/module.pyruns22.3 KB
- prompts/fin_agent.pyruns6.6 KB
- prompts/forecast_analyst.pyruns1.9 KB
- prompts/intent_agent.pyruns2.2 KB
- prompts/isq_prompt_generator.pyruns1.8 KB
- prompts/report_agent.pyruns18.1 KB
- prompts/trend_agent.pyruns7.4 KB
- prompts/visualizer.pyruns2.0 KB
- schema/isq_template.pyruns13.6 KB
- schema/models.pyruns6.1 KB
- utils/database_manager.pyruns21.3 KB
- utils/__init__.pyruns25 B
- utils/json_utils.pyruns6.2 KB
- utils/llm/capability.pyruns2.8 KB
- utils/llm/factory.pyruns3.6 KB
- utils/llm/router.pyruns2.8 KB
- utils/logging_setup.pyruns1.0 KB
- utils/predictor/evaluation.pyruns5.6 KB
- utils/predictor/kline_generate.pyruns7.6 KB
- utils/predictor/model/__init__.pyruns394 B
- utils/predictor/model/kronos.pyruns30.4 KB
- utils/predictor/model/module.pyruns22.3 KB
- utils/predictor/training.pyruns18.3 KB
- utils/search_tools.pyruns28.6 KB
- utils/stock_tools.pyruns9.8 KB
tests/
- test_predictor.pyruns1.0 KB