Derivatives: forwards, futures, options and static arbitrage
Study discount curves, forward and futures contracts, option payoffs, put-call parity and static no-arbitrage bounds.
After this lesson you can
- Calculate discount factors and zero rates from bond prices and convert between compounding conventions.
- Derive the forward price by replication with financing costs, dividends and convenience yield.
- Explain daily futures settlement, basis and when forwards and futures differ.
- Construct option strategy payoff profiles and prove put-call parity.
- Prove static no-arbitrage bounds and detect violations in an option-price chain.
Before you start
A contract on another asset
A derivative transforms payoffs of an underlying asset: a forward fixes a future exchange and an option grants a right. Before choosing a probability model, compare portfolios with equal or dominating payoffs. Under single prices and frictionless financing and long and short positions, a negative-cost portfolio with nonnegative payoff constitutes arbitrage. The conclusions below are theoretical bounds, not a claim that actual quotes can be traded without costs.
Discounting and building a curve
The zero-coupon discount factor is today’s price of one unit payable with certainty at . For continuous rate , ; for effective annual compounding , ; with simple interest , . These are different conventions for the same quantity when converted correctly. A positive factor can exceed one when the rate is negative: no arbitrage alone does not require positive rates.
For example, over one year 4% continuous is equivalent to an effective rate , not exactly 4% effective. The discount is . For cash flows at different dates apply each flow’s own factor; using one bond yield for all coupons mixes valuation with a summary rate.
If bonds have face value 100 and annual coupon 4, maturing in 1, 2 and 3 years, their prices satisfy
Bootstrapping first solves , then and finally . A change in an early bond propagates to later solutions. Irregular maturities and coupons require interpolation and checks of dates, accrued interest and price consistency.
Between and , the implied continuous forward rate is . It equalizes investments under those quotes, not a certain prediction of the future rate. The lab curve comes from fitted zero yields published in FRED; a coupon-bond yield or constant-maturity Treasury rate is not automatically a zero rate.
Forwards and futures
A long forward agrees to receive the asset at for price , with payoff . At inception, if initial cost is zero, delivery price follows by replication. For known continuous yield and constant continuous rate ,
A prepaid asset delivering one unit at maturity costs ; financing it until gives . For known discrete dividends, subtract their present value from the initial price and divide by : . The formula requires those flows to be truly known and replicable. For storage and convenience yield, is often written under a model of tradable continuous costs and yields; for physical commodities, inventory and sale constraints may prevent reverse arbitrage, so the equality is not imposed without its assumptions.
Direction matters. If the quoted delivery price exceeds , borrow , buy the prepaid asset and sell the forward. At maturity deliver the asset, receive the agreed price and repay ; the difference is positive. If it is lower, the reverse trade requires selling the prepaid asset and taking the long forward. The argument requires trading and financing both legs under the assumed conditions; taxes, uncertain dividends or short-sale constraints may break the operational equality.
An existing forward with delivery has value to the long , if denotes the current delivery price for the same maturity. Delivery price and contract value differ: the former is a future level and the latter today’s value of an existing commitment.
Standardized futures are cleared through a clearinghouse. In daily marking to market, price changes are credited or charged to the margin account; initial margin is collateral, not the full asset price. Basis is usually spot minus futures and depends on delivery dates and quality. With deterministic rates and otherwise matching conditions, forward and futures have the same theoretical price. With random rates, settlement timing and its correlation with price can create a convexity difference: they cannot always be equated.
For a one-unit long position, if settlement price moves from 100 to 102 and then 99, margin movements are +2 and −3 before multipliers and fees. Their nominal sum is −1, but flows occur on different days and their financed value depends on when they are received or paid. CME describes daily settlement and margin marking.
Options as payoff building blocks
Option payoffs depend on terminal price and strike. A European call pays and a European put ; European options are exercised only at maturity. An American option permits earlier exercise. For a call, in the money means ; for a put, . Payoff is not profit: the latter includes premium, its financing, costs and quantities.
A long straddle adds a call and put at the same strike and pays . An equally spaced butterfly buys a low and a high call and sells two middle calls: its payoff is nonnegative and concentrated between strikes. A synthetic forward buys a call and sells a put at the same strike, paying . Do not infer that a strategy is free just because its payoff has a known form.
Parity and static bounds
European put-call parity follows from . A call plus a bond paying replicates a put plus a prepaid asset delivering the underlying:
for deterministic continuous yield . Without dividends ; with known discrete dividends . Matching maturity, strike, currency and exercise style are essential. For American options the equality does not generally hold. For a non-dividend asset and nonnegative rate, usual bounds are ; dividends and negative rates require reanalyzing exercise and financing strategies.
To check parity state by state, if the call plus bond pays , as does prepaid asset plus put; if , both portfolios pay . For example, with , and , parity requires . If a call costs 11 and the put 8, selling the call, buying the put and prepaid asset, and issuing the bond paying 100 generates initial income 1 with zero terminal payoff. This is an example with single prices and ideal borrowing.
For European options on a nonnegative underlying and tradable prepaid asset, static bounds include
If , a low-strike call is worth at least as much as a high-strike call and their difference is at most ; puts have reverse monotonicity and the same spread limit. For , with , convexity means . The portfolio long the endpoints at those weights and short one middle call has nonnegative payoff for all .
The difference between calls at strikes pays between zero and , giving its two price bounds. For unequally spaced strikes such as 85, 100 and 120, the low-end weight is and high-end weight : using half a call at each endpoint would be incorrect. Convexity also holds for puts. These classical rational-pricing constraints are studied, among other sources, in Merton (1973).
If the middle call costs more than 14.5, that butterfly costs less than zero and never pays negatively; it is arbitrage under ideal assumptions. Equality at zero cost requires examining possible states to decide whether strict profit exists. The checker below identifies strictly negative costs and does not automatically declare a boundary equality arbitrageable.
An actual chain has bid and ask prices, sizes, times and restrictions. An executable test buys at the ask and sells at the bid for each leg, includes financing and dividends, and checks simultaneous liquidity. A violation calculated with mid-prices may disappear with those costs; the lab uses one synthetic price per instrument and does not claim to find tradable opportunities.
Lab: arbitrage portfolios
We represent each portfolio by quantities of calls and puts, a prepaid asset delivering , and a zero-coupon bond paying one unit. Each record has negative initial cost and nonnegative terminal payoff for all . The detector checks parity, bounds, adjacent strike spreads and convexity of consecutive triples for calls and puts. Triples use correct weights even for unequal strikes; these fixed-chain tests do not cover maturity differences or execution constraints.
import numpy as np
def detect_static_arbitrage(strikes,calls,puts,S,r,q,T,tol=1e-9):
K=np.asarray(strikes,float); C=np.asarray(calls,float); P=np.asarray(puts,float)
if K.ndim!=1 or len(K)<3 or C.shape!=K.shape or P.shape!=K.shape or not np.isfinite(np.r_[K,C,P,S,r,q,T]).all() or S<=0 or T<=0 or K[0]<0 or np.any(np.diff(K)<=0):
raise ValueError('Cadena o parámetros inválidos')
D=np.exp(-r*T); A=S*np.exp(-q*T); n=len(K); out=[]
def add(label,bond=0.,prepaid=0.,calls=None,puts=None):
c=np.zeros(n) if calls is None else np.asarray(calls,float)
p=np.zeros(n) if puts is None else np.asarray(puts,float)
cost=float(bond*D+prepaid*A+c@C+p@P)
if cost < -tol: out.append({'violacion':label,'coste':cost,'bono':bond,'prepago':prepaid,'calls':c,'puts':p})
def pos(*pairs):
x=np.zeros(n)
for i,v in pairs: x[i]+=v
return x
for i,k in enumerate(K):
unit=pos((i,1)); short=-unit
add(f'call no negativa {i}',calls=unit)
add(f'call inferior {i}',bond=k,prepaid=-1,calls=unit)
add(f'call superior {i}',prepaid=1,calls=short)
add(f'put no negativa {i}',puts=unit)
add(f'put inferior {i}',bond=-k,prepaid=1,puts=unit)
add(f'put superior {i}',bond=k,puts=short)
add(f'paridad call cara {i}',bond=-k,prepaid=1,calls=short,puts=unit)
add(f'paridad put cara {i}',bond=k,prepaid=-1,calls=unit,puts=short)
for i in range(n-1):
dk=K[i+1]-K[i]; c=pos((i,1),(i+1,-1)); p=pos((i,-1),(i+1,1))
add(f'call monotonia {i}',calls=c); add(f'call pendiente {i}',bond=dk,calls=-c)
add(f'put monotonia {i}',puts=p); add(f'put pendiente {i}',bond=dk,puts=-p)
for i in range(n-2):
a=(K[i+2]-K[i+1])/(K[i+2]-K[i]); v=pos((i,a),(i+1,-1),(i+2,1-a))
add(f'call convexidad {i}',calls=v); add(f'put convexidad {i}',puts=v)
return outThe test chain is generated with a finite three-state distribution of mean 100, zero rate and dividend; one call is then altered. The grid checks payoffs of found portfolios, including breakpoints. Beyond the last strike the payoff is linear, so we also check a distant point. This is not a real chain.
K=np.array([80.,100.,120.]); states=np.array([60.,100.,150.]); prob=np.array([.25,.55,.20])
C=np.maximum(states[:,None]-K,0).T@prob; P=np.maximum(K-states[:,None],0).T@prob
print('cadena válida:',len(detect_static_arbitrage(K,C,P,100,0,0,1)))
Cbad=C.copy(); Cbad[1]+=8
violations=detect_static_arbitrage(K,Cbad,P,100,0,0,1)
grid=np.r_[np.linspace(0,300,1201),1e6]
for a in violations:
payoff=a['bono']+a['prepago']*grid+sum(a['calls'][i]*np.maximum(grid-k,0)+a['puts'][i]*np.maximum(k-grid,0) for i,k in enumerate(K))
assert a['coste']<0 and payoff.min()>-1e-7
print('violaciones:',[a['violacion'] for a in violations],'| carteras verificadas:',len(violations))Lab: curve and forward
First recover factors from three synthetic annual bond prices. Then download FRED series THREEFY1, THREEFY2 and THREEFY3, zero yields fitted by the Kim-Wright model. These are estimates from a term-structure model, not prices of the synthetic bonds or par rates. The date is fixed at 2025-12-31 and data may be revised. The lab needs local Python with network access; we linearly interpolate continuous yield between one and two years as an illustrative convention, not the only possible curve.
import numpy as np
true_d=np.exp(-np.array([.03,.07,.12])); prices=np.array([104*true_d[0],4*true_d[0]+104*true_d[1],4*(true_d[0]+true_d[1])+104*true_d[2]])
def bootstrap(prices,coupon=4,face=100):
d=[]
for price in prices:
value=(price-coupon*sum(d))/(face+coupon)
if value<=0: raise ValueError('Factor no positivo')
d.append(value)
return np.array(d)
d=bootstrap(prices); print('precios sintéticos:',np.round(prices,5),'| factores:',np.round(d,6),'| ceros continuos:',np.round(-np.log(d)/np.arange(1,4),5))import io, urllib.request
import numpy as np, pandas as pd
date='2025-12-31'; yields=[]
for i in (1,2,3):
url=f'https://fred.stlouisfed.org/graph/fredgraph.csv?id=THREEFY{i}&cosd={date}&coed={date}'
with urllib.request.urlopen(url,timeout=40) as response: data=pd.read_csv(io.BytesIO(response.read()))
row=data.loc[data['observation_date']==date,f'THREEFY{i}']
if len(row)!=1 or not np.isfinite(pd.to_numeric(row,errors='coerce').iloc[0]): raise ValueError('Falta la fecha solicitada')
yields.append(float(row.iloc[0])/100)
z=np.asarray(yields); maturity=1.5; z15=np.interp(maturity,[1,2,3],z); D=np.exp(-z15*maturity)
S=100.; q=.01; forward=S*np.exp(-q*maturity)/D
print('fecha',date,'| ceros FRED',np.round(z,6),'| cero interpolado',round(z15,6),'| descuento',round(D,6),'| forward hipotético',round(forward,6))npm run lab and open the connection link.The run using the accessed download gave continuous zero rates 0.035099, 0.034833 and 0.035255 at one, two and three years. The interpolated 1.5-year zero rate was 0.034966 and the forward on a hypothetical index of 100 with was 103.815905. Comparing with the synthetic curve compares two distinct examples, not calibration of the first to FRED.
Exercises
Step 1 of 3. If the final price exceeds K, what does each portfolio pay?
Step 1 of 3. What portfolio forms the butterfly?
def detect_static_arbitrage(K,C,P,S,r,q,T):
raise NotImplementedError()Ideas to remember
A discount factor moves payoffs to the same date; the forward combines prepayment and financing. Futures and forwards can differ with random rates. European parity and bounds follow from replicating or dominating portfolios, but an arbitrage signal using mid-prices does not establish an executable real trade.