Tools reference · Strategy Lab
Build Strategy Lab rules
build_rules 20 credits a callTurns a strategy you describe in plain words into Strategy Lab rules for one symbol. It returns the rules, a readable summary and the assumptions Sena made.
What it does
Read the summary and assumptions before you test anything: they show how your words were read. Your AI can then pass the rules unchanged to backtest or create_agent.
It uses your Sena allowance. If the strategy can't be built as rules, supported is false and reason says why.
Read only
Inputs
| Name | Description |
|---|---|
description Required | text. The strategy in your own words: the level, entry, stop, target and exit time, plus the instrument if it isn't shares (such as "0DTE calls" or "1 MNQ"). |
symbol Required | text. The ticker or chart symbol, such as QQQ, NVDA, ES1! or BTC/USD. |
Example
You ask
“Build rules for QQQ: go long when a 5-minute candle closes above the first 15-minute range, stop at the other side, target 2R, out by 3:55.”
{
"available": true,
"supported": true,
"summary": "QQQ, 5-minute candles, long only, trading QQQ. Level: First 15-minute range. Entry: Closes above. Stop: Other side of the level. Target: 2R. Entries 9:35 am to 2:00 pm, at most 1 a day, flat by 3:55 pm.",
"assumptions": [
"No entries after 2:00 pm, the Strategy Lab default.",
"One trade a day."
],
"assumptions_origin": "sena",
"rules": {
"version": 2,
"symbol": "QQQ",
"timeframe": "5m",
"direction": "long",
"level": {
"type": "opening_range",
"rangeMinutes": 15
},
"trigger": "break",
"stop": {
"type": "level",
"value": 0
},
"target": {
"type": "r_multiple",
"value": 2
},
"maxTradesPerDay": 1,
"exitTime": "15:55"
}
}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.