How Do Automated Trading Systems Work