Sub topic 9
Counterparty risk: exchanges, lenders and platform failures
This chapter assumes you have read the chapters on market risk and custody risk. You should know what a private key is, how to buy and sell on an exchange, and how to read short Python snippets.
What counterparty risk is
A counterparty is the other party in a financial arrangement. Counterparty risk is the chance that this party fails to do what it promised, so you lose money even if the asset's price never moves.
When you leave coins on an exchange, you usually do not hold them on the blockchain under your own key. The exchange holds the keys and records a balance for you in its own database. What you own is a claim against the exchange. If the exchange is hacked, mismanaged, frozen by a court, or insolvent, the claim may be worth less than the number on your screen.
The same logic applies to lenders, yield platforms, and any service that takes your coins and promises to return them.
Why this is separate from market risk
Market risk is about price. Counterparty risk is about whether you can get your assets back at all. A portfolio can lose 100% through counterparty failure while the market is flat.
The two risks often arrive together. Falling prices expose platforms that were quietly insolvent, and a platform's failure forces its customers and the platform itself to sell, which pushes prices down further.
Common ways platforms fail
| Failure mode | What happens | Typical warning sign |
|---|---|---|
| Hack | Attackers drain the platform's hot wallets (wallets connected to the internet) | Past security incidents, no proof of cold storage practices |
| Fraud or misuse of funds | Customer deposits are lent or traded without consent | Opaque finances, owners with related companies that trade or borrow |
| Insolvency from bad bets | The platform lends to a borrower that cannot repay, or holds its own token as collateral | Reserves made mostly of the platform's own token |
| Run on withdrawals | Many customers withdraw at once and the platform lacks liquid assets | Sudden withdrawal delays or limits |
| Legal action | Regulators or courts freeze accounts | Enforcement news, loss of banking partners |
| Operational failure | Outages during high volatility, lost records, or errors | Frequent downtime when markets move |
Exchange failure: how it plays out
Exchanges hold large pools of customer coins. This makes them targets for attackers and tempts operators to use those coins for their own purposes.
Several large exchanges have collapsed or been hacked in the past. In some cases customers recovered little or nothing for years. In others, they recovered the dollar value of their balances as of the bankruptcy filing date, which could be far below what the coins were worth later. Recovery depends on the legal system, the assets that remain, and the order in which creditors are paid.
An exchange failing is different from you being locked out of a bank account. Most crypto exchanges have no deposit insurance like the government schemes that cover bank deposits in many countries. Some offer private insurance or a reserve fund, but these usually cover only specific events, such as theft from the exchange's wallets, and have limits.
Lender and yield platform failure
Lending platforms offer interest on crypto you deposit. The platform must earn that interest somewhere. It might lend your coins to traders, put them into DeFi protocols, or make other investments.
This creates several layers of risk:
- Borrower default. The borrower may not repay, especially if the loan was undercollateralized (backed by less value than was lent).
- Maturity mismatch. You can withdraw instantly, but the platform's loans cannot be recalled instantly. If many depositors ask for money at once, the platform cannot pay.
- Rehypothecation. The platform reuses your coins as collateral for its own borrowing, so several parties have claims on the same coins.
- Terms of service. Many platforms state in their terms that deposited assets become the platform's property, or that you are an unsecured creditor. You agreed to this when you clicked accept.
A high advertised yield is a price tag. If an interest rate is far above what safe lenders pay, someone is taking a risk, and unless you can identify who and how, the risk is probably yours.
Measuring your exposure
You can estimate how much of your portfolio depends on each counterparty. This helps you spot concentration, meaning too much value with one party.
holdings = {
"Exchange A": 8_000,
"Exchange B": 2_000,
"Lending platform C": 5_000,
"Self-custody wallet": 5_000,
}
total = sum(holdings.values())
print(f"Total portfolio: {total:,}")
print()
for place, value in sorted(holdings.items(), key=lambda kv: -kv[1]):
share = value / total
print(f"{place:<22} {value:>8,} {share:6.1%}")
max_counterparty_share = max(
v for k, v in holdings.items() if k != "Self-custody wallet"
) / total
print()
print(f"Largest single counterparty share: {max_counterparty_share:.1%}")The script lists each location by value and computes the largest share held with any one third party. There is no universal safe threshold. The useful step is to choose a limit before you need it, such as "no more than 20% with any single platform," and check against it regularly.
Reading the warning signs
No checklist predicts every failure, but these questions help you compare platforms:
- Reserves. Does the platform publish proof of reserves, and has an independent party checked it? Proof of reserves shows assets, but proof of liabilities (what is owed to customers) is also needed. Assets alone do not show solvency.
- What backs the balance sheet? If most assets are the platform's own token, a drop in that token's price can make it insolvent quickly.
- Who controls the funds? Are customer assets segregated from company assets, and is this stated in the terms?
- Track record. Has the platform survived a market crash, a hack, or a bank run without freezing withdrawals?
- Jurisdiction and licensing. Which regulator oversees it, and what protection does that provide if the firm fails?
- Source of yield. Can the platform explain in plain terms where the interest comes from?
- Withdrawal behavior. Do withdrawals complete quickly and reliably, including during volatile days?
Reducing counterparty risk
- Hold only what you need to trade on an exchange. Move long-term holdings to self-custody if you can manage keys safely, or spread them over several reputable custodians.
- Set a concentration limit per platform and rebalance when you exceed it.
- Avoid yield you cannot explain. If you cannot say where the return comes from, treat the deposit as a loan to an unknown borrower.
- Read the terms for how your assets are held, whether they can be lent out, and what happens in bankruptcy.
- Turn on security features: unique passwords, two-factor authentication using an app or hardware key rather than SMS, and withdrawal address allowlists.
- Test withdrawals. Send a small amount out before depositing a large one, and periodically confirm that withdrawals work.
- Keep records. Export your transaction history and balances regularly. In a bankruptcy, claims are based on records, and the platform's website may be unavailable.
Edge cases
- Exchange token exposure. If you hold the exchange's own token as well as deposits there, a single failure can hit both at once. The token is likely to fall at the same time you lose access.
- Wrapped or bridged assets. A token that represents a coin held elsewhere depends on whoever holds the original. This is a counterparty risk even if the token sits in your own wallet.
- Withdrawals paused "temporarily." A pause that begins with a technical reason can be the first sign of insolvency. Do not assume that a notice about maintenance is harmless if other warning signs are present.
- Bankruptcy valuation. Claims are often converted to a dollar amount at the filing date. A later price rise does not necessarily increase what you receive.
- Custodians of custodians. A platform may itself keep assets with another provider. You then depend on both.
Exercise
You hold 12,000 in total. 6,000 sits on Exchange A, 3,000 earns 9% on a lending platform that does not explain its yield source, and 3,000 is in a hardware wallet whose seed phrase you stored safely. You have set a limit of 25% of the portfolio per third-party platform. Which holdings break your limit, and what two actions reduce the counterparty risk without raising your custody risk much?
Show answer
Exchange A is 6,000 / 12,000 = 50%, which is above the 25% limit. The lending platform is 3,000 / 12,000 = 25%, which is exactly at the limit, so it does not break it, but its unexplained yield is a separate warning sign. Two actions: move part of the Exchange A balance (at least 3,000) to your hardware wallet or a second reputable custodian, and withdraw from or reduce the lending platform unless you can identify where its yield comes from. Splitting across custodians and keeping your seed phrase backed up limits custody risk.