our "nasty" last-minute stock trading competition algorithm