Backtesting Engine

in-development

Desktop-first, Rust + CUDA backtesting that can sweep thousands of strategies in minutes, run offline on your own data, and surface results you can ship to production.

GitHub Coming Soon
View Benchmarks
66x
GPU speedup (Nov 2025 snapshot)
100+
Built-in indicators
46k
Strategies/s (Nov 2025 snapshot)

Desktop vs WASM Performance (Historical Snapshot)

Benchmark context GPU: RTX 4090 • CPU: Ryzen 9950X • RAM: 64GB Data: 60k hourly candles (7 yrs) • Grid: 1,936 params Run: November 2025 (pre-kernel-refresh snapshot)
Backtester vs WASM benchmark timings and relative speedups.
Implementation Time Strategies/sec vs WASM (snapshot)
WASM (Browser) 2.8s 691 1.0x
Desktop (CPU only) 580ms 3,338 4.8x
Desktop (CUDA) 42ms 46,095 66.7x

Wall-clock times for the full 1,936-scenario grid; lower is better. Recorded on RTX 4090 + Ryzen 9950X in November 2025. Current CUDA kernel performance may differ after subsequent kernel updates. See the TA benchmarks page for current indicator-level CPU/CUDA results.

CPU vs CUDA kernel (ALMA×ALMA grid sweep)

Each “pair” is a unique parameter-combination backtest over 200k candles. The CUDA kernel path keeps the full pipeline VRAM-resident for maximum throughput.

Dots are point estimates; whiskers show the min–max range. Hover a point (or click a row below) to focus.

CPU backtestCUDA kernel
Selected
ALMA×ALMA · Large
58,300 pairs · 200,000 candles
CPU
2.712s
2.706s2.719s
21.5k pairs/s
CUDA kernel
166.3ms
158.7ms178.3ms
350.6k pairs/s
Speedup
16.3×
Click any row below to pin; click again to unpin.
Small · 1,590 pairs
1.04× faster on CUDA
105.5ms101.7ms
Medium · 14,150 pairs
6.64× faster on CUDA
728.0ms109.6ms
Large · 58,300 pairs
16.3× faster on CUDA
2.712s166.3ms
Error bars show the min–max range from the benchmark run; markers show the point estimate (log-scaled time axis).

Native Performance Benefits

Direct hardware access without browser limits.
Optimized memory management tuned for Rust.
Full utilization of CPU cores.
Zero-overhead abstractions.

GPU Acceleration Impact

Test thousands of strategies simultaneously.
Massive parallel processing for sweeps.
Optimized data pipelines to keep GPUs fed.
Real-time strategy evaluation feedback.

Interactive Optimization Demo

VectorAlpha Backtester - Strategy Optimization

CUDA EnabledIteration 0/177,450

ALMA Parameter Optimization - Sharpe Ratio

Period [2-22] × Offset [0.10-0.19] × Sigma [0.2-0.34]
Loading 3D visualization...

Sharpe Ratio Distribution

< -0.5
2.1%
-0.5 – 0
17.4%
0 – 0.5
30.2%
0.5 – 1.0
25.1%
1.0 – 1.5
15.0%
1.5 – 2.0
7.5%
> 2.0
2.6%
Tested:0
Profitable:50%
Mean:0.42
Std Dev:±0.68

Best Strategy Performance

ParametersALMA(50, 0.85, 0.45)
Sharpe Ratio0
Total Return0%
Win Rate0%
Max Drawdown0%

Processing Performance

Throughput0/sec
GPU Utilization
94%
Est. Time Remaining3s

Recent Batch Results

P[2-22] O[0.10-0.19] S[0.20-0.34]2048 tests
P[22-42] O[0.19-0.28] S[0.34-0.48]2048 tests
P[42-62] O[0.82-0.91] S[0.41-0.55]✓ Best found
P[2-22] O[0.10-0.19] S[0.20-0.34]Processing...

Optimization Configuration

AlgorithmGenetic Grid
Search Space177,450 combos
Batch Size2,048 parallel
ConvergenceAdaptive ε=0.001
Walk Forward70/30 split
Risk MetricSharpe Ratio

Instant Feedback

See your strategy performance update in real-time as optimization progresses.

Hours to Seconds

Complete backtests that would take hours in minutes with GPU acceleration.

Find Better Strategies

Intelligent optimization explores more possibilities to find optimal parameters.

Monte Carlo Simulation

1,000 simulations showing possible portfolio outcomes over one trading year

Portfolio Value
Median Return
6.1%
50% of outcomes above this
95th Percentile Return
39.3%
Best 5% of outcomes
5th Percentile Return
-20.2%
Worst 5% of outcomes
Median Max Drawdown
-14.9%
Typical worst decline
95th Percentile Drawdown
-28.7%
Worst 5% drawdowns
Probability of Loss
36.7%
Chance of negative return
95th Percentile
75th Percentile
Median
25th Percentile
5th Percentile

Cross-Validation Analysis

Validating strategy robustness across different time periods

Walk-Forward Analysis Windows

201820192020202120222023202420252026W1W2W3W4W5W6W7W8W9W10TrainingTesting

In-Sample vs Out-of-Sample Sharpe

Overfitting Detection

Avg IS Sharpe
1.08
Avg OOS Sharpe
0.90
Avg Degradation
14.8%
Consistency
85.2%

Development Status

Working

  • Core backtesting engine
  • Basic indicators (SMA, EMA, RSI)
  • CSV data import
  • Basic Tauri UI
  • Multi-threading

In Progress

  • CUDA integration
  • Advanced risk metrics
  • Real-time data feeds
  • Strategy marketplace

Planned

  • Portfolio backtesting
  • Options strategies
  • ML integration
  • Cloud deployment
Detailed roadmap coming soon with public release
Built with Rust + Tauri • Apache 2.0 License
GitHub (Coming Soon) Documentation (Coming Soon) Community (Coming Soon)