When Berkshire Hathaway (BRK.A 0.50%) (BRK.B 0.67%) released its third-quarter earnings report, we learned that Warren Buffett and his team had quite an active quarter in the stock market. The cost basis of Berkshire's massive stock portfolio increased by about $9.6 billion, and it appeared that there had been some selling in the portfolio as well.

Well, on Monday afternoon we got a glimpse of what the Oracle of Omaha has been buying and selling with the release of Berkshire's Form 13F, which institutional money managers are required to file 45 days after the end of each quarter. Here's a breakdown of the recent moves investors should know about.

Warren Buffett smiling.

Image source: The Motley Fool.

Here's what Buffett and his stock pickers have been buying

We already knew about a couple stock purchases Buffett and his lieutenants made -- specifically that they spent more than $2 billion adding to their already large position in Bank of America and invested $720 million in Snowflake's recent IPO. But the company's quarterly report indicated that this was just a tiny fraction of Berkshire's stock buying activity.

With that in mind, here's a rundown of what stocks Berkshire Hathaway added to its portfolio in the third quarter:

Company (Symbol)

Shares Bought

Market Value of New Shares (rounded)

New Position?

Bank of America (BAC 3.31%)

85,092,006

$2.35 billion

No

Snowflake (SNOW -1.60%)

6,125,376

$1.44 billion

Yes

General Motors (GM 0.12%)

5,319,000

$224 million

No

AbbVie (ABBV 1.09%)

21,264,316

$1.86 billion

Yes

Merck (MRK 0.23%)

22,403,102

$1.86 billion

Yes

Bristol Myers (BMY 0.52%)

29,971,194

$1.81 billion

Yes

Kroger (KR 1.16%)

3,038,360

$99 million

No

T-Mobile US (TMUS 0.39%)

2,413,156

$318 million

Yes

Pfizer (PFE 1.64%)

3,711,780

$136 million

Yes

Liberty Latin America Class K (LILAK)

66,567

$780,000

No

Data source: Berkshire Hathaway SEC filings. Market value as of 11/16/2020.

The biggest story on the buying side was the addition of not one but four big pharma stocks. Buffett (or one of his stock pickers) initiated stakes worth nearly $6 billion altogether, including three large and nearly equal-sized positions in AbbVie, Merck, and Bristol Myers.

Aside from this, the initiation of a new position in T-Mobile US is also noteworthy, although a $318 million investment is rather small by Berkshire's standards. This isn't totally a surprise -- Berkshire reportedly considered a large investment in Sprint (now a part of T-Mobile) in 2017.

In addition to the stocks in the chart above, it's also worth noting that Berkshire also repurchased more than $9 billion of its own stock during the quarter.

Berkshire also hit the sell button on a few stocks

While Berkshire was an active buyer of stocks in the third quarter, the quarterly report indicated that Buffett and company may have continued to pare back some of their other bank investments and that they may have taken some profits in their largest holding, Apple. Here are the particulars of these moves.

Company (Symbol)

Shares Sold

Market Value of Shares Sold

Did Berkshire Sell All Shares?

Apple (AAPL -1.58%)

36,326,710

$4.37 billion

No

DaVita (DVA 1.30%)

2,000,000

$226 million

No

Wells Fargo (WFC 2.94%)

110,202,265

$2.74 billion

No

Axalta Coating Systems (AXTA -3.40%)

650,000

$18.4 million

No

Liberty Global (LBTYA -1.59%)

1,300,000

$29.3 million

No

Barrick Gold (GOLD 0.68%)

8,918,701

$229 million

No

M&T Bancorp (MTB 2.51%)

1,616,561

$205 million

No

PNC Financial (PNC 2.73%)

3,430,759

$433 million

No

JPMorgan Chase (JPM 1.18%)

21,241,160

$2.50 billion

No, but sold 95% of stake

Liberty Latin America (LILA -0.07%)

160,478

$1.9 million

No

Costco (COST -1.20%)

4,333,363

$1.69 billion

Yes

Data source: Berkshire Hathaway SEC filings. Market value as of 11/13/2020.

We knew Berkshire sold some Apple, and Berkshire's SEC filing confirmed it. The same goes for bank stocks, with the Wells Fargo, JPMorgan Chase, and other bank-stock sales adding up to nearly $6 billion.

On the selling side, the biggest surprise is definitely the sale of the company's entire Costco stake. This likely resulted in a big profit for Berkshire, as Costco stock is trading for about $380 per share right now, roughly 10 times what Berkshire likely paid for it.

Also surprising is that Berkshire sold more than 40% of its Barrick Gold investment, which was just initiated during the second quarter.

An active quarter that shows Berkshire is ready to put money to work

Between Berkshire's massive buybacks, this quarter's wave of other stock purchases, and some other investments Berkshire has made recently, it is crystal clear that Warren Buffett is now in capital deployment mode. And with about $140 billion in cash and equivalents still on the balance sheet, this could be just the beginning.