Hi everyone this might be a really basic question but i'm trying to run my function once a day using the code below and it seems that my function is called every minutes...
def initialize(context):
context.sym = symbol('SPY')
schedule_function(
handle_data,
date_rules.every_day(),
time_rules.market_open(minutes=15)
)
def handle_data(context, data):
print("I'm here")