How to get trade history from Bybit

This page explains how to get trade history from Bybit for Derivatives.

 

We have several help pages for this exchange. Please check them.

※Please kindly note that Bybit trade history includes only past 6 months. If you have over 6 months trade history, please  upload trade history by preparing for a custom file

Content

  1. How to get SPOT Trades history
  2. How to get Derivatives Trades history
  3. Important note on Bybit's Derivatives Trade history

Please read if you have ByFi acconts

Please note we do not support trade history for Bybit's ByFi account. Please upload them separately as custom trades. Please find details on how to download the file format and how to create it here.

 

■How to get SPOT Trades history (support started from March 3, 2022)

You can also get SPOT trade history via API. Please find details on how to set up an API connection here. In order to prevent duplicate trades on the ledger, once you set up the API connection, you will lose the ability to upload trades via files.

 

1. After logging in, click "Orders" from the menu bar and click "Spot Order"

mceclip0.png

 

2. Under Spot Account, select "Trade History", then click "Export".

mceclip1.png

 

3. Select the date range and click "Export Now". When the file is ready, you can download it by clicking "Download" in "My Exports" section.

mceclip3.png

* Please download all trade history. If they are divided into multiple files, please upload all files in the order of the oldest period to the newest.

 

■How to get Derivatives Trades history

We released API function for Derivatives trade history from 2022/3/10. Please find details on how to set up an API connection here. In order to prevent duplicate trades on the ledger, once you set up the API connection, you will lose the ability to upload trades via files.

1. After logging in, click "Orders" from the menu bar and click "Derivatives Orders"

mceclip4.png

 

2. Under "Derivatives Account", select "Closed P&L", select trade type and click "Export".

* Different history files are created for "Inverse Perpetual", "USDT Perpetual", "Inverse Futures". Please download the appropriate file based on your trading history.

mceclip5.png

 

3. Select the date range, then click "Export Now". Once the file is ready for download, in "My Exports" section, the "Download" button becomes active.

mceclip6.png

* Please download all trade history. If they are divided into multiple files, please upload all files in the order of the oldest period to the newest.

 

4. On the upload page, there are separate boxes for uploading "Inverse Perpetual, "USDT Perpetual
, "Inverse Futures". Please upload them accordingly.

mceclip7.png

 

* P&L Calculation for Derivatives

Profit and loss calculations are based on the contract’s collateral. If the collateral has increased at the time of settlement it is considered a profit, and if decreased it is considered a loss. Although profit and loss calculation itself is possible, Cryptact is not able to display the detail of the transaction that generated the p&l (e.g. profit generated by ETH leveraged transactions). Please check the trade history from the exchange separately.

■Important note on Bybit's Derivatives Trade history

Although the exact date is unknown, the above download functionality was released by the exchange sometime between Dec-2021 to Jan-2022. Before that time, the exchange provided request-based trade history files and you were able to upload trade history to Cryptact using these files.

If you have previously uploaded trade history via these request-based files, you may end up with duplicate trades depending on the date range you use while downloading the files.

Please check for any duplicate trades and delete them if you find any.

 

Once the upload boxes process files downloaded using the above steps, they can no longer process the request-based files.

If you would like to upload the request-based files, please use the below upload box.

mceclip8.png

 

Upload trade history from Bybit

After downloading the trade history, please upload it via upload screen.