How an obscure Japanese yen trade sparked a global market meltdown—and why the worst could be yet to come