A class action lawsuit filed Thursday in Manhattan federal court accused JPMorgan Chase & Co. of manipulating futures markets through an outlawed trading practice to create artificial supply and demand.

The lawsuit alleged that JPMorgan, its employees and related entities for years had used a illegal strategy known as “spoofing” to drive up trading on futures contracts in order to reap “excessive profit.”