The tech-heavy Nasdaq composite index shot up 5.7 percent for the week .