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
- Log in to Bybit on the website.
- Open Orders in the top right. With a Unified Trading Account choose Unified Trading Order; with a standard account — Derivatives Order.
- 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.
- Click Export, set the date range (the maximum per export is shown on the screen) and confirm.
- 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
- Closed P&L: one row per closed position — instrument, side, size, entry and exit price, result.
- Trade history: every execution with its fee.
- Funding and transfers are separate exports (assets / funding history).
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.