A bipartisan group of senators reached a deal Wednesday on legislation to ban stock trading by members of Congress, setting the bill up for action in the Senate later this month.