Hello,
I get the below error when I initialize
self.eurusd = self.AddForex("EURUSD", Resolution.Daily, Market.Oanda)
During the algorithm initialization, the following exception has occurred: AttributeError : Oanda
at Initialize in main.py:line 26
AttributeError : Oanda
If I exclude
, Market.Oanda
it works. Has there been a change in usage. I followed the docs.
My whole Initialize() function:
def Initialize(self):
self.SetStartDate(2018,10, 14) #Set Start Date
self.SetEndDate(2018,10,16) #Set End Date
self.SetCash(1000) #Set Strategy Cash
# self.SetBrokerageModel(BrokerageName.OandaBrokerage,AccountType.Cash)
self.eurusd = self.AddForex("EURUSD", Resolution.Daily, Market.Oanda)
self.quoteBarWindow = RollingWindow[QuoteBar](2)