The only reason why this is "illegal" and HFT is legal is that the HFT firms are paying customers of the exchange. It's really quite scary how complicit and front-runned the whole stocktrading business has become. I really recommend Flash Boys which is an interesting read on the topic
http://www.amazon.com/Flash-Boys-Wall-Street-Revolt-ebook/dp...