Stocks gain, oil falls 6%; big tech-related earnings on tap this week

Stocks gain, oil falls 6%; big tech-related earnings on tap this week