It seems if I use schedule_function in initialize it makes it so my handle_data code does not get run. All I'm doing is buying at start of the day, selling at the end of the day, and having some logic run minutely during market hours with handle_data. Can you not have schedule functions defined as well as handle_data?