THE ECONOMICS OF FREQUENCY TRADING