canli-mcp / Quant finance
Optimal f (Ralph Vince)
Find the fraction f of the largest loss to risk per trade that maximizes terminal wealth over a list of trade results (Vince's optimal f), with the geometric mean and the f-based position size.
The tool is optimal_f 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 |
|---|---|---|
trades | yes | number[] |
equity | no | number |
How a model reaches it
Ask in plain words. The model finds optimal_f 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": "optimal_f",
"arguments": {
"trades": "<number[]>"
}
}Words that find it
Besides its name, title and description, find_tool matches a question to optimal_f on these words: optimal, f, ralph, vince, terminal, wealth, relative, twr, fixed, fraction, trade, results, geometric.
More
Nothing here is investment advice.