spy 3-lines-of-code swing trading strategy