President Donald Trump's decision to impose tariffs on goods from China and Canada has significantly affected the market.