Stocks retreated from records as declines in trading revenue pressured the big banks and a selloff in crude hurt the energy sector. All three major indexes moved lower after hitting all-time highs a day earlier.

Equifax Inc. (EFX) fell after the credit-reporting agency said it was investigating another possible data breach. Last month, the company disclosed that a massive hack had compromised the confidential data of more than 145 million people.

Juniper Networks Inc. (JNPR) declined after warning of lower profit and sales for its third quarter on a disappointing performance in its cloud vertical. The company will report in just under two weeks.

Health insurers were mixed after President Trump signed a new executive order to undermine Obamacare. The order lets businesses band together to purchase plans across state lines that do not need to adhere to ACA rules. 

Watch More with TheStreet:

More from Video

Inside Carnival's Mind Blowing New Horizon Cruise Ship (Video)

Inside Carnival's Mind Blowing New Horizon Cruise Ship (Video)

60 Seconds: What the Heck is GDPR?

60 Seconds: What the Heck is GDPR?

North Korea Still Willing to Meet Trump and 4 Other Stories You Must Know Friday

North Korea Still Willing to Meet Trump and 4 Other Stories You Must Know Friday

Replay: Jim Cramer on North Korea, Oil Prices, Apple and Carnival Corporation

Replay: Jim Cramer on North Korea, Oil Prices, Apple and Carnival Corporation

Video: This Startup Connects Buyers and Sellers of Legal Marijuana

Video: This Startup Connects Buyers and Sellers of Legal Marijuana