The SP 500 and Nasdaq Composite reached record highs today, driven by a surge in technology shares as investors remain optimistic about corporate earnings and economic recovery.