How to trade Friday's GDP release

Akos Stiller | Bloomberg | Getty Images

On Friday, markets will get a second reading of economic growth last quarter, and if history is any guide, there could be a trade to be made.

The first reading of second-quarter GDP was a tepid 1.2 percent as companies held back on investing amid a bumpy global economic environment. And the figures released tomorrow aren't projected to come in much better, according to economists.

So how can investors profit from this trend?

CNBC PRO ran a study to find the areas of the market that often perform best when U.S. GDP is subdued between 1 and 2 percent. The analysis was conducted with data from Kensho, a quantitative tool used by hedge funds to spot historical trends and trading patterns.

Here's what we found: