Price an exchange option using Margrabe’s formula. An exchange option gives the right to exchange one asset for another: payoff = max(S1 - S2, 0) for a call.
Special Case: When strike K = 0, a spread option becomes a Margrabe exchange option.
Use Cases:
Note: Returns both call and put prices (option to exchange S1 for S2, and vice versa).
Tier: Standard (2 credits/request)
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Current price of first asset
105
Current price of second asset
100
Annualized volatility of first asset (decimal format)
0.3
Annualized volatility of second asset (decimal format)
0.25
Correlation between the two assets
0.6
Time to expiration in years
1
Continuous dividend yield of first asset (decimal format)
0.02
Continuous dividend yield of second asset (decimal format)
0.015