Skip to main content
skill CX Codex

find-xemm-opps — Claude Code skill: find XEMM pairs

Compares order book depth across exchanges and ranks pairs where one venue suits quoting and another suits hedging.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hummingbot/skills --skill find-xemm-opps -a claude-code
Open on GitHub

What find-xemm-opps does

This skill hunts for cross-exchange market making setups. It reads order books from your connected venues and picks pairs where one exchange shows a wide spread over a thin book — room to quote — while another shows a tight spread over a deep book, which keeps hedging cheap. The gap between mid prices on the two sides is part of the ranking too.

The work happens in scripts/find_xemm_opps.py. You name the pair with --base and --quote, and comma-separated lists work for fungible tokens (--base ETH,WETH). Use --connectors to narrow the venues, --depth for the number of book levels, --min-spread to drop pairs whose mid-price gap is too small, and --json for machine-readable output. Results come as a market table plus a numbered list of pairs, each with a maker side, a hedge side, and the spread and depth ratios between them.

You need a running Hummingbot API and at least two exchange connectors with API keys. Credentials and the endpoint come from HUMMINGBOT_API_URL, API_USER and API_PASS; the script looks for .env in ./hummingbot-api/.env, then ~/.hummingbot/.env, then the current directory. With no API up and no connectors configured, the script has nothing to scan.

What it helps with

  • spot a pair worth quoting on a thin book and hedging on a deep one
  • line up spreads and book depth from several exchanges in one table
  • filter out pairs whose mid-price gap falls under a threshold
  • compare maker and taker spread ratios for shortlisted pairs
  • export the opportunity list as JSON for a closer look

Example prompts for the agent

  • Use find-xemm-opps to scan for XEMM opportunities on SOL/USDT
  • Run python scripts/find_xemm_opps.py --base ETH,WETH --quote USDT,USDC and show me the top pairs
  • Compare books on binance, kraken and okx for BTC/USDT with a minimum spread of 0.05

How to install find-xemm-opps

1Skills CLI (Vercel)

npx skills add hummingbot/skills --skill find-xemm-opps -a claude-code

2Manually: put the files in place

~/.claude/skills/find-xemm-opps/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/find-xemm-opps/

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

Questions about find-xemm-opps

How do I install find-xemm-opps in Claude Code?

Run npx skills add hummingbot/skills --skill find-xemm-opps -a claude-code. The skill lands at ~/.claude/skills/find-xemm-opps/SKILL.md.

What does find-xemm-opps do?

It compares order book depth and liquidity across your connected exchanges, then ranks pairs for cross-exchange market making — which venue to quote on and which to hedge on.

What do I need before running it?

A running Hummingbot API and at least two exchange connectors with API keys. Set HUMMINGBOT_API_URL, API_USER and API_PASS for the endpoint and credentials.

Similar skills

All skills for Finance and business →

From the same set4

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