Algorithmic trading uses computer software to automatically buy and sell stocks based on set rules. These programs analyze market data and spot opportunities faster than humans can. Pre-programmed systems can make decisions in tiny fractions of a second, finding and using small price differences in the market.