Unlike event driven backtesting where we do calculations on each new arrived data element, we can do simple, fast, but very flexible backtest on the entire vector at once. First, we get the returns data (will be using MongoDB from now on): [crayon-56cddec756e8c491947429/] Let's try to tests simple thing - mean reversion strategy where we buy large down […]
↧