📈
AI EngineeringJavaScript

Basis Arb

by Superior-Trade

Basis Arb is an AI Engineering skill for Claude Code, published by Superior-Trade in superior-skills.

207 stars9 forkson Superior-Trade/superior-skillsAdded 2026/09/05Repository updated 2026/09/03
agent-skillsai-agentsalgorithmic-tradingbacktestingequitieshyperliquidllmmcppolymarketprediction-marketsquantstockstradingtrading-bottrading-strategies
Install in seconds
Install Basis Arb
Copy Basis Arb into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/Superior-Trade/superior-skills/tree/main/skills/basis-arb ~/.claude/skills/basis-arb

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/Superior-Trade/superior-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/basis-arb/SKILL.md in Superior-Trade/superior-skills
Installs to
~/.claude/skills/basis-arb
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering3101 skills

What Basis Arb does

Basis Arb turns spot-perp basis and funding into a directional signal for futures entries. Use it when you want to trade the perp leg from basis flips or cash-and-carry setups, not run a hedged two-leg arbitrage.

Basis Arb is cataloged under AI Engineering on DirSkills. Basis Arb comes from a repository tagged agent-skills, ai-agents, algorithmic-trading, backtesting and equities.

Documentation

README

Strategy: Basis Flipping — Directional (Long-Perp Leg)

Honest framing — read this first

True basis arbitrage is a two-leg trade:

  • Long perp + short spot (when perp trades at a discount to spot, basis < 0)
  • Short perp + long spot (when perp trades at a premium, basis > 0)

You earn the basis as the legs converge. Freqtrade is a single-leg engine — it can't run paired hedged trades on the same ticker. The strategy below captures the directional signal that "basis flipping negative + funding negative = bullish positioning shift" and goes long the perp accordingly. It's a momentum read on positioning, not a hedged arb.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Basis Arb

  • What else does Superior-Trade publish alongside Basis Arb?

    Basis Arb is one of 25 skills that DirSkills catalogs from Superior-Trade/superior-skills, the repository it ships in. Its siblings there include Aerodrome Trading, Backtesting and Bollinger Reverter 4H. Each one is a separate skill with its own page in this directory, installs the same way Basis Arb does, and is maintained by Superior-Trade in that same repository. The rest of the collection is listed on the Superior-Trade/superior-skills page.

  • How does Basis Arb compare to other AI Engineering skills?

    Basis Arb ranks #2752 by stars among the 3101 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Basis Arb against them. Open each page to compare what they document and how they install.

More from Superior-Trade/superior-skills

Basis Arb is one of 25 skills cataloged on DirSkills from Superior-Trade/superior-skills.

See all 25 skills
🦅
49m ago

Aerodrome Trading

Aerodrome Trading helps create, validate, backtest, and deploy Aerodrome/Base spot trading strategies through the Superior Trade API. It is used for Freqtrade configs, market-swap execution, balance checks, and live-trading safety on Base.
AI Engineering
2079
📊
49m ago

Backtesting

Backtesting helps you run and judge strategy backtests on Superior Trade, including window selection, sample-size checks, parameter sweeps, walk-forward validation, and zero-trade diagnosis. Use it when deciding whether a result is trustworthy or worth iterating on.
Quality
2079
📉
49m ago

Bollinger Reverter 4H

Bollinger Reverter 4H defines a symmetric Bollinger-band mean-reversion strategy for 4h charts. Use it when building a range-trading setup with ADX, RSI, and a tight ROI ladder around band touches.
AI Engineering
2079
📈
49m ago

Breakout

Breakout writes a swing or intraday momentum strategy for Superior Trade using prior highs, range expansion, and trailing stops. It also flags that long-only breakouts can fail in downtrends and should use a regime filter or multi-pair scan.
AI Engineering
2079
📈
49m ago

Catalyst Confirmation

Catalyst Confirmation checks whether a Polymarket market reacts after an external event like CPI, Fed decisions, or court rulings. Use it when a thesis depends on post-event price confirmation before entering a trade.
AI Engineering
2079
📈
49m ago

DCA Weekly

DCA Weekly helps write and validate scheduled buy strategies that add to the same trading pair on a calendar cadence. Use it for weekly, monthly, or daily accumulation on Superior Trade instead of price-triggered buying.
AI Engineering
2079