The Trade: Here's what could be next for gold

Gold in the market, illustration
KTS Design | Getty Images

The quick rise in gold prices could soon come to an end, if history is any guide.

So far this year, the value of gold is up 14 percent as investors hide out in the precious metal amid increased turbulence in global stock markets. As equities recover, however, demand for the metal may soon erode, some say, and the data back this up.

Using Kensho, a tool designed to quantify historical market events, CNBC Pro ran a study to find what happened to bullion next after rallies of a similar magnitude. We also highlight what may be a good buy instead, according to history.

Watch the video below to find out the results.