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

As the server declares them
ArgumentRequiredType
typeyescall|put
barrier_typeyesdown_in|down_out|up_in|up_out
spotyesnumber
strikeyesnumber
barrieryesnumber
rebatenonumber
yearsyesnumber
ratenonumber
dividend_yieldnonumber
volatilityyesnumber

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.