canli-mcp / Quant finance
Exchange option (Margrabe)
Price the option to exchange one asset for another, max(Q1 S1 - Q2 S2, 0), in closed form (Margrabe), with dividend yields on both.
The tool is exchange_option in canli-mcp 0.22.0, free and MIT-licensed, with no account and no API key. It comes from canli-quant-mcp, which canli-mcp includes, and it is also its own server.
Arguments
| Argument | Required | Type |
|---|---|---|
spot1 | yes | number |
spot2 | yes | number |
quantity1 | no | number |
quantity2 | no | number |
years | yes | number |
dividend_yield1 | no | number |
dividend_yield2 | no | number |
volatility1 | yes | number |
volatility2 | yes | number |
correlation | yes | number |
How a model reaches it
Ask in plain words. The model finds exchange_option with canli-mcp's find_tool, reads its arguments with describe_tool if it needs to, and runs it with run_tool. The call has this shape, with your values in place of the angle brackets:
{
"name": "exchange_option",
"arguments": {
"spot1": "<number>",
"spot2": "<number>",
"years": "<number>",
"volatility1": "<number>",
"volatility2": "<number>",
"correlation": "<number>"
}
}Words that find it
Besides its name, title and description, find_tool matches a question to exchange_option on these words: exchange, option, margrabe, outperformance, two, assets, swap, one, for, another.
More
Nothing here is investment advice.