How can I constrain my algorithms so that they only trade between certain hours of the trading day?

3 responses

Tried using a range of minutes to schedule your function?

Don't really know how to do that; I'm not great at python. Would you be willing to provide or link me a sample I can look at?

Mustafa,

This may help:

for i in range(60, 90, 15):