https://medium.com/the-handbook-of-coding-in-finance/a-quick-guide-to-calculating-stock-returns-with-python-ec5afac71bde