InfoLib
Contribute

Backtest Engine

Configure data parameters, develop custom entry/exit logic, and execute high-fidelity simulations with real-time risk calculations.

storage Data Parameters

Switch “Window” to Explicit range to set dates.

Status Log

Status
idle
Availability

construction Strategy Configuration

Custom Strategy Builder

Entry conditions

Exit conditions

Tip: “cross” uses two indicators (LHS crosses RHS). “compare” compares an indicator to a value.
Request preview

            

analytics Results Overview

Final equity
Trades
Win rate
PnL
Max drawdown
Profit factor
Avg win / Avg loss
Equity curve
Drawdown
Open position
Errors
candlestick_chart

Candles

Indicator panes (auto)
Pane controls
gesture

Candle Sequences

Click candles to build a sequence, save it, then click saved items to highlight matches.
When OFF, new steps seed as exact observed values (min=max).
Per-step rules
Current selection
OFF
Preview
0 candles selected
Label
Turn on “Select sequence”, then click candles on the chart to append them.
Saved sequences
Click one to highlight all occurrences
No saved sequences yet.
receipt_long

Trades

# Entry ts Exit ts Entry Exit Reason Net Equity after
No results yet.
Raw result JSON

        

What is Backtesting in Trading?

Backtesting is the process of testing a trading strategy on historical price data to see how it would have performed in the past. Instead of risking real capital, traders simulate trades using historical candles to evaluate profitability, drawdowns, and risk exposure.

Backtest Trading Strategies with Historical Data

This trading backtesting engine allows users to backtest trading strategies directly in the browser. Load datasets, configure indicators, simulate entries and exits, and evaluate performance metrics such as win rate, profit factor, and maximum drawdown.

Portfolio Backtesting

Portfolio backtesting evaluates how a portfolio of assets would perform historically. Many traders use tools like Portfolio Visualizer to analyze asset allocations. This platform allows similar analysis by testing strategies across multiple datasets and evaluating risk-adjusted returns.

ETF and Stock Backtesting

Backtesting is commonly used for stock and ETF strategies such as trading the S&P 500 ETF (SPY). By analyzing historical market data, traders can test momentum, mean-reversion, or indicator-based strategies to determine whether they would have worked in previous market cycles.

Python Backtesting Strategies

Many quantitative traders build backtesting systems in Python. This platform provides similar capabilities through a web interface, enabling traders to experiment with algorithmic strategies without writing code.

TradingView Backtesting Alternatives

Platforms like TradingView allow users to backtest strategies using Pine Script. This backtesting engine offers an alternative environment where traders can load custom datasets, configure rules, and analyze detailed trade logs.