Missing module and won't backtest. Any ideas? 

import quantconnect

from quantconnect import *

from quantconnect import QCAlgorithm

from decimal import Decimal

from QuantConnect.Data.Consolidators import WeekendConsolidator


 

class WeekendTradingAlgorithm(QCAlgorithm):


 

    def Initialize(self):

        self.SetStartDate(2019, 1, 1)

        self.SetEndDate(2022, 1, 1)

        self.SetCash(100000)

        self.symbol = self.AddCrypto("ETHUSD").Symbol

        self.stop_loss = Decimal("0.01")

        self.take_profit = Decimal("0.01")

        self.weekend_close_price = None

        self.weekend_consolidator = WeekendConsolidator(timedelta(days=1))

        self.weekend_consolidator.DataConsolidated += self.OnWeekendData

        self.SubscriptionManager.AddConsolidator(self.symbol, self.weekend_consolidator)


 

    def OnWeekendData(self, sender, bar):

        # Check if the current bar is the last bar of the week

        if bar.EndTime.dayofweek == 4:

            self.weekend_close_price = bar.Close

        elif bar.EndTime.dayofweek == 5:

            self.weekend_close_price = None

           

        if self.weekend_close_price is not None:

            if bar.Close > self.weekend_close_price:

                self.SetHoldings(self.symbol, 1)