US equities posted gains for a second straight session amid hopes of a US monetary policy pivot, after a bruising September ended another losing quarter for Wall Street. Twitter surged on the revived chance of Elon Musk's takeover as the tech-rich Nasdaq Composite Index climbed 2.8 percent.