Tools reference · Strategy Lab
Backtest a strategy
backtest 100 credits a callTests Strategy Lab rules on Senntric's stored price history. It reports the trades, win rate, average and total R, profit factor, largest drawdown, results by market condition and the latest 20 trades.
What it does
Give it the rules from build_rules, or a description and a symbol and it builds the rules first. It tests 3 months unless you ask for 6, 12 or 24. Trading costs are included.
Options and futures results are estimated: option prices are modeled where no recorded quote exists, and futures use the chart's points times the contract's dollar value, less fees.
Read the trade count and the history covered with the numbers; notes flag samples under 30 trades and gaps in history. Past results don't predict future ones. You can run 15 backtests an hour.
Read only
Inputs
| Name | Description |
|---|---|
rules Optional | object. The rules exactly as build_rules returned them. Give rules or a description, not both. |
description Optional | text. Instead of rules, the strategy in your own words. Needs a symbol. |
symbol Optional | text. Needed with a description. With rules, it tests them on this symbol instead. |
months Optional | one of 3, 6, 12, 24. How much history to test: 3 (the default), 6, 12 or 24 months. |
instrument Optional | object. What the rules trade, overriding their own, such as 0DTE at-the-money options or one MNQ futures contract. Leave it out to test the rules as built. |
Example
You ask
“Backtest those QQQ rules.”
{
"available": true,
"ran": true,
"symbol": "QQQ",
"history": {
"months": 3,
"sessions_tested": 62,
"first_session": "2026-08-17",
"last_session": "2026-11-13"
},
"results": {
"trades": 41,
"win_rate": 0.488,
"avg_r": 0.31,
"total_r": 12.7,
"profit_factor": 1.61,
"max_drawdown_r": 4.2
},
"by_condition": [
{
"label": "Gap-up days",
"trades": 12,
"win_rate": 0.583,
"avg_r": 0.62
}
],
"instrument": null,
"recent_trades": [
{
"date": "2026-11-13",
"side": "long",
"entry": 609.42,
"exit": 613.1,
"exit_reason": "target",
"r": 2
}
],
"trades_shown": 20,
"notes": []
}Your AI reads this result and answers in plain words. Most results include an open_in_senntric link to see the same thing in Senntric.
Related
See all tools, example prompts and limits and credits.
Updated November 17, 2026. Education, not investment advice.