Hello everyone, 

when backtesting, the functions of my algorithm run the whole day instead of on market hours only. Especially with the function that runs every ten seconds this is a annoying as there are a lot of invalid orders submitted this way which might slow down backtesting a lot. Is there a way to schedule a function on market hours only? Or does someone have another idea what I could do to solve this?

Thank you in advance.

Kind regards,

Christian Lauer

Author