BeClaude

markov-hedge-fund-method

New
GitHub TrendingGeneralby jackson-video-resources

Markov regime detection skill + one-shot install prompt + Pine indicator. Companion to Quant Series video 1. Framework by Roan (@RohOnChain).

First seen 5/22/2026

Summary

This skill implements Markov regime detection for financial time series, enabling developers to identify market states (bull, bear, neutral) and integrate them into trading strategies.

  • It includes a one-shot install prompt and a Pine Script indicator, making it easy to deploy in Claude Code for quantitative analysis.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/markov-hedge-fund-method.md https://raw.githubusercontent.com/jackson-video-resources/markov-hedge-fund-method/main/SKILL.md
3
Invoke in Claude Code
/markov-hedge-fund-method

Use Cases

Detecting hidden Markov regimes in historical price data to classify market phases.
Generating a Pine Script indicator for TradingView that visualizes regime states.
Backtesting a simple hedge fund strategy that switches allocations based on detected regimes.
Integrating regime detection into an existing Python trading bot for adaptive decision-making.
Analyzing cryptocurrency or stock data to identify regime shifts and volatility clusters.
Creating a one-shot setup script that installs all dependencies and runs the model on sample data.

Usage Examples

1

/markov-hedge-fund-method analyze regime on BTC-USD daily data from 2020-01-01 to 2023-12-31

2

Generate a Pine Script indicator for regime detection and explain how to add it to TradingView

3

Run the one-shot install and then backtest a regime-switching strategy on SPY data

View source on GitHub

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is markov-hedge-fund-method?

This skill implements Markov regime detection for financial time series, enabling developers to identify market states (bull, bear, neutral) and integrate them into trading strategies. It includes a one-shot install prompt and a Pine Script indicator, making it easy to deploy in Claude Code for quantitative analysis.

How to install markov-hedge-fund-method?

To install markov-hedge-fund-method: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/markov-hedge-fund-method.md https://raw.githubusercontent.com/jackson-video-resources/markov-hedge-fund-method/main/SKILL.md. Finally, /markov-hedge-fund-method in Claude Code.

What is markov-hedge-fund-method best for?

markov-hedge-fund-method is a skill categorized under General. Created by jackson-video-resources.

What can I use markov-hedge-fund-method for?

markov-hedge-fund-method is useful for: Detecting hidden Markov regimes in historical price data to classify market phases.; Generating a Pine Script indicator for TradingView that visualizes regime states.; Backtesting a simple hedge fund strategy that switches allocations based on detected regimes.; Integrating regime detection into an existing Python trading bot for adaptive decision-making.; Analyzing cryptocurrency or stock data to identify regime shifts and volatility clusters.; Creating a one-shot setup script that installs all dependencies and runs the model on sample data..