Interactive Backtester

Documentation

PnL (Profit and Loss): The cumulative profit or loss achieved by the trading strategy. It reflects the net gains or losses over time.

RSI (Relative Strength Index): A momentum oscillator that measures the speed and change of price movements. Values below 30 suggest that the asset is oversold (a potential BUY signal), while values above 70 suggest it is overbought (a potential SELL signal).

MA (Moving Average): The average of a security's price over a specific period. A fast MA reacts quickly to recent price changes, while a slow MA smooths out price fluctuations. Crossovers between fast and slow MAs are used as trading signals.

This interactive backtester uses a moving average crossover strategy along with RSI to generate trading recommendations. It also backtests historical trades by simulating positions and calculates the resulting profit and loss.