run_me(fileName, globals())
def initialize(context):
context.run_once = False
context.security = symbol (‘AAPL’)
def handle_data(context, data):
dt = data.history(context.security, ‘close’, 10, ‘1d’)
print (dt)
end()
run_me(fileName, globals())
def initialize(context):
context.run_once = False
context.security = symbol (‘AAPL’)
def handle_data(context, data):
dt = data.history(context.security, ‘close’, 10, ‘1d’)
print (dt)
end()
Hi Cathy,
Could you please share the screenshot of the error.