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 DelistingEventsAlgorithm(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(2007, 05, 16) #Set Start Date
self.SetEndDate(2007, 05, 25) #Set End Date
self.SetStartDate(2007, 5, 16) #Set Start Date
self.SetEndDate(2007, 5, 25) #Set End Date
self.SetCash(100000) #Set Strategy Cash
# Find more symbols here: http://quantconnect.com/data
self.AddEquity("AAA", Resolution.Daily)