Fixing the error in AddData()

This commit is contained in:
Jing Wu
2018-06-04 10:11:44 -04:00
parent 6045aa0579
commit d03c7d69ec
2 changed files with 3 additions and 6 deletions
@@ -52,7 +52,7 @@ class CustomDataIndicatorExtensionsAlgorithm(QCAlgorithm):
# Define the symbol and "type" of our generic data
self.AddData(QuandlVix, self.vix, Resolution.Daily)
self.AddData[Quandl](self.vxv, Resolution.Daily)
self.AddData(Quandl, self.vxv, Resolution.Daily)
# Set up default Indicators, these are just 'identities' of the closing price
self.vix_sma = self.SMA(self.vix, 1, Resolution.Daily)