Nasdaq and Standard and Poor's 500 close at all-time highs :