The Auto Trader traded through the night on multiple pairs for the first time. It gave us a chance to find more bugs in the code. Here are a few that we will be fixing today.
The program has a glitch when making short trades. It enters correctly but then closes out immediately. It was having the same problem with long trades yesterday and was easily fixed but we must have not corrected the problem when taking short trades.
All of our testing up until last night was done on the GBP/JPY. When I added the GBP/USD and the EUR/USD last night the program had errors in calculating those pairs' lot sizes.
We had overlooked adding a "maximum spread" condition when taking a trade. Last night, the program signaled an entry long soon after a news announcement when the EUR/USD's spread was 4 times the norm. We will add a condition that requires the spread to be less than or equal to an amount we choose.
Those were the major bugs we found from our testing last night. The exciting thing is that the program is hitting our entries, stop loss changes, take profits, and other adjustments perfectly. We are extremely excited by the progress thus far and highly optimistic about the upgraded system's potential.