canli-mcp / Quant finance
Markov regime-switching model
Fit a Hamilton Markov-switching model with a mean and volatility per regime (2 or 3 regimes) by maximum likelihood: regime means and volatilities, transition probabilities, expected durations, the current regime probabilities and how much time was spent in each.
The tool is markov_regime_switching 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
| Argument | Required | Type |
|---|---|---|
returns | yes | number[] |
regimes | no | integer |
periods_per_year | no | number |
include_probabilities | no | boolean |
How a model reaches it
Ask in plain words. The model finds markov_regime_switching 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": "markov_regime_switching",
"arguments": {
"returns": "<number[]>"
}
}Words that find it
Besides its name, title and description, find_tool matches a question to markov_regime_switching on these words: markov, switching, regime, detection, hidden, model, hmm, bull, bear, volatility, regimes, hamilton, filter.
More
Nothing here is investment advice.