CoinLedger only needs "Read" or "View" access to import your trade history. This permission protects your accounts. Learn more about API access in this article here.
Note: CoinLedger currently does not support derivatives trading. If you've participated in derivatives trades on Bybit, these types of transactions may fail to import.
Subaccounts: If you have subaccounts, create the API key for each of those accounts and import them one by one. The API keys created will automatically expire after 3 months. You will need to create new API keys after this period to sync new transactions.
Step 1:
Log into your Bybit account.
Step 2:
Click on your profile on the menu in the upper right corner and then on API.
Step 3:
Under API Management click the Create New Key button.
Step 4:
Keep the API Transaction option selected. Give your key some name, select Read-Only under API Key Permissions and then select Permission at the header of the table (this will select all). Leave the Add IP Addresses option blank.
Step 5:
After clicking the Submit button, you need to enter your 2FA code and click Confirm to create the keys. If everything is correct, the window shown below should pop up.
The API Secret is accessible only while this window is available. Please store your API Secret somewhere safe to have access to it.
Step 6:
Navigate to Step 1. Import. Select Add Account then choose the Bybit tab on CoinLedger. Click on Auto-Import then enter your API Key and API Secret into the correct fields. Click Sync Transactions.