1) What is the most popular term in DeFi which you have never heard of in traditional world? Probably aping but let's assume it's impermanent loss (IL). Every liquidity provider in AMM suffered from IL. But do you know that you can beat it? Read this thread to find out how.
2) Let's start with a quick definition of IL. It's a difference in value between your current assets in liquidity pool (LP) and assets you would have if you hadn't added them to LP. In other words:
IL = current assets at current prices - initial assets at current prices
3) Why current assets are different than initial assets? Because this is how AMM works - each trade changes the amount of both tokens (x and y) in LP so that their product remains constant (x*y=k). It's like automatic rebalancing of your portfolio consisting of tokens x and y.
4) So if price of token x (e.g. ETH) goes up and y (e.g. DAI) remains stable, your porfolio (LP) is rebalanced by selling ETH to DAI so that value of ETH equals value of DAI. As a result, you will have less ETH and more DAI in LP but value of both assets will be the same.
5) This auto-rebalancing also means that AMM has paper hands - each price increase in ETH results in selling a bit of your ETH to DAI. That's why your initial assets at current prices would be worth more outside of LP - you would hodl ETH without selling on the way up.
6) Example above shows that IL is pretty painful in LPs with volatile assets and stablecoins. We come to the 1st (obvious) tip:
1: To minimise IL, add to LP positively correlated assets.
ETH and WBTC are perfect example. They are highly correlated so low risk of IL.
7) When using AMMs, traders pay a fee which goes to liquidity providers. It's a source of passive income which can mitigate IL or even produce net surplus. How much fees you earn depends on trading volume. The higher the volume, the more fees for liquidity providers.
8) Buy you have to share the fees with other liquidity providers. So your passive income from fees depends also on total liquidity in LP. The lower total liquidity is, the higher share of LP you own and the higher fees you collect. What matters is volume to liquidity ratio (V/L).
9) The higher V/L, the more fees you earn. E.g.:
For daily V/L of 1 and 0.3% swap fee, your 1$ of liquidity earns V/L*0.3%=0.003$ daily, i.e. 1.095$ annualized (109.5% APY). For V/L = 2, your LP APY=2*0.003$*365=219%.
Second tip:
2: To offset IL, look for LPs with high V/L.
10) Where to look for pairs with high V/L? info.uniswap.org/pairs and app.sushi.com/pairs list all LPs with their APY based on daily fees annualized. So for Uniswap this APY is calculated in the way I described above, i.e. 0.3%*Volume(24hr)/Liquidity*365.
11) Does 100% APY mean you will double your investment in a year? Not at all. Firstly, APY is based on V/L from last 24 hours - there is no guarantee it will stay the same. Secondly, it completely disregards the existence of IL which can be bigger than total profits from fees.
12) So you need a better tool which accounts for both Fees APY and negative IL APY to get Net APY - your net profit in LP. The best one I've used so far is from @ApyVision. It allows you to investigate the historical performance of LP. Let's check a few of their dashboards.
13) APY vs IL
It shows Fees APY, IL APY and Net APY depending on the entry time into LP. See ETH-DAI UNI LP below. If you entered this LP 30 days ago, your APY would be close to 50%. However, APY since inception (11.05.2020) is -26% - IL APY is double Fees APY.
14) Example above shows that even in a longer term (300 days) fees accrued in LP may not offset IL. But there is still a way how to counteract this. It's my 3rd tip:
3: Average your entry to LP to minimise impact of IL.
It basically means to add to LP multiple times.
15) Each time you add to LP, you average your entry prices. The aim is to minimise the difference between average entry price ratio and current price ratio between two tokens in LP - the lower the difference, the lower IL. See IL APY in ETH-DAI with avg prices since inception.
16) @ApyVision shows avg entry prices for your LPs in PRO mode but even in free version you see price changes (current vs avg entry) so you immediately know if one token outperforms the other. Your target is to keep these percentages close (low IL), like I did in my UMA-ETH LP.
17) Reserve/Volume
This is another useful dashboard from @ApyVision which shows V/L ratio (Reserves=Liquidity) each day. It doesn't account for IL but lets you see changes in V/L in time which may be useful in a short term LP strategy. See graph from $INV-ETH LP as an example.
18) V/L in first days: 19.02, 17.05, 14.30, 5.46. This corresponds to APYs: 2083%, 1867%, 1566%, 598%. Such a high V/L is what you want in short term LP strategy - in 4 days you'd earn 17% on your liquidity, excluding potential IL. Let's focus on where to look for such high V/L.
19) The best LPs to benefit from high V/L are the ones with low IL :) You want price to move inside a horizontal corridor as long as possible to maximise your profits from trading fees. This is basically my 4th tip:
4: Take advantage of LPs with high V/L and low IL.
20) My best picks for pools with high V/L and low IL:
- Tokens after IDO: huge hype => huge volume, price often flat at least for a few days until presalers and public sale participants end their dump.
21) - Tokens sold outside of AMMs on bonding curve for a limited audience (e.g. KYCed only): bonding curve = no sudden price movements; limits on participation = high volume on AMM with low liquidity => high V/L. Good examples: $EROWAN, $GHST (both required KYC to participate).
22) You can track your current LPs in apy.vision. If "Gains From Providing Liquidity" are positive, you're doing it right - you're making more than hodling. If they are negative, IL is winning - maybe you should add to LP to average your entry prices to mitigate it.
23) Sometimes fees alone can't offset IL but you can still earn a lot. That's my 5th tip:
5: Stake your LP tokens to earn in liquidity mining (LM) programs.
Projects often reward liquidity providers with their own tokens (LM APY). Your Net APY = Fees APY + LM APY - IL APY.
24) Last piece of advice concerns exiting LP:
6: Time your exit to minimise impact of IL.
The best time to exit is when current price ratio is close to average entry price ratio. So don't rush, wait and monitor your positions. Add to LP if needed. You are going to make it.
25) If you find this thread helpful, please retweet so more DeFi users learn how to profit from LPs. High liquidity on dexes is essential to build a decentralized financial system and become independent on cexes.
It's NOT paid promo for @ApyVision. I just like and use their tool.
1) I really like experiments. Especially the ones which can disrupt what we are currently used to. DeFi is the best example - an attempt to disrupt TradFi with a code. AMMs are already disrupting centralized exchanges and constantly evolve. What about the final form of AMM?
2) This is what @IntegralHQ tries to achieve - the final form of AMM, the one that eats other exchanges' liquidity. Sounds like a dream, doesn't it? So let's dive into it deeper. It's complex and I won't pretend I fully understand all the technical docs but I'll try to ELI5.
3) How will @IntegralHQ suck in all the liquidity? Technically it won't. But it will act as if it would have. This is due to its unique combination of AMM with orderbook (OB-AMM design). It allows them to mirror liquidity from other exchanges to become the cheapest one to trade.
1) While I, as active liquidity provider, am excited about sophisticated options for LPs in $UNI v3, I'm also concerned that too much complexity will only serve few in the know and leave the majority of (passive) LPs behind.
2) Although I haven't conducted a survey to justify my thesis, I'm quite convinced that the majority of current LPs don't actively manage their pools. This is based on my observations and pushed me to share a set of "advanced" strategies for active LPs:
3) Uni v3 feature to provide liquidity only for a given range (+ other options) will be useful for professional market makers who will likely eat lunch of passive LPs. If passive LPs earn less, they may look for alternative simple solutions.
1) If you don't like reading long blog posts with project updates but prefer to get a bullish thread with a summary of news pumping your favourite token, I'm here to serve. It's $BNT time again after the March release of Bancor Progress Update. blog.bancor.network/bancor-progres…
2) "In the last month, the total value locked in the Bancor Protocol has more than doubled, exceeding $1.6 billion. Bancor broke into the top 10 projects by TVL and now generates the fifth highest revenue of any protocol on Ethereum." - no commentary is needed - bullish $BNT.
3) $BNT circulating supply reported by CoinGecko & CoinMarketCap is overstated. When you deposit single-sided liquidity, @Bancor mints BNT into the pool to match it. This BNT is protocol-owned, largely remains in the pool earning fees and is eventually burned.
1) Although in a bull market narratives drive prices more than fundamentals, it's always wise to look at your portfolio from a bear market perspective and pay attention to traditional valuation metrics adapted to DeFi. @tokenterminal is a place to go. Let's play a bit with AMMs.
2) The most common metric used to compare protocols is Price to Sales ratio (P/S). It's a relation of a protocol's market cap to its revenue so it indicates how the market values the asset relative to its revenue and expectation of future growth.
3) In terms of AMMs revenue represents total fees paid by traders to liquidity providers. In other words it's the amount users are willing to pay to use the protocol. For better comparison market cap is fully diluted (FDV), i.e. it assumes all tokens are in circulation.
1) I've been trying to raise awareness of superior @Bancor dex for some time but my reach on Twitter is so low that I literally twitted for myself with the aim to quote it when market realises I was right. I think this time has come.
2) In my opinion @Bancor is the most innovative AMM on the market and $BNT is substantially undervalued. The core features include:
- Single-sided liquidity (you can add liquidity for your token only)
- Impermanent loss protection
- Low trading fees (0.2% vs 0.6% on Uni or Sushi)
3) More features are coming:
- Leveraged liquidity on staked $BNT (borrow against staked $BNT for better capital efficiency)
- Layer 2 on Arbitrum for faster and cheaper transactions
- Cross-chain bridge to Polkadot & other chains