The Good, the Bad, and the Ugly of AutomatedHigh-Frequency Trading