The Nasdaq crossed the 9,000-point mark for the first time on Thursday as all three major Wall Street indexes posted record closing highs, boosted by optimism over U.S.-China trade relations and gains in shares of Amazon.com after a report signalled robust online holiday sales.