Stocks Posted Record Gains in “Up-tober”