Simple question. What is the proper code to use in order to cancel all open orders on Friday afternoons?
In conjunction with a schedule_function why can't I simply use a "one liner" such as:
cancel_order(get_open_orders(sid=None)) ? This doesn't work.
Thank you in advance!