Hi All,
I run the system once a day and enter trades manually, based on its output. I also have been manually rolling contracts when I judge it to be necessary.
To make my life easier I am thinking of automating these two elements in the following way. First, I will automate my daily trades by having an autoit script place market orders around 10am each day for any position that needs to change. Second, I will add code to automatically roll my full position in a given instrument, by using market orders at around 10am. I will have the system roll a given instrument based on its historical roll schedule; so if instrument x rolled on 3.10.19 from the march contract to the june, I will have the system do the same on 3.10.20 (or the next nonholiday weekday). If I have 10 contracts on, the script will simply sell all 10 at market, then buy 10 of the next contract (plus or minus any change needed to that instrument's position as a result of the most recent forecast).
Does anyone see any issues with this plan? Thanks.