High-frequency trading uses complicated algorithms generated by computers to move rapidly in and out of shares, taking advantage of tiny price differences which exist only for fractions of seconds. In his book, Lewis claimed that high-frequency traders, exchanges and brokers conspired to rig markets and cheat ordinary investors in the New York market.