The Stock Market Is Crazy. Why It Makes Total Sense.