Currencies and metals in the balance of the economy: Analysis of the interaction of the US dollar with gold