ml-strategy

Generate trading signals from OHLCV data using scikit-learn models.

1|Updated Jun 23, 2026
One-click install
npx skills add https://github.com/644408071-design/Kokpop --skill ml-strategy-644408071-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ml-strategy
Source: https://github.com/644408071-design/Kokpop/tree/main/agent/src/skills/ml-strategy
Command: npx skills add https://github.com/644408071-design/Kokpop --skill ml-strategy-644408071-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scikit-learn, pandas, numpy, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps traders predict market trends and generate trading signals by applying machine learning models to historical OHLCV data.

Core Features & Use Cases

  • Machine Learning Predictions: Utilizes sklearn models to predict future market returns.
  • Feature Engineering: Extracts relevant features from OHLCV data, such as momentum, volatility, and RSI.
  • Walk-forward Training: Ensures no future data leakage by training models on historical data.
  • Signal Generation: Maps model probabilities to trading signals for buy, sell, or hold decisions.
  • Use Case: A trader uses this Skill to analyze a given stock's price and volume data to predict its future movement and make informed trading decisions.

Quick Start

Generate a trading signal for 'AAPL' stock using the ml-strategy skill with the following command: /ml-strategy 'AAPL' -data 'AAPL_ohlc.csv'.

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 by applying scikit-learn models to historical prices and volumes. This process extracts momentum, volatility, and RSI features to map predicted probabilities into buy, sell, or hold decisions.

What's the best way to predict market trends with scikit-learn and pandas?

Predicting market trends with scikit-learn and pandas is best achieved through walk-forward training on historical OHLCV data. This method prevents future data leakage while training models to forecast asset price movements and identify market trends.

Does walk-forward training prevent data leakage when predicting asset price movements?

Walk-forward training prevents data leakage when predicting asset price movements by strictly training machine learning models on historical data. This ensures that future OHLCV data is never exposed to the model during the feature engineering and training phases.

Can I use machine learning to map model probabilities to buy, sell, or hold decisions?

You can use machine learning to map model probabilities to buy, sell, or hold decisions by training classification models on historical OHLCV data. The resulting probabilities are then translated into actionable trading signals for informed market decisions.

Do I need scikit-learn and pandas to analyze historical OHLCV data for market analysis?

You need scikit-learn and pandas to analyze historical OHLCV data for market analysis because these libraries handle data manipulation and predictive modeling. Numpy is also required to support the underlying numerical operations for feature engineering.

What features should I extract from OHLCV data for predictive modeling?

For predictive modeling using OHLCV data, you should extract features such as momentum, volatility, and RSI. These features are utilized by scikit-learn models to predict future market returns and generate accurate trading signals.