JPMorgan Chase, the largest bank in the United States, said Thursday that it lost $2 billion in the past six weeks in a trading portfolio designed to hedge against risks the company takes with its own money.