The Claude Quant PlaybookDownload ebookDownload ebook

Put–call parity

intermediateOptions2 of 14

A call minus a put with the same strike and expiry always equals the stock minus the discounted strike. It holds for any model, because the two sides have identical payoffs at expiry.

Build a trading system with Claude.Download ebook

01The formula

price of a European call
price of a European put with the same strike and expiry
today's stock price
the strike, discounted back to today at rate r over T years

02See it move

03Where it is used

04Why traders use it

It ties four prices together with no assumptions about volatility. If you know three, you know the fourth, and any quote that breaks it is a mistake you can trade against.

05Worked example

With S = $100, K = $100, r = 5.0% and T = 1.00 years, C − P = $4.88 and S − K·e^(−rT) = $4.88: the same number, as the formula says.

06How it is built

  1. Portfolio A: buy one call, sell one put. At expiry it is worth , whatever happens.
  2. Portfolio B: buy one share and borrow . At expiry it is worth too.
  3. Two portfolios with the same payoff in every future must cost the same today, or you could buy the cheap one, sell the dear one and pocket the difference.
  4. So .

07The common mistake

Using it for American options or dividend-paying stocks without adjusting. With dividends it becomes , and American options only satisfy an inequality.

08In Python and LaTeX

import numpy as np
S, K, r, T = 100, 100, 0.05, 1.0
rhs = S - K * np.exp(-r * T)
print('C - P must equal', round(rhs, 4))
C - P = S - K e^{-rT}

09Where it fits

Rather not code the maths yourself? Describe your trading idea and let AI build the bot.

Build a bot with AgenKit

The worked example and the model run the same code, so every number matches. Models simplify markets on purpose. This is education, not financial advice.