Skip to main content
skill CX Codex

trading-strategies — Claude Code skill: what it does, how to install

A development framework for prediction market trading strategies. Helps design, backtest, and run arbitrage, momentum, or mean-reversion logic in Python.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add agentmc15/polymarket-trader --skill trading-strategies -a claude-code
Open on GitHub

What trading-strategies does

The skill provides a Python framework for prediction market trading algorithms. It defines BaseStrategy, an abstract class handling MarketState inputs, position sizing, and confidence-based execution filters.

Ready-made templates cover three approaches: spread arbitrage when binary outcome prices exceed 1.0, momentum scoring based on orderbook imbalance, and mean reversion using rolling z-scores. All signal generation logic relies on Python dataclasses and asynchronous methods.

Because the base classes rely on structured fields like orderbook depth and 24-hour volume, your project needs a reliable data feed to populate MarketState.

What it helps with

  • detect overpriced prediction markets where outcome prices sum over one
  • calculate orderbook imbalance from bid and ask depth
  • generate mean-reversion signals based on price z-scores
  • filter execution signals by minimum confidence thresholds

Example prompts for the agent

  • Build an arbitrage strategy subclass checking for yes and no prices above one.
  • Implement a mean reversion strategy using a 24-hour lookback window and z-score.
  • Calculate trading signals using orderbook imbalance and price change metrics.

How to install trading-strategies

1Skills CLI (Vercel)

npx skills add agentmc15/polymarket-trader --skill trading-strategies -a claude-code

2Manually: put the files in place

~/.claude/skills/trading-strategies/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/trading-strategies/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about trading-strategies

How to install trading-strategies in Claude Code?

Run npx skills add agentmc15/polymarket-trader --skill trading-strategies -a claude-code in your terminal.

What does the trading-strategies skill do?

It provides a Python architecture for building trading strategies on prediction markets, including base classes, signal models, and example strategy implementations.

What strategy patterns are included?

The code includes patterns for binary contract arbitrage, orderbook imbalance momentum, and statistical mean reversion using z-scores.

Similar skills

Everything for Finance and business →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor