LONDON — Barclays said on Wednesday that it had agreed to sell its risk analytics and index solutions business to Bloomberg L.P. for 520 million pounds, or about $787 million.

The deal includes a variety of financial market indexes, including a family of bond indexes, and tools for analyzing and constructing financial portfolios.

The deal is the latest by Barclays as it seeks to reshape itself by selling underperforming businesses and focusing on what it considers its core operations. The London-based bank announced the sale this month of another noncore business, its retail banking business in Italy, to CheBanca, a unit of Mediobanca Group of Italy.

The overhaul began under Antony P. Jenkins, the lender’s former chief executive who was ousted in July, and is continuing under its new top executive, James E. Staley, who officially joined Barclays this month.