blog is moving to https://datafinnovation.medium.com/
Data Finnovation
Thursday, January 6, 2022
Monday, December 27, 2021
Celsius Network Flow of Funds
Previously we have discussed collateralized crypto lending and potential implications for prices. It is difficult to get collateral quantity or haircut data for private lenders to help estimate parameters for models. Fortunately Celsius publishes some flow-of-funds data that can help.
Celsius' Own Data
Celsius' Business Model
Is This Ok?
Sunday, November 21, 2021
Circular Lending: Ouroboros Schemes
In a financial system without supervision leverage can grow dramatically. Let's explore the impact of rehypothecation and lending haircuts on real balance sheets. In this example we refer to USD as the currency. That can be any stablecoin (or actual USD) it doesn't matter here.
Start with a BTC spot of 60k and an overcollateralization haircut of 25%.
Our "lender" begins with the following balance sheet:
The lender borrows 1M USD, in cash, and starts there. After making a single collateralized loan for 1 BTC they have:The borrower has 48k in their bank account. As long as BTC stays above 48k -- where the liquidation occurs -- this transaction is on snooze mode. Let's say the borrower goes and buys 48k worth of BTC. That is buying pressure of 0.8 coins. Now pledge those coins to another lender. The two lender balance sheets are:Of course the next step is to buy 0.64 coins and pledge them to someone else:The aggregate system now has:That is not crazy. If we allow the buy-pledge loop to run forever through these 3 banks we can generate more loans. And that generates an aggregate balance sheet of:The total buying here is 4 coins. And we have 240k of loans outstanding against an initial collateral value of 60k. This is unsurprising as max leverage is just 1/haircut.Over time, until there is a crisis, we know lending standards get looser. Let's say that is reflected in lower haircuts. At 10% it is useful to compare the "3 loans" and "infinite loop" aggregate balance sheets. Here we are still running the loans through a total of 3 banks -- total funding is still 3M:
The situation with 1 loan for each lender is pretty mild. But the infinite loop aggregate system is far more levered! This activity generated buying of 10 coins and leaves behind a liquidation order for 11.With a haircut of 2%:
Now we are able to exhaust a system-wide total of 3M lending against a single coin. This process generates buy orders for 50 coins. And the aggregate liquidation order is for 51x the initial collateral.Safety of the loans isn't even the primary concern here. This activity facilitated buying 50 more coins. This isn't someone trading 50x on an exchange -- each individual transaction here is just an at-market loan and a cash purchase of coin.
We don't even require the same person to keep taking out these loans. The simplest sequence of events is likely:
- Borrow against BTC
- Buy BTC with loan proceeds
- Deposit BTC into a yield generating protocol
- Protocol lends the BTC
Tuesday, November 16, 2021
How Big Can Collateralized Crypto Lending Get?
BTC is in fixed supply. This is one of, if not the, top reasons people who love it love it. However this fixed supply has interesting implications for the collateralized crypto lending markets.
As discussed previously on this blog if we start with 1 unit of stablecoin to lend out against BTC collateral and require an overcollateralization haircut of X% we can end up with 1/X in gross loans (longer discussion here).
We know stablecoins are printed and lent to various platforms from the public press. Here we will discuss how the fixed supply of BTC constrains the growth of this lending.
The key observation here is: the aggregate liquidation order has to be for fewer coins than the total outstanding. Simply put the price must be high enough that: \begin{equation} \frac{Stablecoins}{Haircut} = Supply \times Price \end{equation}
Assuming 18M BTC outstanding we get the following minimum prices to support lending at the given haircut:
At an average haircut of 10% with 50B raw stablecoin outstanding to lend the market requires a BTC price at least 27.8k. At 4% and 75B the required floor is now over 100k. With higher haircuts the prices are obviously lower. This is not a difficult spreadsheet to build.
Take a look at the bottom few rows. This is a real limit on non-fiat-backed stablecoin issuance! In some sense a lower haircut is like a looser monetary policy -- lending is easier. But with a fixed money supply the price must rise, possibly dramatically, to provide adequate collateral for non-fiat-backed loans.
A stablecoin issuer that wants to issue more coins against collateral must make a choice: how do they balance the haircut against the number of coins they want (need) to issue? Note that when the haircut is below 50% most of the lending is not from the original issuer -- it is instead follow-on rehypothecation loans out there in defi land.
A lender that wants to ramp up business has to monitor what fraction of the total coins they might already need to sell. The supply of coins is currently growing slowly. But in the short term -- in the sort of timeframe one might need to execute a liquidation order -- the supply is effectively fixed.
There Is No Free Lunch
Printing coins to push up prices, or to grease the wheels of lending platforms, or for any other purpose may at first feel like an unconstrained activity, something that can go on forever. But this is ultimately a markets activity. We are talking about borrowing and lending, buying and selling.
Lending against collateral is a transformation of some sort. It is an event creating a flavor of credit. Otherwise what purpose does it serve? Creating credit in a system with a fixed-in-stone money supply feels like an activity that cannot continue without limit.
This is that limit: there is a price at which more than the entire monetary base needs to be liquidated to satisfy someone's liabilities. And these liquidations may occur on platforms nobody can easily shut down.
Monday, November 15, 2021
Crypto Lending, Market Structure and Stop-Losses
Crypto lending is now a "big thing." DeFi protocols, centralized services, stablecoin loans -- these are all very much in the news. All of this activity is unregulated in the sense that leverage is only limited by the risks involved parties are willing to take. Given the size and evident high risk tolerances of many participants in the space it's worth asking just how much leverage is floating around.
Market Setup
Let's start with two assumptions to simplify things:
- Loans are of stablecoin (STA) with crypto collateral (COL).
- At inception loans are X% overcollateralized with a single margin call when the value of the collateral drops to the balance of the loan.
How Much Gross Lending Is There?
Margin Calls and Liquidations
Leveraged Buying
Stablecoin Issuers
Plugging In Numbers
Extreme Scenarios
- 90B in USD reserves
- 10B in initial loans, 15B in total loans
- A stop-loss for 15B at 39k
- 20B in USD reserves
- 80B in initial loans, 800B in total loans
- A stop-loss for 800B at 59k
Monday, October 11, 2021
Offshore Banking: The Basics
A lot of the discussion around stablecoins, and the crypto-banking nexus in general, touches on offshore banking. Some of this discussion is, um, confused by degrees between innocuously at fatally. This is an attempt to sketch how the system works and highlight those components that are most relevant.
Basics
Let's start by assuming a working international banking system. This means banks like Citibank and HSBC exist and offer accounts in both a range of countries and currencies. Note specifically to Americans: it is common in much of the world for your bank to provide accounts denominated in several currencies both for personal and business use. This is not a niche product -- especially where cross-border (possibly small) business is concerned.
There is also some regulatory framework for finance specifically and business in general We can approximate that framework as: don't commit fraud, don't call yourself a bank when you aren't licensed as one and you cannot access the payment system directly without a license. Obviously that's not exhaustive and there are 200+ banking regimes around the world so it'll have to do.
We also need to assume the existence of "offshore financial centers." These are regimes where we can establish legal entites, enter into long term contracts under a reasonable legal system, hire corporate services firms for admin and not have to worry about taxes. This isn't about avoiding taxes -- it's about allowing funds to flow freely through legitimate structures without always worrying about tax.
Going Offshore
Now let's say we want to set up an offshore financial institution. We incorporate a legal entity in an offshore financial center, call it "XYZ Financial Services." XYZ has a local company ID number and officers who can sign contracts. It can go and get a local bank account to rent an office, pay salaries, pay legal fees etc. This is our "operating" company: it will employ people, pay the electric bill, and generally operate as a business does.
So what does XYZ after moving in to swanky new offices and buying computers? It sets up "XYZ Capital" as a subsidiary, with it's own ID number. Capital is going to hold the client assets and maintain links with the financial system. The operating company now contacts banks around the world to set up accounts for XYZ Capital. There is probably a contract between them laying out the terms of the relationship.
The operating company then maintains two "spreadsheets." The first one tracks all of Capital's bank account balances. And the second one tracks all the money owed to clients. This second spreadsheet is what we mean by a "client account." There are no physically segregated piles of cash and securities: an account is simply internal recordkeeping.
If a client demands real hard separation that amounts to setting up a clone of "XYZ Capital" with all it's accounts for that client alone. The recordkeeping is then identical with perhaps a third spreadsheet tracking which clone is owned by which client(s).
Onboarding Clients
At this point we are ready to take in client money. Clients are instructed to transfer funds into any of Capital's many bank accounts in whatever currencies are available. The operating business then records those incoming transfers and credits on both the internal and external spreadsheets.
Note that there is 0 money or credit creation going on here. We assumed the existence of a global financial system. The client money now sits in our accounts within that system. Transfers, withdrawals, investments etc all run out of our accounts.
Our first client is likely the management company itself. The business model is to charge clients fees in exchange for services. How do we do that? Mechanically a fee is simply a notation in the internal books of a transfer from a client account to the management account. Nothing moves in the outside world -- we just assign a slightly larger ownership share in the external bank accounts to the management company.
Every so often the operating business will request a withdrawal to it's own accounts -- to pay salaries or whatever -- and the external account balances will drop a little.
Commingling Funds Much?
Isn't this scheme commingling client funds? This behaviour is not what that term means. Note that all of the operating expenses of the business are paid out of accounts in the name of the management company and those are totally separate from the thing that holds client money. We a commingling of corporate and client funds when the rent and salaries are paid out of the same bank account used for client transfers.
But how can this be? All our money sits in one common set of accounts! No. The basement of your local bank does not contain individual piles of cash corresponding to each customer. The bank likely has one (or a handful) of clearing accounts which hold the balances and everything else is an internal record.
Bad Practices
So now it's pretty obvious how this can go wrong. We can only instruct transfers in the real world for amounts sitting in our external bank accounts. But we can create any internal records we want! We can just credit one client, internally, an arbitrary amount of money and let them pay other people.
And in fact as long as they are making payments only within XYZ Capital there are no limits. However we have a serious problem once withdrawals begin. If we start with 100 in real client assets and inject 50 of made-up money we can still process 100 in outbound payments. But the 101st dollar cannot leave out little walled garden
There is nothing stopping the management company from entering into the following deal with a client: we will credit you $100 now and you promise to pay us $101 in 30 days. And we can roll this 101/102 and 102/103 forever. Well not forever -- only until someone tries to withdraw and we are out of money in our external accounts.
This is not, in an of itself, a problem. If the promise for $101 is real -- if it's some kind of tradeable debt security with a market price near 101 -- we can top up our external balances by selling it in the outside world in exchange for an incoming funds transfer. This is precisely why there is an interbank market for loans and bonds and the like.
But if it's not real, or it's worth dramatically less than $101 in the market, then we have a problem.
Solvency
Our little offshore business dies the day someone asks for an outbound transfer that we cannot service. It is perfectly reasonable that we need to sell something to service an outbound transfer. But if we simply cannot raise the funds we are insolvent.
It is therefore in our interest, if we want to do bad things, to keep as much of the action within our little walled garden as possible and keep out prying eyes.
In practice this is how regular banks work too -- except the banking regulator is (supposed to be) constantly checking the spreadsheets for chicanery. And the deal with a banking license is that the contracts and ownership relationship between the XYZ Capital and XYZ Financial Services get torn up when the regulator says so.
Tuesday, June 1, 2021
Tether: Bahamian 2021Q1 Data
The 2021Q1 data is out. The overall banking system shrank. The only significantly-changed asset is "due from financial institutions, head office or branches outside the Bahamas." That's the inside-large-global-banks cross-border banking entry. Everything else +/- unch.
So it's unlikely there are any crypto-related assets getting reported here at all, whether it's reserves or just exchange/fund cash balances. Cause the crypto space wasn't exactly flat in Q1.
Report here.
Moving Blog
blog is moving to https://datafinnovation.medium.com/
-
Lots of things about Tether are controversial. A few things about Tether aren't: That it is controversial. Issued during holidays &...
-
If we view stablecoins as traditional pegged currencies many tools from finance can be employed. In particular the description of pretty mu...
-
A lot of the discussion around stablecoins, and the crypto-banking nexus in general, touches on offshore banking. Some of this discussion i...