Stocks are looking to end a volatile quarter with meager gains.