Supported transaction types
To calculate your taxes accurately, you must import all transactions from KuCoin Margin to Coinpanda. Coinpanda supports the following transaction types from KuCoin Margin today:
Tx Type | API import | CSV file upload |
---|---|---|
Trades | ||
Borrow history | ||
Debt repayment |
Import trades automatically with API
We are only requesting view permissions. This does not give us access to your private keys or the ability to move your funds.
To add your KuCoin Margin account to Coinpanda, follow these steps:
- Hover over the user icon in the top-right corner and click ‘API Management’
(https://www.kucoin.com/account/api) - On the ‘Spot/Margin API’ page, click ‘Create API’
- Enter a name (Ex: Coinpanda) and the ‘API Passphrase’ field. The Passphrase will not be shown again, so remember to write it down.
- Select ‘No’ for IP Restriction and then ‘Permanent’ in the dropdown below
- Click ‘Next’, then enter your trading password, verification code, and 2FA code
- Click the link in the email to activate the API keys
- Copy the API Key, API Secret, and Passphrase created earlier to Coinpanda
Calculating taxes for margin trading on KuCoin is not only very complex, but it is also not clarified from a legal or tax perspective how margin trading, including borrowing coins and repaying loans, should actually be reported and how it affects the tracking of cost basis. Due to these reasons, we do not guarantee that our interpretation of how to handle margin trading on KuCoin for tax purposes is, in fact, correct. If you are in doubt, we highly encourage you to contact a tax professional in your country for advice.
Upload a CSV file to Coinpanda
Cross margin trade history
- Hover over the orders icon in the top-right corner and click ‘Margin Trade History’
(https://www.kucoin.com/order/margin/history) - Select the ‘Trade History’ tab
- Click ‘Export to CSV’
- Select ‘Custom’ and your desired date range. You can only export transactions for up to 100 days each time, so you may need to export multiple files to cover your entire transaction history.
- Select ‘All’ in all dropdowns below and then click ‘Confirm’
- Click the link in the notification when the file is ready
(https://www.kucoin.com/account/download) - Download all CSV file(s) by clicking the icon in the ‘Progress’ column
- Upload your CSV file(s) to Coinpanda
Isolated margin trade history
- Hover over the orders icon in the top-right corner and click ‘Margin Trade History’
(https://www.kucoin.com/order/margin/history) - Select the ‘Isolated Margin Account’ tab
- Select the ‘Trade History’ tab
- Click ‘Export to CSV’
- Select ‘Custom’ and your desired date range. You can only export transactions for up to 100 days each time, so you may need to export multiple files to cover your entire transaction history.
- Select ‘All’ in all dropdowns below and then click ‘Confirm’
- Click the link in the notification when the file is ready
(https://www.kucoin.com/account/download) - Download all CSV file(s) by clicking the icon in the ‘Progress’ column
- Upload your CSV file(s) to Coinpanda