Week 03 — Phase 1: Foundations

FX & Commodity
Markets

Section 1 — Hypothesis

Understand what drives prices in FX and commodity markets. Know the structural and behavioral forces that create edges in the markets where AlgoGators trades most actively.

IP Anchor Section 1 — Hypothesis You can only write a hypothesis about markets you understand. This week builds the FX and commodity foundation.

What this week covers

Markets are not interchangeable. FX is driven by interest rate differentials and central bank policy. Commodities have storage costs, seasonal patterns, and convenience yields that shape their term structures. This week walks through the core mechanics of both asset classes, how prices are determined, and where AlgoGators finds edges. Next week covers fixed income and equity factors.

FX markets

Core mechanics

FX spot rates are determined by supply and demand for each currency. The forward rate (price locked in today for delivery in the future) incorporates the spot rate plus the cost of carry — primarily the interest rate differential between the two currencies.

Covered Interest Parity: The relationship between spot, forward, and interest rates.

\[ F = S \cdot \frac{1 + r_d}{1 + r_f} \]

Where F = forward rate, S = spot rate, r_d = domestic interest rate, r_f = foreign interest rate.

If you borrow low-yield currency and lend high-yield currency, you're paid the interest differential. This is the carry trade — and it's structurally persistent because the interest differential reflects real economic differences.

What drives FX rates

The edge: Uncovered Interest Parity failure

Theory says: if interest rates in Country A are 3% and in Country B are 1%, the currency of B should depreciate by roughly 2% per year to equalize returns. This is covered interest parity.

But uncovered interest parity (the weaker version: speculators fully arbitrage the forward market) fails empirically. The high-yield currency often appreciates, not depreciates. Carry trades (borrow low, lend high) have been profitable for decades. This is a structural edge — hedgers need to pay speculators a risk premium to take on currency risk.

Key FX instruments

Spot: Delivery in 2 business days. The reference price. Most liquid in EUR/USD, USD/JPY, GBP/USD, USD/CHF, AUD/USD.

Forwards: OTC bilateral agreement locking in an exchange rate for future delivery. Carry risk from interest rate differentials. Counterparty risk (no exchange clearinghouse).

FX Futures: Exchange-traded forwards. CME offers EUR, GBP, JPY, AUD, CAD futures. Standardized contract sizes (EUR: 125,000 per contract). Daily mark-to-market. Clearinghouse eliminates counterparty risk.

Cross rates: Pairs that don't involve USD (e.g., EUR/GBP, EUR/JPY). Higher spreads, sometimes lower liquidity.

Commodity futures

Core mechanics

Commodity futures have a term structure (different prices for different delivery months). The shape of this term structure — whether it slopes upward (contango) or downward (backwardation) — tells you something important about supply and demand.

Contango: Forward prices are higher than spot. Incentive to store the commodity now and sell later (at the higher future price). Storage costs are worth it.

Backwardation: Forward prices are lower than spot. Incentive to sell now (spot) rather than store. Usually signals supply tightness or high convenience value.

Cost of carry

The fair value of a commodity forward is determined by storage costs and convenience yield:

\[ F = S \cdot e^{(r + u - c)T} \]

Where u = cost of storage, c = convenience yield (benefits of holding physical commodity), r = interest rate, T = time to maturity.

Roll yield: A strategy that is long front-month futures and rolls into the next contract before expiry. In backwardation (front > back), rolling captures positive yield. In contango (front < back), rolling costs money.

What drives commodity prices

The edge: Roll yield and seasonality

Both are structural. Roll yield is determined by physical costs (storage, convenience). Seasonality is driven by harvest cycles. These don't change just because traders learn about them. AlgoGators operates in both — roll yield strategies are core to the commodity book, and satellite weather data gives us a seasonal signal advantage.

Commodity contract mechanics

Example: CBOT Corn Futures (ZC)

UnderlyingNo. 2 Yellow Corn
Contract Size5,000 bushels
Price QuotationCents per bushel
Tick Size¼ cent/bushel = $12.50/contract
Delivery MonthsMar, May, Jul, Sep, Dec
Last Trading DayBusiness day prior to 15th of delivery month
SettlementPhysical delivery

Chart: Term structure shapes

Commodity futures term structures. Corn (orange) in backwardation: front-month contracts at a premium. This signals supply tightness and produces positive roll yield. Wheat (blue) in contango: forward prices are higher. Rolling these contracts will lose money.

Common mistakes

Five false assumptions about FX and commodity markets

  • Assuming FX forwards already price in your edge. If the forward market is efficient, you can't profit from interest rate differentials alone. The edge must come from mispricing of the forward, not the differential itself. UIP failure is the edge — not CIP (which holds tightly).
  • Commodity strategy without accounting for roll yield drag. Roll costs compound. A strategy with 12% gross Sharpe can have 8% net Sharpe after roll costs. Always model this.
  • Confusing futures prices with spot prices. A futures contract expiring in 6 months is NOT the same as the spot asset. The futures price is pinned to spot + carry at expiry, but before expiry they can diverge significantly.
  • Ignoring seasonality as a confounder. When you see a pattern in corn prices, always check whether it's seasonal (known to market) vs. something incremental. Seasonal patterns are known — your edge must beat the seasonal baseline.
  • Not understanding the roll schedule for your contract. Different commodity contracts roll at different times. Getting caught in a contract on first-notice day means unexpected physical delivery risk. Know your contract's roll rules cold.
← Week 2: Derivatives & Mechanics Week 4: Fixed Income & Equity Factors →