canli-mcp / Quant finance
Barrier option (knock-in, knock-out)
Price a continuously monitored single-barrier option (down/up, in/out, call/put, with rebate) in closed form (Reiner-Rubinstein), with the vanilla price and the barrier discount.
The tool is barrier_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 |
|---|---|---|
type | yes | call|put |
barrier_type | yes | down_in|down_out|up_in|up_out |
spot | yes | number |
strike | yes | number |
barrier | yes | number |
rebate | no | number |
years | yes | number |
rate | no | number |
dividend_yield | no | number |
volatility | yes | number |
How a model reaches it
Ask in plain words. The model finds barrier_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": "barrier_option",
"arguments": {
"type": "<call|put>",
"barrier_type": "<down_in|down_out|up_in|up_out>",
"spot": "<number>",
"strike": "<number>",
"barrier": "<number>",
"years": "<number>",
"volatility": "<number>"
}
}Words that find it
Besides its name, title and description, find_tool matches a question to barrier_option on these words: barrier, option, knock, out, in, down, and, up, reiner, rubinstein, rebate, exotic.
More
Nothing here is investment advice.