Fixes python algorithm to be python 3 compliant
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user