There needs to be an option to isolate perp trades using Jupiter Perpetuals on Solana in user wallets. I appreciate that currently the api does not group/pair the open and close of a trades. But you can see if the transaction is using the Jupiter Perpetual Program. It is also possible to export a CSV of all perp trades on Jupiter exchange. If users can isolate these trades from an API pull, the fix could be importing the CSV. Which would be much more straight forward than auditing each transaction in turn.