OPT_2_ASSET_CORRELATION Function (Gnumeric)
Model a two-asset conditional option in Gnumeric with OPT_2_ASSET_CORRELATION, asset roles, correlation and an independently verified zero-correlation case.
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_2_ASSET_CORRELATION(flag,spot1,spot2,strike1,strike2,time,carry1,carry2,rate,volatility1,volatility2,rho)
OPT_2_ASSET_CORRELATION values an option on asset 2 that is activated by a condition on asset 1. It is not an option on the sum, maximum or exchange of the assets. For a call, the payoff is max(asset2 minus strike2,0) only if asset1 exceeds strike1 at maturity. For a put, it is max(strike2 minus asset2,0) only if asset1 is below strike1.
All twelve arguments are required. Flag is “c” or “p”. Spot1 and spot2 are today’s positive asset prices; strike1 sets the trigger and strike2 sets the payoff strike. Time is years to the common maturity. Carry1 and carry2 are net annual carrying rates, followed by the annual risk-free discount rate. Volatility1 and volatility2 are positive annualized standard deviations. Rho is the model correlation between asset returns, within [-1,1]. The verified example uses rho=0; singular endpoint correlations were not exercised.
Worked independence case
Both spots and strikes are 100, time is 1, both carries and rate are 0.05, and the volatilities are 0.2 and 0.3. With rho zero, independence separates the trigger probability from the ordinary option price on asset 2. The call trigger probability is the standard normal CDF at (0.05-0.2^2/2)/0.2 = 0.15. Multiply this by the asset-2 call price; use the CDF at -0.15 times the asset-2 put price for the put.
The independent call reference is 7.964061962866 and native Gnumeric returns 7.964062007861. The put reference is 4.119422964839 and native returns 4.119422919844. Both agree within an absolute tolerance of 1e-7, consistent with the implementation’s numerical bivariate-normal evaluation. Reporting all shown digits as exact agreement would be misleading.
Advanced use: model validation before correlation sensitivity
Keep the independence case as a control row before changing rho. A correlation scenario grid must retain the asset roles and all other inputs. Swapping asset1 and asset2 generally changes the instrument rather than merely changing the order of arguments. Nonzero-correlation values need an additional independent bivariate-normal or conditional-payoff reference; this guide does not certify their accuracy from the rho=0 check alone.
Errors and troubleshooting
The tested invalid flag gives #NUM!. Check the unusual placement of the two carry arguments before rate and the two volatility arguments before rho. Avoid nonpositive prices, nonpositive time, zero volatility and correlations outside the valid range. Those singular or invalid cases were not executed here. A spreadsheet error is not the only sign of a problem: a plausible number can still price the wrong trigger/payoff arrangement. This model does not calibrate correlation from historical observations.
Recorded formulas and results
=OPT_2_ASSET_CORRELATION("c",100,100,100,100,1,0.05,0.05,0.05,0.2,0.3,0)→ 7.964062007861234=OPT_2_ASSET_CORRELATION("p",100,100,100,100,1,0.05,0.05,0.05,0.2,0.3,0)→ 4.119422919843924=OPT_2_ASSET_CORRELATION("bad",100,100,100,100,1,0.05,0.05,0.05,0.2,0.3,0)→ #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 3 records above are engine evidence, not GUI screenshots. No new execution, untested extreme case or newer-version execution is claimed.