OMAHA, Neb. AP – Online brokerage TD Ameritrade Holding Corp. is close to settling a class-action lawsuit over the theft of contact information for more than 6 million customers.

As part of a proposed settlement, Ameritrade agreed to pay nearly $1.9 million in legal fees and cover the cost of one year of anti-spam service for the victims. Ameritrade also promised to better protect customer data.