canli-mcp / Backtest validation

Backtest a rule over a parameter grid, validated

Backtest a rule on your prices over a whole parameter grid, then validate the best with the count of variants actually run: deflated Sharpe, overfitting probability, minimum track record, vs buy and hold, after costs. A backtest, deflated or not, is not a forecast and not advice.

The tool is backtest_strategy in canli-mcp 0.22.0, free and MIT-licensed, with no account and no API key. It comes from canli-validation-mcp, which canli-mcp includes, and it is also its own server.

Arguments

As the server declares them
ArgumentRequiredType
familyyesbuy_and_hold|sma_cross|momentum|mean_reversion|breakout
gridnoobject
pricesnonumber[]
prices_filenostring
prices_columnnostring|integer
datesnostring[]
periods_per_yearnonumber
cost_bpsnonumber
allow_shortnoboolean

How a model reaches it

Ask in plain words. The model finds backtest_strategy 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_strategy",
  "arguments": {
    "family": "<buy_and_hold|sma_cross|momentum|mean_reversion|breakout>"
  }
}

More

Nothing here is investment advice.