canli-mcp / Quant finance

Engle-Granger cointegration test

Test whether two or more price series are cointegrated (Engle-Granger): hedge ratios, ADF on the residual spread with MacKinnon p-value and critical values, and the spread's half-life.

The tool is cointegration_test 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
yyesnumber[]
xyesnumber[][]
trendnoc|ct
max_lagnointeger

How a model reaches it

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

Words that find it

Besides its name, title and description, find_tool matches a question to cointegration_test on these words: cointegration, engle, granger, pairs, trading, hedge, ratio, spread, stationarity, statistical, arbitrage.

More

Nothing here is investment advice.