https://medium.com/@estebanthi/backtest-your-trading-systems-with-python-analysis-of-the-results-467a82b26ef5