Calculates call prices for European options on stocks, based on the Margrabe model.
| Category: | Financial |
| Returned data type: | DOUBLE |
is a nonmissing, positive value that specifies the price of the first asset.
| Requirement | Specify X1 and X2 in the same units. |
| Data type | DOUBLE |
is a nonmissing value that specifies the time to expiration, in years.
| Data type | DOUBLE |
is a nonmissing, positive value that specifies the price of the second asset.
| Requirement | Specify X2 and X1 in the same units. |
| Data type | DOUBLE |
is a nonmissing, positive fraction that specifies the volatility of the first asset.
| Data type | DOUBLE |
is a nonmissing, positive fraction that specifies the volatility of the second asset.
| Data type | DOUBLE |
|
Statements
|
Results
|
|---|---|
select margrclprc(15, .5, 13, .06, .05, 1); put a; |
2 |
select margrclprc(2, .25, 1, .3, .2, 1); put b; |
1 |