Week 02 — Phase 1: Foundations

Derivatives &
Contract Mechanics

Section 1 — Hypothesis

Understand how futures and forward contracts actually work. Know margin mechanics, the clearinghouse's role, and the contract specifications that determine every trade AlgoGators makes.

IP Anchor Section 1 — Hypothesis You cannot write a credible hypothesis about a futures strategy if you don't understand the instrument. This week is the mechanical foundation for everything that follows.

What this week covers

AlgoGators trades primarily in futures markets — corn, wheat, FX, equity index, and interest rate contracts. Before you can write a hypothesis about why a signal should predict returns in these markets, you need to understand the plumbing: how forward and futures contracts are structured, how margin works, what the clearinghouse does, and what contract specifications actually say. This week builds that foundation.

Forward contracts

A forward contract is the simplest derivative. Two parties agree today on a price, quantity, and delivery date for an asset. Settlement happens at maturity.

Key characteristics

  • OTC (over-the-counter): Traded bilaterally between two parties, not on an exchange. No standardization — parties agree on any terms they want.
  • No daily mark-to-market: The contract is not settled until maturity. If the price moves against you for 90 days, you don't post collateral along the way (in a vanilla forward). You settle everything at expiry.
  • Counterparty risk: Because there's no central clearinghouse, if your counterparty defaults before delivery, you lose your gain. This is the core risk of forwards vs. futures.
  • Custom terms: You can agree to any delivery date, quantity, or specification. This is why forwards are common in corporate hedging (a company that knows it will receive €10M in exactly 87 days can hedge that exact amount).

Example: FX Forward

SCENARIO: FX Forward Hedge

A US exporter will receive €5,000,000 in 90 days. Today's spot EUR/USD is 1.0850. The exporter is worried EUR will weaken before they receive payment.

The forward: They enter an OTC forward contract with their bank, agreeing to sell €5M at 1.0820 in 90 days (the forward rate incorporates the US-EU interest rate differential — see Week 3).

Result: In 90 days, regardless of what spot EUR/USD is, the exporter exchanges €5M for $5,410,000 (5,000,000 × 1.0820). The exchange rate risk is eliminated.

Risk remaining: If the bank defaults before delivery, the exporter has credit exposure. This is counterparty risk — eliminated by futures.

Futures contracts

Futures are exchange-traded, standardized forward contracts. They solve the two main problems of OTC forwards: counterparty risk and illiquidity.

How futures differ from forwards

Feature Forward Future
Traded on OTC (bilateral) Exchange (CME, ICE, CBOT)
Standardized No — custom terms Yes — fixed specs
Settlement At maturity only Daily mark-to-market
Counterparty risk Yes (bilateral credit risk) No (clearinghouse)
Margin required Usually no upfront margin Initial + variation margin
Liquidity Low (custom terms) High (standardized)

The major futures exchanges

Contract specifications

Every futures contract has a fixed specification. You need to know yours cold before writing any signal on it — because the contract size, tick, and settlement type determine the P&L math.

E-mini S&P 500 Futures (ES)

UnderlyingS&P 500 Index
Contract Size$50 × S&P 500 Index value
At 5,000 indexNotional = $250,000 per contract
Tick Size0.25 index points = $12.50 per contract
Delivery MonthsMar, Jun, Sep, Dec (quarterly cycle)
Last Trading Day3rd Friday of delivery month
SettlementCash settled to special opening quotation (SOQ)
Initial Margin (approx)~$12,500 per contract (set by CME, changes)

Why does this matter? If you write "I will trade S&P futures," but you don't know the notional is $250,000, you have no idea whether a 1% move is a $2,500 P&L or a $25 P&L. You cannot write a hypothesis about position sizing (even at a high level) without this.

Margin mechanics

Margin is the deposit you put up to hold a futures position. It is not a down payment — it's collateral ensuring you can cover daily losses. This is fundamentally different from stock margin loans.

Three margin concepts

Initial margin: The deposit required to open a position. Set by the exchange (CME, ICE) based on contract volatility. Changes periodically. For ES futures, approximately $12,500 per contract as of recent years.

Maintenance margin: The minimum account balance required to keep the position open. Typically 75–80% of initial margin. If your account falls below this, you receive a margin call.

Variation margin (daily P&L): Every day at settlement, your account is credited or debited the daily gain or loss on your position. This is mark-to-market. If you're long 1 ES contract and the S&P 500 falls 10 points, you lose 10 × $50 = $500, which is immediately debited from your account.

Worked example: ES futures margin call

SCENARIO: Buying 1 ES Contract

Day 0: You buy 1 ES contract at 5,000. Initial margin = $12,500. Account balance after deposit = $12,500.

Day 1: S&P 500 drops 20 points (5,000 → 4,980). Daily P&L = −20 × $50 = −$1,000. Account balance = $12,500 − $1,000 = $11,500.

Day 2: S&P drops another 30 points (4,980 → 4,950). Daily P&L = −30 × $50 = −$1,500. Account balance = $11,500 − $1,500 = $10,000.

Day 3: S&P drops 15 points more (4,950 → 4,935). Daily P&L = −$750. Account = $9,250. Maintenance margin = $10,000 (80% of $12,500). Account is below maintenance — margin call issued.

Margin call: You must deposit $12,500 − $9,250 = $3,250 by next morning to bring account back to initial margin, OR close the position.

Total loss so far: $1,000 + $1,500 + $750 = $3,250 on $12,500 initial margin = 26% loss in 3 days. The S&P fell 65 points, or 1.3%. Leverage amplified this dramatically.

The key insight: Futures are highly leveraged. A $250,000 notional position requires only $12,500 initial margin (20:1 leverage). Small adverse moves compound into significant account drawdowns. This is why understanding margin mechanics is non-negotiable before trading futures.

The clearinghouse

The clearinghouse is what makes futures safe to trade despite their leverage. Every futures exchange has one.

How it works: Novation

When you buy a futures contract and a seller sells it, the clearinghouse steps in between. Through a process called novation, the clearinghouse becomes:

  • The seller to every buyer
  • The buyer to every seller

You no longer have a contract with the original counterparty. You have a contract with the clearinghouse (CME Clearing, ICE Clear, etc.). If the original counterparty defaults, it's the clearinghouse's problem, not yours.

Why daily settlement eliminates credit risk accumulation

Forwards accumulate credit risk over their life. If you enter a 90-day forward and your counterparty defaults on day 88, you've lost 88 days of potential gains. Futures eliminate this by settling every day. The maximum credit exposure you have to the clearinghouse is one day's P&L — and the clearinghouse holds your margin to cover exactly that.

Clearinghouse default fund: In the event of a member default too large for their margin to cover, the clearinghouse draws on a "guaranty fund" contributed by all clearing members. This has never been exhausted at a major exchange — the 2008 financial crisis came close at some exchanges, but daily settlement had already netted most positions down.

Open interest vs. volume

These are the two most important market structure metrics for futures. They're often confused.

Volume: The number of contracts traded in a given day. A buy and a matching sell = 1 contract of volume. High volume means active participation.

Open interest (OI): The total number of outstanding contracts that have not been settled or closed. Every contract in open interest represents one long and one short that haven't netted out. OI changes when new positions are opened (OI increases) or existing positions are closed (OI decreases).

Signal interpretation

Price Open Interest Interpretation
Rising Rising New money entering on long side — bullish confirmation
Rising Falling Short covering (not new longs) — weaker signal
Falling Rising New money entering on short side — bearish confirmation
Falling Falling Long liquidation (not new shorts) — weaker signal

Basis: spot vs. futures convergence

Basis = spot price − futures price. At expiry, the two must converge (or delivery becomes an arbitrage). Before expiry, basis reflects carrying costs and convenience yield.

Why basis matters for hedgers: If you're a corn producer who hedges by shorting corn futures, your hedge is imperfect if the basis changes between entry and close. You locked in the basis at entry; if basis widens or narrows, your hedge gain/loss differs from your cash position gain/loss. This is basis risk.

Futures price (orange) and spot price (blue) converge as expiry approaches. The basis (gap between them) compresses to zero at delivery. The rate of convergence determines roll yield — in contango, futures are above spot and the long holder loses as futures fall toward spot.

Options: a brief introduction

Options appear in AlgoGators research as signals (options flow, implied volatility skew) even when we don't trade options directly. Here's the minimum you need.

Call option: The right (not obligation) to buy the underlying at a fixed price (the strike) before a given date. You pay a premium upfront. If the underlying rises above the strike, you profit.

Put option: The right (not obligation) to sell the underlying at the strike price. Useful for downside protection. If the underlying falls below the strike, you profit.

Premium components:

  • Intrinsic value: How far in-the-money the option is right now. A call at strike 100 on a stock at 105 has $5 intrinsic value.
  • Time value: The remaining value from uncertainty before expiry. Decays to zero at expiry (theta decay).

Implied volatility (IV): The market's expectation of future volatility, backed out of option prices. When IV is high, options are expensive (fear premium). When IV is low, options are cheap. The VIX is the 30-day implied volatility of S&P 500 options.

Options are a deep topic. Options flow data — put/call ratios, implied volatility skew — can serve as signals in commodity and equity strategies. You don't need to trade options to use them as information.

Common mistakes

Five futures mechanics failures

  • Treating a futures position like a stock position. Stocks don't have daily margin flows. Futures do. A "buy and hold" in futures means funding variation margin every day it moves against you. Your effective P&L is not just entry price vs. exit price — it includes the path-dependent cash flows.
  • Not knowing your contract's notional value. 1 corn futures contract = 5,000 bushels. If corn is at $4.50/bushel, 1 contract = $22,500 notional. You must know this before sizing any position or interpreting any P&L.
  • Confusing open interest with volume. High volume today doesn't mean lots of positions are open. High OI means lots of positions are accumulated. They measure different things.
  • Thinking "short futures" means you sold something you own. Shorting futures is just selling contracts you don't own, expecting to buy them back cheaper. There's no "borrowing" involved — you're opening a new contract with the clearinghouse on the short side.
  • Ignoring roll costs in long-term futures strategies. If you hold a continuous long position in any futures market, you roll contracts as they expire. In contango markets, you consistently buy the expensive far contract and sell the cheap near contract. This roll cost directly reduces your returns and must be modeled explicitly.
← Week 1: What Is an Edge? Week 3: FX & Commodity Markets →