Profits climb sharply with help from sophisticated computer algorithms and strategies that take advantage of rips and dips; ‘a quarter for the record books’