Preview stock trading strategy backtest
preview_backtestValidate the proposed daily long-only stock or ETF strategy with the existing Research Lab; return exact rules, costs, available dates and preview fingerprint. Indicator signals at completed close fill next session open. Optional fixed USD sizing or percentage allocation; optional conservative daily OHLC protective exits use stop-first for ambiguous bars. Confirm partial coverage explicitly. For comparing the same strategy across securities, preview at most three separate symbols, review actual common dates and confirm the tests before running each with its own ID; compare the saved runs. May prepare a bounded historical cache; does not create a backtest result.
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": {
"symbol": "<symbol>",
"config": "<config>"
},
"name": "preview_backtest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | ||
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| metadata | Yes |