In his final performance, Ben Bernanke rewrote the script.

Investors had been on edge for months about when the Federal Reserve might slow its economic stimulus. A pullback in the Fed’s bond purchases, they feared, could jack up interest rates and whack stocks. Bernanke’s mere mention of the possibility in June had sent stocks tumbling.