Megacap growth and technology stocks accounted for 13% of the aggregate hedge fund long portfolio, twice their weight at the start of 2023, with companies like Microsoft and remaining popular long positions.

"UBS was actually neutral in terms of sectors on technology this year. We only upgraded technology a couple of months ago to buy," said Bernstein. "We're strong believers that AI is going to be a huge proponent of growth."