Hi,
I'm new to Quantopian and was wondering if anyone could help me code the following strategy, or direct me to a thread with instructions on how to code something similar?
Minute interval: 30 min
Opening range Start: 9:30am
Opening Range End: 10:00am
If price crosses above opening range high, go long with a stop at opening range low.
If price crosses below opening range low, go short with a stop at opening range high.
Exit all trades at next trading day open.
Does anyone know how to do this?
Thanks a million in advance.