By Dave Sebastian

Intercontinental Exchange Inc. said its profit and sales rose for the second quarter as it earned more from transactions amid the Covid-19 pandemic.

The parent of the New York Stock Exchange posted net income of $523 million, or 95 cents a share, compared with $472 million, or 84 cents a share, in the year-ago period. Adjusted earnings were $1.07 a share.

Analysts polled by FactSet were expecting earnings of 95 cents a share, or $1.04 a share on an adjusted basis.

Revenue grew 20% to $1.97 billion. Analysts were looking for $1.39 billion. Overall transaction and clearing revenue rose 33% to $1.21 billion. Data services revenue rose to $574 million from $553 million.

Trading and clearing revenue rose 12% to $710 million from the year-ago period, partly driven by gains in energy futures and options revenue and U.S. cash equities and equity options revenue.

Write to Dave Sebastian at dave.sebastian@wsj.com