canli-mcp / Quant finance

Backtest an equal-weight portfolio

Backtest equal weights across a universe rebalanced on a fixed schedule; the 1/N benchmark that optimized portfolios must beat.

The tool is backtest_equal_weight_rebalance 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
pricesyesnumber[][]
rebalance_everynointeger
curvenoboolean
datesnostring[]
cost_bpsnonumber
periods_per_yearnonumber
risk_freenonumber
long_onlynoboolean

How a model reaches it

Ask in plain words. The model finds backtest_equal_weight_rebalance 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": "backtest_equal_weight_rebalance",
  "arguments": {
    "prices": "<number[][]>"
  }
}

Words that find it

Besides its name, title and description, find_tool matches a question to backtest_equal_weight_rebalance on these words: equal, weight, 1/n, naive, diversification, rebalancing, calendar, backtest, demiguel.

More

Nothing here is investment advice.