They could have better constrained the purchasing/selling API to avoid subterfuge like this having real monetary consequences. But the article about that would probably have been boring.