Step 1:
Log in to your OKX account.
Step 2:
Hover over the Assets dropdown menu and select the Order center option.
Step 3:
Click the tab for Trading Account history and then enter the date range for your entire trade history on OKX.
Step 4:
Select the Filter option and then select Spot from the a dropdown menu.
Step 5:
You will receive a file in .csv format. Navigate to Step 1. Import. Select Add Account then choose the OKX tab on CoinLedger. Click on Upload File and drag your CSV file into the box to import your transactions.