In the Buy and Hold -> Accessing Quote Prices excercise even if I cut and past the solution the exericise fails. Any ideas?

 

class BootCampTask(QCAlgorithm):

    def Initialize(self):

        self.SetCash(100000)
        self.SetStartDate(2017, 5, 1)
        self.SetEndDate(2017, 5, 31)
        # add forex data
        self.AddForex("EURUSD", Resolution.Hour, Market.Oanda)
        # set brokerage model
        self.SetBrokerageModel(BrokerageName.OandaBrokerage)

    def OnData(self, data):
        if self.Time.day == 1 and self.Time.hour == 10:
            self.Debug(str(data["EURUSD"].Ask.Close))

 

I have tried repeatedly and always fails....