EquationDB

Discovery & backtesting

For quant researchers, systematic strategy teams

SEARCH looks for edges with a train/validate/test split and false-discovery control. BACKTEST and OUTCOMES check stability year by year, so you find out whether an idea holds before you put capital on it.

  • Financial markets
  • 6 steps
  • Runs on live data

How EquationDB answers it

Each step is one query on live data. Run them in order, or open any one and adapt it: change the symbol, the station, the dates or the filter.

  1. Let EquationDB find the setups

    Two-condition setups tested out of sample with Benjamini–Hochberg control, each with an honest held/failed verdict (takes ~10–40 s).

    SEARCH SETUPS IN top500 GOAL win_rate > 0.55 AND mean_ret(5d) > 0.3% MIN n = 300 USING momentum, trend, volume MAX CONDITIONS 2 LIMIT 10
    Try it →
  2. Is the edge stable?

    Golden-cross forward returns year by year, to separate a durable edge from one lucky period (takes up to ~10 s).

    OUTCOMES AFTER golden_cross IN top500 SINCE 2005-01-01 GROUP BY year
    Try it →
  3. Candles with stops and time exits

    Hammers in uptrends with a 5% stop and a 10-bar time exit, with portfolio statistics against SPY.

    BACKTEST IN top500 SINCE 2018-01-01 ENTER WHEN cdl_hammer = 1 AND close > sma(200) EXIT WHEN close > sma(10) STOP 5% HOLD 10
    Try it →
  4. Every trade, auditable

    The trade list behind a backtest: entry, exit, return, bars held and exit reason for each trade (takes up to ~6 s).

    BACKTEST IN top500 SINCE 2020-01-01 ENTER WHEN rsi(2) < 10 AND close > sma(200) EXIT WHEN close > sma(5) STOP 8% TRADES
    Try it →
  5. Sector-specific rule

    A trend-entry rule on energy stocks only, with volume confirmation, a 50-day exit and a 10% stop.

    BACKTEST IN sector('Energy') SINCE 2015-01-01 ENTER WHEN close CROSS ABOVE sma(200) AND rvol(20) > 1.5 EXIT WHEN close < sma(50) STOP 10%
    Try it →
  6. Pattern hit rates for one stock

    Candlestick patterns in NVIDIA's last 20 bars with how often each has worked for this particular stock.

    ANALYZE candle_patterns NVDA WITH bars=20
    Try it →

Run it on your own question

Sign in and press Try it on any step, or ask for a short demo on your data.

Request a trial

More financial markets use cases