If a few lines of code can easily achieve this, then why would some of the big exchanges not have a team (of even 1 engineer) apply this tactic against all the other exchanges?
This would quickly result in washing out all fake volumes across the market.