Education
A crypto arbitrage course from the basics to DEX and prediction markets, and a glossary of the terms a trader meets every day.
Crypto arbitrage course
7 sections and 25 lessons: from cross-exchange arbitrage basics to DEX and prediction markets.
- What is Crypto Arbitrage — Basics of arbitrage trading, types of arbitrage and first steps for beginners (Lessons: 3)
- Spot Arbitrage — Cross-exchange spot arbitrage and Spot — Futures strategy (Lessons: 4)
- Futures Arbitrage — Futures-Futures, Fair-Last and funding arbitrage (Lessons: 4)
- DEX Arbitrage — Arbitrage between DEX and CEX, crosschain strategies (Lessons: 4)
- Stock Arbitrage — Tokenized stock arbitrage on crypto exchanges (Lessons: 3)
- Prediction Market Arbitrage — Polymarket, Kalshi and others — prediction arbitrage (Lessons: 4)
- Arbitrage betting — Surebets from scratch: the maths, market types, Polymarket and bookmakers, risks (Lessons: 5)
- Pumps and Dumps — CEX Pumps and DEX Dumps — tracking sharp price movements (Lessons: 3)
- Crypto API for traders — Crypto market data through an API: your first request, spreads, order books, funding, a Python monitor and automation risks (Lessons: 5)
Glossary
Short definitions of trading and arbitrage terms with worked examples.
- 1X2 (match result) — 1X2 is the match result market: 1 is a home win, X a draw, 2 an away win. How to read the bookmaker margin in a 1X2 line and build an arbitrage bet from it.
- API — An API is a set of rules programs use to exchange data. Public and private exchange APIs, REST vs WebSocket, data APIs and a Genesis API request example.
- API endpoint — An endpoint is the URL of one API function: base URL, path and parameters. A Genesis API URL broken down, path vs query parameters, 400, 403, 404, 410 errors.
- API key — An API key is a string an API uses to identify a client. Why it goes in a header, not the URL, how to store it and the risk of exchange keys with withdrawals.
- API polling — API polling means periodic requests for fresh data. How to pick an interval from data freshness and how many calls polling every 10 seconds uses in 30 days.
- APR and APY — APR is a yearly rate without reinvesting, APY is the yield with compounding. The conversion formula, a worked example and how to annualize a funding rate.
- Asian handicap — Asian handicap is a two-way handicap with no draw; quarter lines 0.25, 0.75 and 1.25 split the stake between two lines. Settlement table and examples.
- Basis — Basis is the gap between a futures price and the spot price. Contango and backwardation, the formula, an example and its role in spot-futures arbitrage.
- Betting exchange — A betting exchange lets bettors back and lay against each other through an order book, with commission on net winnings. Lay bet example and sportsbook comparison.
- Betting line — A betting line is the set of odds and numbers a sportsbook offers on a game before kickoff. Lines on totals and spreads, line movement, margin and arbitrage.
- Bookmaker margin (overround) — Bookmaker margin, or overround, is the markup built into odds: implied probabilities of all outcomes add up to more than 100%. Formula, 1X2 example, link to arbs.
- Both teams to score — Both teams to score (BTTS) is a bet on each team scoring at least one goal. How Yes and No settle, which goals count, and an arbitrage example.
- Cross-chain bridge — A cross-chain bridge moves tokens from one blockchain to another. How bridges are built, what makes up the cost of a transfer and which risks to account for.
- Data freshness — Data freshness is the age of API data when it reaches you. How to compute it from meta.updated_at and what freshness_sec, age_sec and stale mean in Genesis API.
- Decimal odds — Decimal odds show how much you get back per unit staked, stake included. The return formula, a worked 1.50 example and converting decimal odds to probability.
- Delisting — Delisting is the removal of a coin or trading pair from an exchange. Why exchanges drop coins, what happens to price and funds, and why it is risky in arbitrage.
- DEX (decentralized exchange) — A DEX is an exchange where you swap crypto from your own wallet via smart contracts. How liquidity pools work, DEX vs CEX, and where arbitrage fits in.
- Double chance — Double chance covers two of three match outcomes: 1X, X2 or 12. How to price it from 1X2 odds and build an arbitrage bet against the third outcome.
- Draw no bet — Draw no bet: a bet on a team to win, stake returned on a draw, same as Asian handicap 0. DNB odds from 1X2, a worked example, vs double chance.
- ETag and If-None-Match — ETag is a version tag on an HTTP response. How If-None-Match makes a request conditional, why 304 Not Modified has no body and how it saves traffic and quota.
- Function calling — Function calling lets an LLM return a tool name and JSON arguments while your code makes the request. The tool schema, the call loop and safety rules.
- Funding rate — The funding rate is a regular payment between longs and shorts on perpetual futures. How it works, how often it is paid, the formula and a worked example.
- Gas (network fee) — Gas is the network fee for executing a transaction on a blockchain. What its size depends on, how to calculate the cost and why gas matters for DEX arbitrage.
- Handicap — A handicap adjusts one team's score before the bet settles. How −1.5 and +1.5 work, whole-number and European handicap, and an arb example.
- Honeypot token — A honeypot is a token you can buy but cannot sell. How the trap works, which signs give it away and how to check a token before you buy it.
- HTTP 429 Too Many Requests — HTTP 429 Too Many Requests means a request hit the server's rate limit. What Retry-After says, how to retry with backoff and how Genesis API returns 429.
- Implied probability — Implied probability formula: 1 ÷ decimal odds. A worked example with bookmaker margin, removing the vig to get fair probability, and a table of common odds.
- JSON — JSON is a text data format: objects, arrays, strings, numbers, true, false and null. A Genesis API response, percentages as numbers and parsing in Python.
- Latency — Latency is the time from an event on an exchange to the data in your code. What it is made of and why a stale price shows a spread that is already gone.
- Leverage — Leverage lets you open a position larger than your own collateral. How to work out position size and how leverage changes profit, loss and liquidation risk.
- Liquidation — Liquidation is the forced closing of a position by the exchange when margin no longer covers the loss. How to estimate the liquidation price and lower the risk.
- Liquidity — Liquidity is how easily an asset can be bought or sold close to the market price. How to judge it from the order book and volume, and why it matters in arbitrage.
- Maker and taker — A maker adds an order to the book, a taker fills an existing one. How they differ, why their fees are not the same and how to account for it in arbitrage.
- Mark price — The mark price, or fair price, is the futures price an exchange uses for profit and liquidation. How it differs from the last price and why the gap matters.
- Market and limit orders — A market order fills at once at order book prices, a limit order only at your price or better. A comparison, a worked example and what to choose in arbitrage.
- Market depth — Market depth is the volume of orders within a set distance of the best price. Why it beats spread for large trades, an example and Genesis API depth fields.
- MCP (Model Context Protocol) — MCP is the open protocol that connects data and tools to AI applications. Hosts, clients, servers and tools, and how to wrap a REST API in your own MCP server.
- Middle bet — Middle betting explained: two bets on opposite sides of a total or handicap at different lines. A worked example, the formula and middle vs arb.
- Open interest (OI) — Open interest is the total of all open positions on a futures contract. How OI differs from trading volume, how to read it together with price, and an example.
- OpenAPI — OpenAPI is the open standard for machine-readable HTTP API descriptions: paths, parameters, schemas and auth. Its Swagger roots and the Genesis API spec.
- Order book — An order book lists the buy and sell orders on an exchange. What bid and ask mean, what order book depth is and why it decides the real price of a trade.
- Perpetual futures — A perpetual future is a contract on an asset's price with no expiry date. How it differs from dated futures and spot, how funding works and where arbitrage fits.
- Rate limit — A rate limit caps how many API requests you can make per second and per period. The 429 response, Retry-After, X-RateLimit headers and Genesis API plan limits.
- Regular time — Regulation time excludes extra time and shootouts: 90 minutes plus stoppage in football, 60 in hockey. How it settles 1X2, handicaps and totals.
- REST API — A REST API exposes data as resources at URLs, and the HTTP method sets the action. A GET request to Genesis API broken down, JSON response, REST vs WebSocket.
- Slippage — Slippage is the gap between the expected and the actual price of a trade. Why it happens, how to calculate it and how to keep it low in arbitrage.
- Spread — A spread is the price gap of one asset between exchanges or between the best orders in a book. The formula, a worked example and its role in arbitrage.
- Stake limiting — Stake limiting is when a sportsbook cuts the maximum bet for one account. What a limited account looks like and how it breaks an arb.
- Surebet (arbitrage bet) — A surebet (arbitrage bet) covers every outcome at different bookmakers so you profit whichever way the event ends. The condition, formula and a worked example.
- Totals (over/under) — Totals (over/under) is a bet on combined goals or points against a line. Lines 2.5, 2 and 2.25, how Asian totals settle and an arbitrage bet on totals.
- Value bet — Value bet meaning: a bet whose odds are higher than the true probability of the outcome justifies. The value betting formula and a worked example.
- Void bet — A void bet is settled at odds of 1.00 and your stake comes back. When sportsbooks void bets, how it changes a parlay and an arbitrage bet with Polymarket.
- VWAP (volume-weighted average price) — VWAP is the volume-weighted average price. The formula, VWAP over a period and an order's average fill price from the book, with a three-level example.
- Webhook — A webhook is an HTTP request a service sends to your URL when an event happens. How it works, how it differs from polling and how to get alerts without code.
- WebSocket — WebSocket is a persistent two-way connection where the server pushes updates. How exchanges stream order books and trades over it and when REST fits better.
- Wrapped token — A wrapped token stands for another asset on a network where the original cannot run, like WBTC or WETH. How wrapping works, its risk and what it means for arbitrage.