Gaining despite Wall Street’s dim outlook for oil and gas stocks