https://blog.mathquant.com/2019/05/08/5-2-how-to-do-quantitative-trading-backtesting.html
5.2 How to do quantitative trading backtesting