ml-strategy

Generate predictive trading signals from OHLCV data using machine learning models.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the complexity of building reliable, data-driven trading strategies by automating feature engineering, walk-forward training, and signal generation while preventing common pitfalls like look-ahead bias and data leakage.

Core Features & Use Cases

  • Walk-Forward Training: Implements expanding or sliding window training to ensure models are always evaluated on unseen historical data.
  • Automated Feature Engineering: Generates multi-dimensional factors including momentum, volatility, RSI, and Bollinger Band positions with built-in sanitization.
  • Use Case: A quantitative researcher can use this to quickly prototype and backtest a machine-learning model on OHLCV data to generate actionable buy/sell signals without manually managing training loops or data cleaning.

Quick Start

Use the ml-strategy skill to generate trading signals for the provided OHLCV data using a random forest model with an expanding window.

Frequently Asked Questions about ml-strategy

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

FAQPage Schema
How do I generate trading signals from OHLCV data using machine learning?

To generate trading signals from OHLCV data, you apply machine learning models using walk-forward validation to produce actionable buy or sell predictions. The process automates feature engineering, data sanitization, and statistical model training on financial time-series data.

What is walk-forward validation in quantitative trading models?

Walk-forward validation in quantitative trading models evaluates machine learning algorithms on unseen historical data using expanding or sliding windows. This approach ensures models are continuously trained and tested on new data points, preventing look-ahead bias and data leakage during backtesting.

How do I prevent look-ahead bias and data leakage in predictive trading models?

To prevent look-ahead bias and data leakage in predictive trading models, implement walk-forward training with expanding or sliding windows to evaluate strictly on unseen historical data. Built-in data sanitization during automated feature engineering further ensures multi-dimensional factors remain statistically robust.

Does this machine learning strategy approach require pandas and scikit-learn?

Yes, executing this machine learning strategy requires scikit-learn, pandas, and numpy to perform robust statistical modeling and data sanitization. These dependencies are necessary to handle OHLCV financial time-series data, generate multi-dimensional factors, and train the predictive models.

What technical indicators can I automate for feature engineering in financial time-series data?

For feature engineering in financial time-series data, you can automate multi-dimensional factors including momentum, volatility, RSI, and Bollinger Band positions. These factors are generated with built-in sanitization to prepare OHLCV market data for machine learning model training.

What is the best way to backtest a machine learning model on OHLCV market data?

The best way to backtest a machine learning model on OHLCV market data is using walk-forward validation with an expanding or sliding window. This method trains and evaluates models on unseen historical data sequentially, preventing look-ahead bias while generating actionable trading signals.