The Consumer Staples Select SPDR (NYSEArca: XLP) is up nearly 7% year-to-date and was found flirting with all-time highs Wednesday. That is just one example, but leadership from XLP and other consumer staples exchange traded funds confirms investors have been partial to defensive sectors this year.

XLP’s bullishness this year is a reversal of fortune from late 2015. XLP and rival staples ETFs had their hands full with rising rate-related issues. For example, several of the largest staples names have reported lackluster earnings, blaming the strong dollar for weak overseas currency conversions.

However, the staples group and ETFs like XLP have been bolstered this year by a weakening dollar and a sanguine interest rate environment. The defensive consumer staples sector has been one of the year’s best performing areas of the S&P 500 as investors turned to more conservative plays in a volatile market, reports Stephanie Yang for CNBC.

“Nevertheless, the non-cyclical business models of these businesses make for a formidable investment theme with consistent revenue and proven track records,” according to See It Market. “For those very reasons, consumer staples stocks are considered a defensive area of the market and are often bought up during periods of excess volatility. The first quarter of 2016 certainly proved a fruitful environment for this sector and closer examination will prove why this segment has been to be so reliable this year.”

Another data points confirms the leadership of the staples sector. Year-to-date, 20 of the 30 members of the Dow Jones Industrial Average and that includes three XLP holdings: Coca-Cola (NYSE: KO), Procter & Gamble (NYSE: PG) and Wal-Mart (NYSE: WMT).

[related_stories]

“XLP holds a relatively small group of companies, but its returns have only been eclipsed by utility stocks in the S&P 500 Index so far this year. This ETF has gained nearly 7% in 2016 and just recently hit new all-time highs. Clearly investors are banking on the stability of low volatility stocks in this uncertain environment,” adds See It Market.

For an alternative index-based offering, investors can turn to the First Trust Consumer Staples AlphaDEX Fund (NYSEArca: FXG). FXG tracks a smart-beta AlphaDEX index that draws consumer staples from the Russell 1000 based on growth factors including three, six and 12-month price appreciation, sales to price and one year sales growth, and, separately, on value factors including book value to price, cash flow to price and return on assets.

Consumer Staples Select SPDR

Tom Lydon’s clients own shares of XLP.