He started in 2005 and the investigation started in 2015, so he did get away with it for 10 years. He probably could have won a few, stopped, and gotten away with it if he'd been less greedy.
The code was clever, generating predictable numbers on a few particular days of the year. And it must have been subtle, to survive 10 years of nobody else noticing.