InvestTester Docs
InvestTester is a backtesting platform. It simulates investment portfolios and JavaScript trading algorithms with historical market data, so you can see how a strategy would have performed before you invest. The simulations run in your browser.
- Tickers: How to write the codes of the assets to simulate: stocks, ETFs, indices, currencies, crypto, fixed rates and Brazilian assets, plus modifiers for currency, leverage, fraction and synthetic assets.
- Portfolio Backtest: Test asset allocations with deposits and rebalancing, and compare up to 3 portfolios.
- Algo Trading: Write a trading algorithm in JavaScript and run it day by day over historical data.
- Results: The metrics, charts, logs and data produced by each simulation.
- Methodology: The data sources and how each number is computed.
- Alternatives: InvestTester compared with Portfolio Visualizer, testfol.io and other backtesters.
Quick start:
- On the Portfolio page, set the balance, the range, and the tickers with their percentages.
- Press Simulate to fetch the price history and run the simulation.
- Check the metrics and charts, or press Compare to test another portfolio against it.
Market data comes from a market data provider and from Brazilian public sources. Stock and ETF prices are adjusted for splits and dividends, so the results show total return. Spin-offs are not adjusted, and Brazilian bonds that pay coupons (NTN-B, NTN-C, NTN-F) show price changes only.