Strategy Builder

Build, backtest, and evaluate trading strategies across thousands of stocks. Define your entry and exit conditions, set risk parameters, and simulate portfolio performance over historical data.

How does the simulation work?

End of day: At market close, the engine scans every stock in your universe. It checks your entry conditions against today's full daily bar (open, high, low, close, volume). If all entry conditions are met and you have available position slots, an entry signal is queued. Similarly, open positions are checked against your exit conditions.

Next morning: Queued signals execute at the next day's opening price. This models real trading — you can't act on today's close until tomorrow's open.

Exception — Stop Loss & Take Profit: These trigger intraday at the exact SL/TP price level, not at the next day's open. If today's low breaches your stop loss, the trade exits at the stop price.

Entry logic: ALL conditions must be true (AND). Exit logic: configurable as ANY (OR) or ALL (AND).

Position sizing: Each trade uses up to your Max Position Size in dollars. Starting capital = Max Position Size × Max Positions.

Universe

Select which stocks to backtest against

to

Entry Conditions

Define when to open a position. All conditions must be met.

Exit Conditions

Define when to close a position. Any condition triggers an exit.

Risk Management

Optional stop loss and take profit levels

Stop Loss
%
Take Profit
%

Portfolio

Configure portfolio sizing and position limits

$
Dollar amount per trade (whole shares)
0 = no limit