Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jeremylongshore avatar

Finding Arbitrage Opportunities

  • 87 installs
  • 2.6k repo stars
  • Updated August 5, 2026
  • jeremylongshore/claude-code-plugins-plus-skills

Scan CEX, DEX, and cross-chain crypto markets for price spreads and calculate net arbitrage profit after fees.

About

Aggregates crypto prices across exchanges and chains to detect direct, triangular, and cross-chain arbitrage opportunities with post-fee profit estimates. A developer uses it to scan for and monitor trading spreads.

  • Scans CEX, DEX, and cross-chain markets via a Python script
  • Computes net profit after fees with risk and confidence levels

Finding Arbitrage Opportunities by the numbers

  • 87 all-time installs (skills.sh)
  • Ranked #534 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill finding-arbitrage-opportunities

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs87
repo stars2.6k
Last updatedAugust 5, 2026
Repositoryjeremylongshore/claude-code-plugins-plus-skills

What it does

Scan CEX, DEX, and cross-chain crypto markets for price spreads and calculate net arbitrage profit after fees.

Files

SKILL.mdMarkdownGitHub ↗

Finding Arbitrage Opportunities

Overview

Detect and analyze arbitrage opportunities across cryptocurrency exchanges and DeFi protocols. Aggregates prices from CEX and DEX sources, calculates net profit after fees, and identifies direct, triangular, and cross-chain arbitrage paths.

Prerequisites

  • Python 3.9+ with httpx, rich, and networkx packages
  • Internet access for API calls (no API keys required for basic use)
  • Optional: Exchange API keys for real-time order book access
  • Understanding of arbitrage concepts and trading fees

Instructions

1. Quick spread scan on a specific pair:

   python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py scan ETH USDC

Shows current prices per exchange, spread %, estimated profit after fees, and recommended action.

2. Multi-exchange comparison across specific exchanges:

   python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py scan ETH USDC \
     --exchanges binance,coinbase,kraken,kucoin,okx

3. DEX price comparison across decentralized exchanges:

   python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py scan ETH USDC --dex-only

Compares Uniswap V3, SushiSwap, Curve, Balancer with gas cost estimates.

4. Triangular arbitrage discovery within a single exchange:

   python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py triangular binance --min-profit 0.5

5. Cross-chain opportunities across different blockchains:

   python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py cross-chain USDC \
     --chains ethereum,polygon,arbitrum

6. Real-time monitoring with threshold alerts:

   python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py monitor ETH USDC \
     --threshold 0.5 --interval 5

7. Export opportunities for bot integration:

   python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py scan ETH USDC --output json > opportunities.json

Output

  • Quick mode (default): Best opportunity with profit estimate, buy/sell recommendation, risk level
  • Detailed mode (--detailed): All exchange prices, fee breakdown, slippage estimates, historical spread context
  • Monitor mode: Real-time updates with threshold alerts and trend indicators

See ${CLAUDE_SKILL_DIR}/references/implementation.md for exchange fee tables and output format examples.

Error Handling

ErrorCauseFix
Rate limitedToo many API requestsReduce polling frequency or add API key
Stale pricesData older than 10sFlagged with warning; retry
No spreadEfficient market pricingNormal condition; try different pairs
Insufficient liquidityTrade exceeds order book depthReduce trade size

Examples

Quick ETH/USDC spread scan - Find best buy/sell across all CEX exchanges:

python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py scan ETH USDC

Sample detection output:

  ARB OPPORTUNITY: ETH/USDC
  Buy:  Binance  @ $3,198.50  |  Sell: Coinbase @ $3,214.20
  Spread: 0.49%  |  Net Profit (after fees): 0.29% ($9.27 per ETH)
  Risk: LOW  |  Confidence: HIGH  |  Window: ~30s

Triangular arb on Binance - Discover circular paths with minimum 0.5% net profit:

python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py triangular binance --min-profit 0.5

Cross-chain USDC opportunities - Compare stablecoin prices across L1/L2 chains:

python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py cross-chain USDC --chains ethereum,polygon,arbitrum

Calculate exact profit - Detailed fee breakdown for a specific trade:

python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py calc \
  --buy-exchange binance --sell-exchange coinbase --pair ETH/USDC --amount 10  # 10 = trade size in ETH

Resources

  • CoinGecko API - Free price data
  • CCXT Library - Unified exchange API
  • Uniswap Subgraph - DEX data
  • ${CLAUDE_SKILL_DIR}/references/implementation.md - Exchange fee tables, configuration, advanced arbitrage types, disclaimer

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.