save_run
Save a backtest (same arguments as run_backtest) as a named run in the caller's FILTRIX account; it appears in the app's Context tab and can be simulated, shared or reopened. Runs as a background job: waits up to wait_seconds (max 50) and returns the finished job (result.run_id, pairs_saved, rows_saved, summary), or {job_id, status} to poll with get_job. Counts against the plan's saved-run limit. Needs a verified email and write access.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filters": "<filters>"
},
"name": "save_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name shown in the app's Context runs (max 100 characters). | |
| filters | Yes | Conditions that must all hold (AND-joined, max 20). Column names come from search_filters. | |
| outcome | No | Outcome to measure: day_close_position (default), day_return, reg_pct, hi_to_cl_pct or lo_to_cl_pct. Units and definitions: get_meta. | day_close_position |
| pos_max | No | day_close_position only: a close above this (0..1) counts as long (default 0.8). | |
| pos_min | No | day_close_position only: a close below this (0..1) counts as short (default 0.5). | |
| end_date | No | Last event date to include, YYYY-MM-DD (default: latest). | |
| threshold | No | Cut-off in the outcome's unit (0.05 = 5% for day_return, 5 = 5% for reg_pct, 0..1 for day_close_position); prob_le_threshold is the share of events at or below it. | |
| row_filter | No | Which events to keep in the run: all; positive (long side: above pos_max for day_close_position, above 0 otherwise); negative (short side); neutral (in between); nonzero (positive or negative). | all |
| start_date | No | First event date to include, YYYY-MM-DD (default: start of history). | |
| wait_seconds | No | Seconds to wait for the job to finish (0..50) before returning its job_id to poll with get_job. | |
| flat_threshold | No | Half-width of the 'flat' zone for the long/short/flat split, as a fraction (0.002 = 0.2%). Ignored for day_close_position. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||