The U.S. House of Representatives has passed a bill that would prohibit members of Congress from trading stocks and other assets using nonpublic.