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

As the server declares them
ArgumentRequiredType
spot1yesnumber
spot2yesnumber
quantity1nonumber
quantity2nonumber
yearsyesnumber
dividend_yield1nonumber
dividend_yield2nonumber
volatility1yesnumber
volatility2yesnumber
correlationyesnumber

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.