canli-mcp / Quant finance
Ulcer index and Martin ratio
Compute the Ulcer index (root-mean-square drawdown), the Martin (ulcer performance) ratio, and the pain index and pain ratio (mean drawdown).
The tool is ulcer_index 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 |
|---|---|---|
returns | no | number[] |
prices | no | number[] |
periods_per_year | no | number |
risk_free | no | number |
How a model reaches it
Ask in plain words. The model finds ulcer_index 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": "ulcer_index",
"arguments": {}
}Words that find it
Besides its name, title and description, find_tool matches a question to ulcer_index on these words: ulcer, martin, pain, index, drawdown, depth, duration.
More
Nothing here is investment advice.