Backtest Workbench
tt_backtest_workbenchOPEN A STRATEGY FOR BACKTEST WORK. Start here, not with a submit.
Give it a template id and it answers, in one call: is this yours, what has already been run on it, what those runs can tell you for FREE, and what a new run would cost. AUTH-REQUIRED. It never submits and never charges.
WHY IT MATTERS: reading and re-slicing a run the user already paid for is free and unlimited; a NEW run is a fresh charge. You cannot tell which side a question falls on without knowing what runs already exist — so a model that skips this either re-buys a backtest the user already has, or refuses to explore because it assumes everything costs. Both waste the user's money or their time.
HOW TO USE THE ANSWER:
runs.rowswithfinished: true→ answer from these first, via tt_backtest_result. Slice them as many times as the question needs.next_run.changes_that_need_oneis the definitive list of what forces a new paid run: the strategy body, the dates, the type, the expiry, the fill price, the candle frequency. NOTHING ELSE DOES.next_run.quoteis Tradetron's own price. Quote it verbatim; never compute or estimate one, and never state a price when it is null.
TEMPLATE_NOT_YOURS is terminal — do not retry the id, and do not guess another. Ask the user, or call tt_list_my_strategies.
Args: template_id: the strategy template to open. start/end: only needed to price a prospective new run. run_limit: past runs to list (default 20, max 100).
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": {
"template_id": "<template_id>"
},
"name": "tt_backtest_workbench"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Window end YYYY-MM-DD, same purpose. | |
| start | No | Window start YYYY-MM-DD, only to price a prospective new run. Omit if you just want to see what already exists. | |
| run_limit | No | How many past runs to list. Default 20, max 100. | |
| template_id | Yes | The strategy template id to open. From tt_list_my_strategies, or the number in a /strategies/<id>/edit URL. |