ml-alpha

Generates and validates ML alpha signals for supervised and ensemble models in liquid markets.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/GhostOf0days/codex-quant-skills --skill ml-alpha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ml-alpha
Source: https://github.com/GhostOf0days/codex-quant-skills/tree/main/ml-alpha
Command: npx skills add https://github.com/GhostOf0days/codex-quant-skills --skill ml-alpha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complex challenge of generating and validating machine-learning based alpha signals in liquid markets, ensuring robustness through leakage-safe training and execution-aware evaluation.

Core Features & Use Cases

  • Supervised and Ensemble Models: Develops alpha models using both supervised learning and ensemble techniques.
  • Leakage-Safe Training: Implements safeguards to prevent data leakage during the training process.
  • Execution-Aware Evaluation: Evaluates model performance considering realistic trading costs and execution assumptions.
  • Use Case: A quantitative analyst needs to develop a new predictive model for stock price movements. They can use this Skill to engineer features, train the model with robust validation, and evaluate its potential profitability after accounting for transaction costs.

Quick Start

Run the ml alpha diagnostics script on the input CSV file to generate a diagnostics JSON artifact.

Frequently Asked Questions about ml-alpha

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate and validate machine learning alpha signals without data leakage?

To generate leakage-safe machine learning alpha signals, you need feature engineering safeguards and robust validation methodologies during model training. This skill implements supervised and ensemble models with strict leakage prevention to ensure predictive robustness in liquid markets.

What is execution-aware evaluation in quantitative finance model validation?

Execution-aware evaluation in quantitative finance assesses model performance by incorporating realistic trading costs and execution assumptions. It provides cost-adjusted performance metrics to evaluate alpha signal profitability under actual market execution scenarios.

How do I train supervised and ensemble models for alpha generation in liquid markets?

You train supervised and ensemble models for alpha generation by engineering features with leakage safeguards and calibrating against market benchmarks. This skill processes input CSV files to develop and validate predictive models for stock price movements.

Can I evaluate alpha signal profitability after accounting for transaction costs?

Yes, you can evaluate alpha signal profitability after transaction costs using execution-aware evaluation metrics. This approach adjusts performance assessments by incorporating realistic trading costs and execution assumptions into the model validation process.

What is the best way to run diagnostics on machine learning alpha models?

The best way to run diagnostics on machine learning alpha models is to execute a diagnostics script on your input CSV file. This process generates a diagnostics JSON artifact containing the model validation and evaluation results.

Why does my alpha model validation fail under realistic execution scenarios?

Alpha model validation often fails under realistic execution scenarios when standard evaluation metrics ignore transaction costs and execution constraints. Applying execution-aware evaluation and leakage-safe training methodologies ensures robust performance assessment in liquid markets.