Markets had initially dropped on Monday after ratings agency Moody’s downgraded the US from its triple-A credit rating.