Get up and running with RLX Backtester in minutes. From zero to institutional-grade backtests.
RLX Backtester is distributed as a high-performance Python package with a native Rust core. Minimal dependencies, maximum speed.
pip install rlxbtSystem Requirements
Python 3.10+ required. Native binaries available for macOS (M-series), Linux (x64), and Windows. We recommend using venv for environment isolation.
Initialize the engine and run a backtest on pre-calculated signal data. Results are generated in milliseconds.
import pandas as pd
from rlxbt import TradingEngine
# 1. Load data
df = pd.read_csv("BTCUSDT_1h.csv")
# 2. Setup Engine
engine = TradingEngine(initial_capital=100000.0, commission=0.001)
# 3. Execute!
result = engine.run_with_signals(df, signal_column="signal")
# 4. Analyze
print(f"Return: {result.total_return:.2%}")
print(f"Trades: {result.total_trades}")Performance Standard
RLX processes 6.6M bars/sec. This minimal setup allows you to stress-test your hypotheses with near-zero latency.