ml-strategy

Train sklearn models with walk-forward validation on OHLCV data.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/0xZKnw/vibe-trading-tap --skill ml-strategy-0xzknw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ml-strategy
Source: https://github.com/0xZKnw/vibe-trading-tap/tree/main/agent/src/skills/ml-strategy
Command: npx skills add https://github.com/0xZKnw/vibe-trading-tap --skill ml-strategy-0xzknw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scikit-learn, pandas, numpy.

What problem does it solve?

This Skill addresses the complexity of building reliable, leak-free machine learning trading strategies by providing a standardized, production-ready pipeline for feature engineering and walk-forward model training.

Core Features & Use Cases

  • Automated Feature Engineering: Automatically generates multi-dimensional factors like RSI, Bollinger Bands, and momentum indicators from raw OHLCV data with built-in sanitization.
  • Walk-Forward Validation: Implements rigorous expanding or sliding window training to prevent future data leakage and ensure model robustness.
  • Use Case: A quantitative researcher can use this to quickly prototype and deploy a predictive model that generates buy/sell signals based on historical market trends without manually coding complex data validation or training loops.

Quick Start

Use the ml-strategy skill to generate trading signals for the provided OHLCV data using the random forest model.

Frequently Asked Questions about ml-strategy

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

FAQPage Schema
How do I build a machine learning trading strategy using OHLCV data?

To build a machine learning trading strategy, this Skill automates feature engineering from OHLCV data and uses walk-forward training to generate predictive buy/sell signals without manual data validation loops.

What is walk-forward validation in predictive modeling for quantitative finance?

Walk-forward validation is a technique that uses expanding or sliding windows to train predictive models sequentially, preventing future data leakage and ensuring trading strategy robustness during backtesting.

Do I need scikit-learn and pandas to generate trading signals?

Yes, you need scikit-learn, pandas, and numpy to execute the machine learning training pipeline and ensure data integrity for generating financial market trading signals.

Can I automatically generate features like RSI and Bollinger Bands from raw OHLCV data?

Yes, automated feature engineering generates multi-dimensional factors like RSI, Bollinger Bands, and momentum indicators directly from raw OHLCV data with built-in sanitization for model training.

What's the best way to prevent data leakage when training sklearn models on financial markets?

The best way to prevent data leakage is using rigorous walk-forward validation, which trains models on expanding or sliding windows so future data does not contaminate historical predictions.

Why does my machine learning model underperform in backtesting despite high training accuracy?

Models underperform in backtesting when future data leakage inflates training accuracy; using walk-forward validation with expanding or sliding windows prevents this and ensures robust predictive performance.