OMAHA, Neb. — Warren Buffett’s company sold almost a third of its remaining IBM shares in the third quarter and changed some of its other investments.

Berkshire Hathaway filed a quarterly snapshot of its portfolio with the Securities and Exchange Commission on Tuesday. Investors watch Berkshire’s filings closely because of Buffett’s successful record.

The company sold nearly 32 percent of its remaining IBM shares to leave it with 37 million shares at the end of the quarter. Before this spring, Berkshire had held more than 80 million IBM shares.

Berkshire also picked up nearly 4 million more Apple shares to give it 134 million shares of the Cupertino company.