Kensho: When oil rebounds these stocks soar

Crude oil sprays from a well bucket
Ulet Ifansasti | Getty Images

Oil prices are rallying on investor speculation about a potential production freeze agreement during this Sunday's crude producer meeting in Doha, Qatar. So what can you buy if the energy commodity continues to spike?

WTI crude is up 9 percent year to date and 5 percent for the month through Monday. Using Kensho, a quantitative tool used by hedge funds, CNBC Pro found the top-performing names when oil prices rose by at least 10 percent over a month.