Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

related-market-spread

Skill by Superior-Trade

Builds a relative-value strategy for two linked Polymarket markets that imply different probabilities for the same outcome. It is meant for traders and developers who want to backtest spread trades with NautilusTrader before adapting them into code.

  • Score 63
  • 235 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install related-market-spread

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Superior-Trade/superior-skills /tmp/superior-skills && mkdir -p ~/.claude/skills && cp -r /tmp/superior-skills/skills/related-market-spread ~/.claude/skills/related-market-spread

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install related-market-spread in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill describes a relative-value strategy for Polymarket. It looks for two comparable canonical markets, tracks the latest filled trade price for each leg, and computes the spread between them. The strategy enters when the spread is above a set threshold and exits when the spread narrows or a maximum holding period ends.

The source suggests subscribing to TradeTick data for both instruments in NautilusTrader and skipping entries until both legs have recent fills. Backtests built from filled trade data can check whether a spread has widened and compressed historically, but they cannot prove simultaneous fills or cross-book liquidity. The source is written for traders who want a starting archetype for discrepancy checks and linked-outcome trades, and it says the code must be adapted before any use.

Written from the project's SKILL.md and checked against it.

What it can do

  • Market pairingLooks for two canonical Polymarket markets from the context markets endpoint with comparable resolution logic.
  • Spread trackingKeeps the latest filled price per leg and computes the spread on each trade tick.
  • Entry and exit rulesEnters when the spread passes a threshold and exits when it narrows or the holding limit is reached.
  • Stale-state safetySkips entries until both legs have recent fills.
  • Parameter tuningAdjusts entry and exit spreads, order size and maximum holding ticks through a strategy config.

What you need

  • Filled TradeTick historical data for both markets
  • NautilusTrader, for custom strategy code

Try asking

  • Find two Polymarket markets with linked outcomes and check their spread.
  • Backtest a related-market spread strategy with entry at 0.08 and exit at 0.03.
  • Check whether the spread between these two Polymarket markets has widened historically.

Good to know

  • The source describes a generated archetype, not a finished trading edge.
  • Backtests from filled TradeTick data cannot prove simultaneous execution across legs.
  • Markets with different outcome mappings can show a structural spread rather than an inefficiency.
  • Resolution rules can change, which changes what a discrepancy means.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/related-market-spread/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md3 KB

Alternatives to related-market-spread

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

related-market-spread: common questions

What does the related-market spread strategy trade?

It trades the spread between two linked Polymarket markets that imply different probabilities for a related outcome.

Can I use this strategy without writing code?

No. The source says the strategy should be adapted into custom NautilusTrader code before any deployment.

What are the main risks of this strategy?

The source lists different outcome mappings, changing resolution rules, illiquid legs live and the inability of trade replay to prove simultaneous execution.

How do I install related-market-spread?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is related-market-spread free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is related-market-spread safe to use?

It scores 63 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to related-market-spread?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

related-market-spread Install

Add to stack

Loading.