Vector-based backtesting environment