Log in to your OKX account.
Hover over the Assets dropdown menu and select the Order center option.
Click the tab for Trading Account history and then enter the date range for your entire trade history on OKX.
Select the Filter option and then select Spot from the a dropdown menu.
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.