Forums › ProRealTime English forum › ProOrder support › premarket open price breakout strategy idea › Reply To: premarket open price breakout strategy idea
04/10/2018 at 12:18 AM
#67781
Thanks again Roberto and all
For the last few days I wrote the basic test code but it is still not finished.
- I am still not sure how to cancel all positions and orders – is there a command (like QUIT but only for a single day) or do I need to manually SELL AT MARKET even when I didn’t buy yet
- I am also not sure if all the code is run for each bar again and again (I am guessing the answer is yes)
- if the bar is a 3 minute bar does it wait till close to run the code is it not in “real time” tick for tick
- if I want to look back and backtest the data from the last 12 month can I do it on a 3 min bar? it seems I have very limited access to the data on a 3 min bar
Any help would be greatly appreciated
Thanks
Alan