Stocks enjoyed a profitable week in the lead-up to third quarter earnings season. The tech-heavy NASDAQ started the week strong, ending Monday at a record high.