Stocks opened the day up, before retracing some of their gains over time.

Ultimately, all major indices just barely managed to stay in the green by the day’s end.

First up, the scoreboard:

    Dow: 18,138.38, +39.44, (+0.22%)S&P 500: 2,132.98, +0.43, (+0.02%) Nasdaq: 5,214.16, +0.83, (+0.02%) WTI crude oil: $50.32, -0.12, (-0.24%) 10-year Treasury yield: 1.803%, +6.5 basis points

Twitter plunges after Salesforce rules out bid. Twitter tumbled by 6.3% to $16.67 per share on Friday afternoon after Salesforce CEO Marc Benioff told the Financial Times Twitter “wasn’t the right fit for us.” Wells Fargo beats on earnings despite accounts scandal. The bank on Friday reported revenue of $22.3 billion and earnings per share of $1.03. Analysts expected the bank to report earnings per share of $1.01 and revenue of $22.22 billion. JPMorgan had a record-breaking quarter. The firm reported earnings per share of $1.58 on adjusted revenue of $24.67 billion. Analysts were expecting adjusted earnings per share of $1.39 on revenue of $24.25 billion, according to Bloomberg. The US dollar index has been climbing. “The USD has broken out of its consolidation pattern developed since March,” wrote a Morgan Stanley team led by Hans W. Redeker. The US oil rig count was up by 4 to 432 this week, according to Baker Hughes. The gas rig count rose by 11 to 105, and the total count came up to 539. UMich consumer confidence unexpectedly fell to its lowest level since September. The index came in at 87.9 for October, below expectations of 91.8, and below September’sfinal reading of 91.2. Retail sales rose as expected. Sales rose 0.6% month-over-month in September, according to the Commerce Department, right in line with expectations.

Additionally:

The Business Insider Electoral Projection: Clinton makes huge gains.

Ohio is dumping Wells Fargo after John Kasich called the bank a "disgrace."

A key gauge of consumer expectations just hit a new low.

1.4 million people are about to lose their current Obamacare coverage.

Even American steakhouses say they are getting slammed by Brexit.

We just got the first look at how Wells Fargo's fake-accounts scandal is hurting the business.

Wall Street's most important business is bouncing back.

RANKED: All 50 states and DC, from least to most awkward