A shopper visits a Walmart in Rosemead, California. Stock markets were down again on the last trading day of 2022, a year that has been marked by record inflation. AFP

US stocks ready to end 'terrible year' of rate rises and inflation