def initialize(context):
context.stock = sid(8554)
schedule_function(buy_up, date_rules.every_day(), time_rules.market_open(minutes = 30))
def handle_data(context, data):
pass
def buy_up(context, data):
print('Eastern', get_datetime('US/Eastern'))
print('UTC', get_datetime())