How to Track a Loan Collateral Position in Your Crypto Portfolio
A loan collateral position in crypto is a liability that also holds an asset. You track it by recording the borrowed amount as a negative balance in your portfolio, recording the collateral as a normal asset, and separately monitoring the loan-to-value ratio (LTV) to avoid liquidation. This page explains how to do that accurately across wallets and exchanges.
Why a loan collateral position is different
A standard crypto portfolio records what you own. A loan position adds what you owe. If you deposit 10 ETH as collateral to borrow 5,000 USDC, you still own the 10 ETH (it's in a smart contract under your control), but you also have a debt of 5,000 USDC. Your net portfolio value is the value of the 10 ETH minus the 5,000 USDC debt.
Failing to record the debt inflates your net worth. It also makes tax calculations wrong if you later repay or get liquidated.
How to Record the Collateral and Loan
Most portfolio trackers and tax software handle loans by letting you enter a "liability" or "debt" entry. The exact method depends on your software, but the logic is the same.
Step 1: Record the Collateral Deposit
When you send collateral to the lending protocol, record it as a transfer from your wallet to the protocol address. Do not mark it as a sale or trade. The asset remains yours, and its cost basis does not change.
- In your tracker, create a manual transaction or use the protocol's API to import the deposit.
- Label it "Transfer" or "Deposit to [protocol name]".
- The quantity and cost basis of the collateral stay the same.
Step 2: Record the Loan Draw
When you receive the borrowed asset, record it as two entries:
- A liability entry - This is the amount you owe. Enter it as a negative balance or a separate liability line item. The asset type is the borrowed token (e.g., USDC). The quantity is the amount you received.
- A receipt entry - This is the borrowed asset arriving in your wallet. Record it as a normal incoming transfer. Its cost basis is zero because you did not buy it - you borrowed it.
If your software supports "loan" transaction types, use that. Otherwise, use a manual negative balance adjustment for the liability and a normal transfer for the receipt.
Step 3: track interest accrual
Most lending protocols charge variable interest. The debt grows over time. To keep your portfolio accurate, you need to update the liability amount periodically.
- If your software syncs via API, it may automatically pull the current debt figure.
- If you use manual CSV or manual entry, check the protocol dashboard weekly or monthly and adjust the liability amount to match the current debt. Record the difference as an interest expense (often a non-taxable event, but check local rules).
Step 4: record repayment
When you repay part or all of the loan:
- Record a transfer of the borrowed asset from your wallet to the protocol (the repayment).
- Reduce the liability entry by the same amount.
- If you repay more than the original principal (interest), the extra is interest expense - record it separately if your software allows.
Step 5: record collateral withdrawal
When you withdraw collateral after repaying:
- Record a transfer from the protocol back to your wallet.
- The cost basis of the withdrawn collateral is what it was when you originally deposited it.
Monitoring Loan-to-Value Ratio
Your portfolio tracker may not calculate LTV automatically. LTV is the loan amount divided by the collateral value, expressed as a percentage. For example, if you owe 5,000 USDC and your 10 ETH is worth 10,000 USD, LTV is 50%.
Most protocols have a liquidation threshold (e.g., 80% LTV). If the collateral price drops or the debt grows, you risk liquidation. To monitor this:
- Add a custom metric or a watchlist in your portfolio tracker that shows the current price of the collateral asset.
- Manually calculate LTV = (liability amount) / (collateral quantity × current price).
- Set a price alert on the collateral asset for the level that would trigger liquidation.
Some advanced portfolio trackers let you create "positions" that combine assets and liabilities. If yours does, use that feature.
Tax Implications
Loan collateral positions have specific tax rules:
- No taxable event when borrowing - Taking out a loan is not a sale. You do not owe tax on the borrowed asset.
- No taxable event when depositing collateral - Depositing is a transfer, not a sale.
- Interest paid is usually not deductible for personal crypto loans. Check your jurisdiction.
- Liquidation is a taxable event - If the protocol sells your collateral to repay the loan, that is a disposal. You realize a capital gain or loss based on the original cost basis of the collateral. The loan repayment itself is not taxable.
- Repaying with different assets - If you repay the loan using a different crypto than what you borrowed, that is a taxable trade of that other crypto.
Common mistakes to avoid
- Recording the collateral as a sale - This creates a fake realized gain or loss.
- Omitting the liability - This overstates your net worth and can cause margin calls in your own planning.
- Not updating the debt for interest - Over time, the liability grows. If you ignore it, your portfolio balance drifts off.
- Treating liquidation as a simple transfer - Liquidation is a forced sale. Record it as a trade of the collateral for the debt repayment, with the remaining proceeds (if any) returned to you.
What to do if your software doesn't support liabilities
Not all portfolio trackers have a liability feature. In that case:
- Create a separate "loan wallet" in your tracker.
- Record the borrowed asset as a negative balance in that wallet.
- Keep the collateral in its normal wallet.
- Manually calculate net portfolio value = total assets minus the negative loan wallet balance.
This is clunky but works. Better to use software that natively supports loans if you manage multiple positions.
Not financial advice. venko.tech publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.
Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.