canli-mcp / Quant finance

Maximum Sharpe (tangency) portfolio

Find the portfolio with the highest Sharpe ratio, long-only (exact) or unconstrained (closed form tangency), with its expected return, volatility and Sharpe.

The tool is max_sharpe_portfolio 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
returnsnonumber[][]
covariancenonumber[][]
expected_returnsnonumber[]
periods_per_yearnonumber
assetsnostring[]
risk_freenonumber
long_onlynoboolean

How a model reaches it

Ask in plain words. The model finds max_sharpe_portfolio 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": "max_sharpe_portfolio",
  "arguments": {}
}

Words that find it

Besides its name, title and description, find_tool matches a question to max_sharpe_portfolio on these words: maximum, sharpe, ratio, tangency, portfolio, mean, variance, optimal, markowitz.

More

Nothing here is investment advice.