ml-strategy

Generate trading signals from OHLCV data using walk-forward ML with feature engineering.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Liangwei-zhang/six-stock --skill ml-strategy-liangwei-zhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ml-strategy
Source: https://github.com/Liangwei-zhang/six-stock/tree/main/Vibe-Trading/agent/src/skills/ml-strategy
Command: npx skills add https://github.com/Liangwei-zhang/six-stock --skill ml-strategy-liangwei-zhang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Machine-learning predictive strategy based on walk-forward training and feature engineering over OHLCV data to forecast future returns and generate trading signals with reduced data leakage.

Core Features & Use Cases

  • Walk-forward training to prevent data leakage during model evaluation.
  • Feature engineering of OHLCV data (momentum, volatility, RSI, MA ratios, volume ratios) to power predictive models.
  • Signal generation by mapping model probabilities to continuous signals or discrete classes for long/neutral/short decisions.
  • Supports multiple models (RandomForest, GradientBoosting, Ridge) and adapt to different data regimes and horizons.

Quick Start

Train the walk-forward ML pipeline on your OHLCV history and generate a daily signal series.

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?

You can generate trading signals from OHLCV data using machine learning by applying walk-forward training and feature engineering to forecast future returns and map model probabilities to long, neutral, or short decisions.

What is walk-forward training in ML forecasting and why is it used?

Walk-forward training in ML forecasting is a validation method that trains models sequentially on historical data to prevent data leakage during model evaluation, ensuring predictions remain robust and reliable.

How do I engineer features from OHLCV data for predictive modeling?

To engineer features from OHLCV data for predictive modeling, you construct technical indicators like momentum, volatility, RSI, moving average ratios, and volume ratios to power the machine learning algorithms.

Can I use machine learning forecasting models for cryptocurrency data?

Yes, you can use machine learning forecasting models for cryptocurrency data, as the pipeline supports OHLCV data across equities, futures, and cryptocurrencies provided there is ample history to train and validate models.

What models are supported for walk-forward ML forecasting?

Supported models for walk-forward ML forecasting include RandomForest, GradientBoosting, and Ridge, which adapt to different data regimes and varying prediction horizons.

How do I map model probabilities to continuous trading signals?

To map model probabilities to continuous trading signals, the pipeline converts predicted outcomes into continuous signals or discrete classes, directly outputting safe long, neutral, or short trading decisions.