Now playing
01:16
Why rising bond yields are spooking stocks
American flags hang oustside of the New York Stock Exchange Tuesday, Feb. 16, 2021, in New York. (AP Photo/Frank Franklin II)
PHOTO: Frank Franklin II/AP
American flags hang oustside of the New York Stock Exchange Tuesday, Feb. 16, 2021, in New York. (AP Photo/Frank Franklin II)
Now playing
01:31
Rising bond yields trigger Wall Street sell-off
WASHINGTON, DC - FEBRUARY 01: U.S. President Joe Biden (Center R) and Vice President Kamala Harris (Center L) meet with 10 Republican senators, including Mitt Romney (R-UT), Bill Cassidy (R-LA) and Susan Collins (R-ME), in the Oval Office at the White House February 01, 2021 in Washington, DC. The senators requested a meeting with Biden to propose a scaled-back $618 billion stimulus plan in response to the $1.9 trillion coronavirus relief package Biden is currently pushing in Congress. (Photo by Doug Mills-Pool/Getty Images)
PHOTO: Pool/Getty Images North America/Getty Images
WASHINGTON, DC - FEBRUARY 01: U.S. President Joe Biden (Center R) and Vice President Kamala Harris (Center L) meet with 10 Republican senators, including Mitt Romney (R-UT), Bill Cassidy (R-LA) and Susan Collins (R-ME), in the Oval Office at the White House February 01, 2021 in Washington, DC. The senators requested a meeting with Biden to propose a scaled-back $618 billion stimulus plan in response to the $1.9 trillion coronavirus relief package Biden is currently pushing in Congress. (Photo by Doug Mills-Pool/Getty Images)
Now playing
02:08
Zandi: Stimulus plan doesn't do enough for the most in need
Now playing
01:36
Michael Bolton wants you to break up with Robinhood
Now playing
03:02
Congressman: The stock market needs to protect retail investors
Now playing
03:51
GameStop investor on why he's still holding on
why it
why it's better to invest cash than save it kristen bitterly orig_00012028.png
Now playing
01:59
Holding onto your cash? History shows it's better to invest it
In this photo provided by the New York Stock Exchange, Michael Urkonis, center, works with fellow traders on the floor during the Signify Health IPO, Thursday, Feb. 11, 2021. Stocks edged higher on Wall Street in early trading Thursday as investors continued digesting solid corporate earnings reports and maintained confidence that a new round of government aid is on the horizon. (Courtney Crow/New York Stock Exchange via AP)
PHOTO: Courtney Crow/AP
In this photo provided by the New York Stock Exchange, Michael Urkonis, center, works with fellow traders on the floor during the Signify Health IPO, Thursday, Feb. 11, 2021. Stocks edged higher on Wall Street in early trading Thursday as investors continued digesting solid corporate earnings reports and maintained confidence that a new round of government aid is on the horizon. (Courtney Crow/New York Stock Exchange via AP)
Now playing
03:08
El-Erian on risks to the market rally
PHOTO: Courtesy Kearns family
Now playing
02:56
Parents of young trader who died by suicide: Robinhood is to blame
kenny polcari market overvalued and stretched orig_00013830.png
kenny polcari market overvalued and stretched orig_00013830.png
Now playing
02:32
Polcari: A healthy market pullback of 5-7% should happen
Bitcoin
PHOTO: CNN
Bitcoin
Now playing
03:17
Tesla invests $1.5 billion in bitcoin
Now playing
02:20
El-Erian: Robinhood is a reminder that 'you have no friends on Wall Street'
People walk by a GameStop store in Brooklyn on January 28, 2021 in New York City. Markets continue a volatile streak with the Dow Jones Industrial Average rising over 500 points in morning trading following yesterdays losses. Shares of the video game retailer GameStop plunged. (Photo by Spencer Platt/Getty Images)
PHOTO: Spencer Platt/Getty Images
People walk by a GameStop store in Brooklyn on January 28, 2021 in New York City. Markets continue a volatile streak with the Dow Jones Industrial Average rising over 500 points in morning trading following yesterdays losses. Shares of the video game retailer GameStop plunged. (Photo by Spencer Platt/Getty Images)
Now playing
01:17
Here's why GameStop shares are plunging
PHOTO: CNN
Now playing
02:22
His risky bet made him a millionaire on paper. It could've gone very differently
NEW YORK, NEW YORK - JANUARY 27: GameStop store signage is seen on January 27, 2021 in New York City. Stock shares of videogame retailer GameStop Corp has increased 700% in the past two weeks due to amateur investors. (Photo by Michael M. Santiago/Getty Images)
PHOTO: Michael M. Santiago/Getty Images
NEW YORK, NEW YORK - JANUARY 27: GameStop store signage is seen on January 27, 2021 in New York City. Stock shares of videogame retailer GameStop Corp has increased 700% in the past two weeks due to amateur investors. (Photo by Michael M. Santiago/Getty Images)
Now playing
03:16
GameStop mania shakes up Wall Street
Now playing
05:26
Christine Romans: This is being fueled by the elixir of a quick profit
(CNN Business) —  

Gold has been a dud of an investment for much of the year, but it has started to regain some of its luster.

The price of gold is up 3.5% since the start of October. During the same period, the S&P 500 has fallen 6.5%.

Gold tends to do hold up well in times of turmoil and it’s a particularly compelling investment when people are worried about inflation – like they are now. Wages grew at their fastest clip since 2009, according to October’s jobs report.

Gold is particularly attractive to central banks looking for safe, liquid assets. Central bank purchases of gold increased by 22% during the third quarter . That’s the fastest pace since the fourth quarter of 2015, according to Natalie Dempster, managing director for central banks and public policy at the World Gold Council.

During the past couple of years, most gold purchases had been made by Russia, Turkey and Kazakhstan. They are still major gold buyers, and countries like India, Poland and Hungary, have aggressively ramped up purchases lately, Dempster noted. But central bank purchases are drawing attention.

More central banks are flocking to gold

“The big story at the moment for gold is the central banks,” Dempster told CNN Business. “The pace of buying has really increased and it’s broadened.”

Investors have taken notice. Shares of Newmont Mining (NEM), a gold mining stock in the S&P 500, are up nearly 7% since the start of October.

And according to EPFR Global, a fund that tracks money going in and out of mutual funds, commodities-based mutual funds attracted more investments last week mainly because of increased demand for gold funds.

Gold glittering even as other commodities tank

Gold has performed well even as more economically sensitive commodities have not. Oil and copper prices both fell in October for example.

Dempster expects the trend of rising gold prices to continue as American investors continue to show more interest, particularly as the Federal Reserve is expected to keep hiking rates to combat inflation.

That could make the US dollar and gold even more attractive as places to hide in uncertain times.

In fact, the World Gold Council reported that demand for gold bars and coins in the United States surged 74% in the third quarter.

“Stock market volatility has pushed more people to gold. Any further wobbles on Wall Street could lead to more demand for gold going forward,” she said.

Still, gold has a long way to go before it gets back to its highs of earlier this year – the last time investors were freaking out about inflation. Gold was trading above $1,350 an ounce in February. It’s now trading at around $1,230.