The code to get binance data was taken from: https://quantnomad.com/getting-historical-bars-from-binance-api-with-python/