Intercontinental Exchange (ICE) has agreed to buy Interactive Data Corporation (IDC) from its private equity owners for $5.2 billion in cash and stock.The definitive agreement will see ICE hand over $3.65 billion in cash and $1.55 billion in its common stock to Silver Lake and Warburg Pincus for the market data giant.