You can export every fill on a perps account to a CSV file — useful for tax records, accounting, or your own performance analysis.
Exporting
- Open Portfolio and select the Trade History table.
- Select Export. (The same control is available in Settings → Perps accounts.)
- In Export Trade History, choose the account under Select perps account.
- Select Export to CSV.
While it runs, the button reads Exporting... and the modal shows Export in progress — "Fetching maker and taker fills from matching engine history." It finishes with Export complete and "Downloaded {n} trades as CSV," and the file downloads through your browser.
You need to be signed in with an initialized perps account. If you have none you will see "No perps accounts available" with "Create or fund a perps account, then export your trade history as CSV."
What the file contains
The export is all fills for the selected account — both the maker and taker side, with no date range to set and no dependence on whatever period or filters your Portfolio charts are showing. Large histories therefore take longer.
Columns, in order:
| Column | Meaning |
|---|---|
time |
When the fill occurred |
tradeId |
Unique identifier for the fill |
actionId |
Sequential engine event identifier |
marketSymbol |
Market the fill was in |
takerId / makerId |
Account identifiers for the two sides |
takerSide |
Side of the taker on that fill |
price |
Fill price |
baseSize |
Size filled, in the base asset |
makerFee / takerFee |
Fee charged on each side |
orderId |
The order the fill belongs to |
Rows are deduplicated and sorted oldest to newest.
Two things worth knowing before you reconcile numbers:
- Each row is a fill, not an order. One order that filled in five parts is five rows.
- Only one of
makerFee/takerFeeis your cost on a given row — the one matching your side. See Trading fees, fee tiers and fee credits.
One account at a time
The export covers the account you select. If you use sub-accounts, export each one separately and combine them yourself — see Perps sub-accounts.
If the export fails
You will see "Failed to export trade history. Please try again." Retry, and if it keeps failing on a large history, retry from a stable connection — the export pages through your entire fill history and needs to finish that walk. Also check that your browser did not silently block the download.
Funding payments, deposits, withdrawals and transfers are not in this file; view them in their own Portfolio tabs.