How to export your Bybit trade history

Bybit lets you export derivatives history from the website: closed P&L (the result of each closed position), orders and trades. Each export covers a limited date range, so long histories go out in several files.

Steps

  1. Log in to Bybit on the website.
  2. Open Orders in the top right. With a Unified Trading Account choose Unified Trading Order; with a standard account — Derivatives Order.
  3. Open Futures (derivatives) and choose P&L, then make sure Closed P&L is selected — or choose Order history / Trade history if you need those.
  4. Click Export, set the date range (the maximum per export is shown on the screen) and confirm.
  5. Download the file. Repeat for older periods until you have the whole history.

Exchanges rename menu items from time to time. If a name differs slightly, look for the closest item — the path stays the same.

What you get in the file

You may not need to export at all

Buy&Sell connects to OKX, Bybit, Binance and Hyperliquid with a read-only key and loads your trade history on its own — with fees, funding, Earn and transfers already counted. No files, no spreadsheets.

No card, no auto-charges · read-only key

Questions

Why are there several files?

Each export covers a limited date range, so a long history is exported in parts and combined.

Is closed P&L enough for taxes?

It shows results, but not every detail of each trade; many tools also ask for trade history and funding.

Other guides