Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
log display shows minutes?

does anyone know why the code below would print out logs every minute? if so, can you please tell me how to make the log just display daily results? thanks.

def initialize(context):
context.security_list = sid(3149) # ge

def handle_data(context, data):
print data.history(context.security_list,'open', 10, '1d')

1 response

guess i should read the docs. moved the daily functions to schedule_functions...