Contact

OPT_JUMP_DIFF Function (Gnumeric)

Financial Intermediate Gnumeric

Price a jump-diffusion option in Gnumeric with OPT_JUMP_DIFF, variance allocation, Poisson truncation and bounded numerical checks.

Verification status: Retained 1.12.57 ssconvert evidence independently checked after rollback; no GUI or fresh native execution claimed. How formula examples are checked

Exact syntax

=OPT_JUMP_DIFF(flag,spot,strike,time,rate,volatility,lambda,gamma)

OPT_JUMP_DIFF implements a Merton-style jump-diffusion option model as a finite weighted sum of Black–Scholes prices. Its gamma argument allocates variance to jumps; it is not the usual option Greek gamma or an independently specified average jump size.

All eight arguments are required. Flag is “c” or “p”; spot and strike are positive prices in the same units. Time is years to maturity. Rate is the annualized interest rate used in the implementation’s discounting. Volatility is annualized total volatility. Lambda is the positive expected number of jumps per year. Gamma is the fraction allocated to jump variance; use 0 <= gamma < 1 for the nonsingular examples here. The source sets carry equal to rate internally, so there is no separate dividend/carry argument.

Calculation and worked example

The example uses spot=strike=100, one year, rate 0.05, volatility 0.2, lambda 1 and gamma 0.3. The call is about 10.376334961494 and the put 5.499277460569. The independent reference sums Poisson probabilities times ordinary option prices. For jump count i the effective variance is volatility squared times (1-gamma + gamma*i/(lambda*time)).

The 1.12.57 implementation sums only i=0 through 10. It does not iterate until a user-selected tolerance is reached. At lambda*time=1, the omitted probability mass is approximately 1.0048e-8; this is a probability-tail check, not a universal price-error bound. Large expected jump counts require a separate convergence analysis before trusting this fixed truncation.

Advanced use: check the no-jump-variance limit

Keeping lambda=1 and changing gamma to zero produces 10.450583467181 for the call. This is very close to the ordinary Black–Scholes result, but the finite Poisson weights still do not sum to exactly one. Do not demand exact equality or set lambda to zero: the implementation divides by lambda while deriving jump variance. A comparison sheet should record lambda*time alongside price so that truncation risk remains visible.

Errors and troubleshooting

The invalid flag fixture returns #NUM!. Positive time, positive volatility and positive lambda are required for the nonsingular calculation used here. Gamma=1 can create a zero-volatility component; that boundary was deliberately not executed. Values outside the variance-allocation range can feed negative square-root arguments. The source is not a comprehensive economic-input validator, so a numeric output alone does not establish a valid model. Preserve decimal rate units and do not substitute a jump intensity per month without converting it to the same time scale.

Recorded formulas and results

  • =OPT_JUMP_DIFF("c",100,100,1,0.05,0.2,1,0.3) → 10.376334961493942
  • =OPT_JUMP_DIFF("p",100,100,1,0.05,0.2,1,0.3) → 5.499277460568887
  • =OPT_JUMP_DIFF("c",100,100,1,0.05,0.2,1,0) → 10.450583467180545
  • =OPT_JUMP_DIFF("bad",100,100,1,0.05,0.2,1,0.3) → #NUM!

Version, portability and verification scope

The introduction release is not established by the retained evidence. The retained implementation and bounded native evidence are Gnumeric 1.12.57. No retirement or last functioning release is established. Function availability, argument defaults and numerical algorithms can differ in other spreadsheets; test exported workbooks in the receiving application rather than treating the name as a compatibility guarantee. These are synthetic calculation examples, not investment recommendations.

Native ssconvert recalculated the saved workbook on 17 October 2026 at 02:45 UTC. Input formulas, saved output cells and evidence-file hashes were rechecked after recovery. The 4 records above are engine evidence, not GUI screenshots. No new execution, untested extreme case or newer-version execution is claimed.

Official sources