For individual investors, trading with algorithms has been a boon: Today, they can buy and sell stocks much faster, cheaper, and easier than ever before. But from a systemic perspective, the stock market risks spinning out of control. Even if each individual algorithm makes perfect sense, collectively they obey an emergent logic—artificial intelligence, but not artificial human intelligence.