Fixes python algorithm to be python 3 compliant

This commit is contained in:
AlexCatarino
2018-02-02 15:07:00 +00:00
parent a02553c524
commit 84282503d0
49 changed files with 117 additions and 132 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ class DividendAlgorithm(QCAlgorithm):
def Initialize(self):
'''Initialise the data and resolution required, as well as the cash and start-end dates for your algorithm. All algorithms must initialized.'''
self.SetStartDate(1998,01,01) #Set Start Date
self.SetEndDate(2006,01,21) #Set End Date
self.SetStartDate(1998,1,1) #Set Start Date
self.SetEndDate(2006,1,21) #Set End Date
self.SetCash(100000) #Set Strategy Cash
# Find more symbols here: http://quantconnect.com/data
equity = self.AddEquity("MSFT", Resolution.Daily)