derivatives_put-call-parity
Check put-call parity and detect arbitrage opportunities in options markets using observed prices and parameters.
Instructions
Put-call parity check and arbitrage detection.
Use when checking put-call parity or detecting arbitrage opportunities. Provide call price, put price, spot, strike, rate, and time. Returns: parity check, theoretical values, and any arbitrage amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| K | Yes | Strike price | |
| S | Yes | Spot price of the underlying | |
| T | Yes | Time to expiration in years | |
| q | No | Continuous dividend yield | |
| r | No | Risk-free interest rate (annualized) | |
| put_price | Yes | Observed put option price | |
| call_price | Yes | Observed call option price |