Key facts
- Eight of the 11 S&P 500 sector indexes rose on Monday, led by consumer discretionary at 3.02% and materials at 2.26%.
- The S&P 500 energy index fell 3.3% on Monday as oil prices dropped.
- Apple shares were close to flat after the bell following results that beat expectations.
- Investors expected US equities to come under pressure in the event of a Democratic sweep in Tuesday's midterms.
The S&P 500 rose on Monday as oil prices fell on optimism about a potential US-Iran peace agreement, while Apple shares declined ahead of the iPhone maker's quarterly report and investors awaited Tuesday's US midterm elections.
Eight of the 11 S&P 500 sector indexes rose, led by a 3.02% rise in consumer discretionary followed by a 2.26% gain in materials, while the energy index dropped 3.3%.
Apple closed down 1.5% on Monday ahead of its report, then posted results after the bell that beat expectations, with shares close to flat afterward. European stocks were flat on Monday after Friday's technology selloff, with investors eyeing Apple earnings, falling oil prices and Tuesday's US midterms.
Investors expected US equities to come under pressure in the event of a Democratic sweep in the midterm elections.

