High-frequency trading is the use of sophisticated algorithms to make trades in a fraction of a second with the goal of making profit.