canli-mcp / Quant finance

Check target weights for lookahead

Check a strategy's target weights for lookahead from the weights alone: their return lined up with the period they were decided for, a period late, several periods late and a period early. An edge that is all in its own period and gone a period later, unexplained by the last period's return, is what weights computed with that period's outcome look like.

The tool is lookahead_check 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[]|number[][]
weightsyes(number|number[]|null)[]
periods_per_yearnonumber

How a model reaches it

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

Words that find it

Besides its name, title and description, find_tool matches a question to lookahead_check on these words: lookahead, look, ahead, bias, leak, peeking, future, data, check, audit, weights, signal, delay, shifted, timestamps, too, good, to, be, true.

More

Nothing here is investment advice.