Overview
Jump Models fits discrete or continuous regime models and sparse variants with feature selection. Supply your own feature table, for example from Dataloader prices transformed into returns and volatility features. These tools are not a market-data feed; every example below runs on features you pass in.Connection
MCP URL:https://quantx-api.limex.pro/mcps/jump-models
Select Jump Models in the QuantX marketplace. Use its gateway connection and QuantX authorization; no external data-provider key is needed for supplied features. See Client Setup.
Cursor configuration (.cursor/mcp.json):
Tools
The
jump-model, sparse-jump-model, and data-loader prefixes each have -create, -info, -list, and -delete tools. Inspect constructors with types-list. There is one jump-model-backtest tool for both model families, not a separate sparse backtest tool.
The Nasdaq-100 example file NDX.pkl is missing from the current hosted deployment, so data-loader-load fails there with a file-not-found error. Even where the file exists, the tool fills an internal DataLoader object instead of returning feature rows, so it is not a way to obtain a table. Pass your own feature table as X.
Examples
Create a Model
Calljump-model-create:
Fit Numeric Features
Calljump-model-fit. This small synthetic panel demonstrates the request shape:
X is observations by features. Dates belong in the reserved index, not in a numeric feature column. A rows/columns or matrix/columns object is also supported. A matrix produced on this server by table_to_ndarray can be passed as X: {"result_id": "<matrix-result-id>"} — that id must come from Jump Models.
jump-model-fit takes three optional arguments. The sparse fit accepts only ret_ser and sort_by, because it selects features itself:
Predict Online States
Calljump-model-predict-online with the same handle and features:
jump-model-predict-proba-online with the same shape for probabilities. An online assignment is not a guaranteed next-day forecast. Fit preprocessing and model parameters on the training window only.
Backtest Explicit States
Calljump-model-backtest with supplied synthetic returns and states:
t should apply only at t+1. metrics.max_drawdown is negative (-0.025 is a 2.5% decline).
Results and Limitations
Prediction arrays and backtests may be stored references; resolve them withresult_get. Keep the input window, feature transforms, constructor settings, state mapping, and result IDs with a report.
A handle identifies the model you created. Fitted parameters remain available for later predict calls while that object is still loaded. Keep fit and prediction on the same handle, and fit again if a call reports the model is missing or not fitted. Save returned states and backtests separately. See Object Handles.
The tools do not provide a complete automatic walk-forward research protocol. Batch predictions and in-sample fits should not be presented as out-of-sample evidence.
See Shared MCP Tools for table preparation and artifact export.