Reference

Query shape

The anatomy of a strategy sentence: direction, asset, conditions, exits, timeframe.

You compose a strategy in plain words. The parser reads a handful of slots out of your sentence; fill the ones you care about and it will make reasonable assumptions for the rest (and show you what it assumed, so you can change it).

The slots#

SlotWhat it setsExample
DirectionLong or shortbuy, short
AssetThe symbol(s) to testBTC, ETH
EntryThe condition that opens a tradewhen RSI crosses above 50
ExitConditions, stops and targets that close itexit below 50, SL 2%, TP 3RR
TimeframeThe bar size1h, 4h, 1d
WindowThe date range to testlast 90 days, from 1/1/2024 to 3/31/2024

A worked example#

Take this sentence:

text
Buy BTC when RSI(14) crosses above 30, exit at 3R or a 2% stop, on the 4h for the last 90 days

The parser reads it as:

SlotValue
DirectionLong (Buy)
AssetBTCUSDT
EntryRSI(14) crosses above 30
ExitTake profit at 3R, stop loss at 2%
Timeframe4h
WindowLast 90 days
Buy BTC when RSI(14) crosses above 30, exit at 3R or 2% stop, on the 4h for the last 90 daysRun in terminal
Amber = assumed

Anything the parser filled in for you is marked with a dashed amber chip. Click it to confirm or change the value before you spend a run.

To go deeper, see the full query syntax, the indicator library, and the operators you can compare with.