TORONTO - North American stock markets closed out a volatile trading day with broad losses as the U.S. imposed sweeping tariffs on imports from Canada and Mexico, triggering a continental trade war.