Impermanent loss on Uniswap and other AMMs is always permanent
Published
3 Monaten ago
on
By
Alexis Direr, a researcher at the University of Orleans in France, has released a paper summarizing the mathematical underpinnings of Uniswap and other exchanges based on Automated Market Makers.
Automated Market Maker is the term for a class of decentralized exchange that reached significant popularity in 2020, spearheaded by Uniswap.
In a nutshell, these exchanges do away with traditional order books and instead rely on liquidity pools governed by a mathematical formula. Traders are always able to make a transaction with the pool for even the most illiquid tokens, but each order will impact the price of the asset they are trading — a phenomenon called slippage.
The mathematical formula defines how the price changes in response to the size of a particular order. For example, the formula may say that exchanging 10 Ether (ETH) into Dai (DAI) yields $3,500, but exchanging 100 ETH only yields $3,400. This means that the price of 1 ETH is $350 in the former case, but only $340 in the latter. The formula is often called the “bonding curve,” as the various possible combinations describe a particular price curve. In the case of Uniswap the curve is a hyperbola, though other AMMs may have more complex shapes to optimize for different scenarios.
AMMs rely on liquidity providers — people and entities committing their capital into liquidity pools to facilitate trades and lower slippage. In return, LPs obtain trading fees paid by users.
While this may sound like a sweet deal, liquidity providers need to deal with “impermanent” loss. LPs may end up with less money than they put in initially when the price swings significantly in one direction. Compared to an equivalent 50:50 portfolio of the assets in question, the pool underperforms significantly with large price deviations.
Source: University of Orleans
The researcher explains that this phenomenon occurs due to the presence of arbitrage traders. Outside market prices do not obey the bonding curve, so constant action is necessary to keep Uniswap’s price in balance with the rest of the market. But when arbitrageurs rebalance the pool to the correct value, they do so at a “suboptimal exchange rate” defined by the bonding curve. This action extracts value from liquidity providers in favor of the arbitrageurs.
The loss is generally named “impermanent” because if the price were to return to its initial value, liquidity providers are completely even compared to the benchmark 50:50 portfolio. Discounting the case where the price permanently moves to a new equilibrium, Direr posits the question:
“The fact that the two strategies yield the same result seems at first disturbing. In the pooling strategy, the pool incurs arbitrage costs twice […] In the holding strategy, the investors avoids arbitrage costs altogether, yet ends up with the same final wealth. How is it possible?”
The researcher’s answer is that the way benchmarking is commonly done is misleading. Uniswap constantly rebalances the pool as it moves higher or lower, so that liquidity providers have fewer units of the asset that went up in price, and more units of the asset that went down in relative terms.
LPs effectively conduct a profit and cost averaging technique in both ways of the trip. They lock in some of the profit as one asset’s price moves higher, and progressively buy more as it goes back down.
Source: University of Orleans
Similarly to how such an averaging technique would work, a 50:50 portfolio that constantly rebalances will turn a profit, despite the price returning to the initial number. In comparison, the liquidity pool’s value simply remains where it was.
Hence, “impermanent loss” appears to be a misleading term. The loss is always permanent, but in the optimistic scenario it merely cuts into the gains that an equivalent strategy would have netted.
Bancor V2 and Mooniswap have adopted techniques to mitigate this type of loss. The former uses oracles to read true market prices and balance the pool accordingly, while the latter introduces a gradual time delay to minimize the profits of arbitrage traders.
Crypto enthusiasts could make $122K per year mining Ethereum with this setup
Published
6 Minuten ago
on
Dezember 29, 2020
By
Simon Byrne has taken at-home crypto mining to a whole new level as he looks to capitalize on Ethereum’s (ETH) enormous price potential.
As first reported by Anthony Garreffa, Byrne has set up an ETH mining rig consisting of 78 GeForce RTX 3080 graphics cards. Although the RTX 3080 is marketed toward high-end PC gamers, crypto miners are using these powerful specs to enhance their capabilities.
With each card using roughly 300W of power, Byrne’s setup uses 23.4KW of energy. And that doesn’t even factor in associated costs like AC. All said, his electricity bill is estimated to run up to around $2,166 per month.
The RTX 3080 launched in September at a price of $699, but supply shortages have caused the per-unit cost to swell to $1,199. At the shortage price, that’s a price tag of $93,522 for Byrne’s setup.
Still, these costs could be offset by the operation’s mining capability. One GeForce RTX 3080 graphic card has a hash rate of around 83MH/s using Ethash, which should generate roughly 0.22236870 ETH per month, according to Garreffa. All 78 cards would therefore generate 17.3 ETH per month, which is equivalent to around $12,352 at today’s prices.
Stripping away the electricity costs, that’s roughly $10,200 per month or $122,000 per year. And that’s not factoring in Ethereum’s price potential during the next bull market.
Ether’s price zipped past $700 over the weekend, the first such move since mid-2018. The return of altseason, as some have predicted, could send ETH’s price even higher over the medium term as investors cycle from Bitcoin to other large-cap cryptocurrencies.
Bitcoin price rally cools down as Polkadot gains 34% in first week of ‘altseason’
Published
11 Stunden ago
on
Dezember 29, 2020
By
Bitcoin (BTC) fell below $26,000 on Dec. 29 as fresh fallout from Ripple’s threatened U.S. lawsuit was felt throughout crypto markets.
Cryptocurrency market overview. Source: Coin360
BTC price dips as Coinbase halts XRP trading
Data from Cointelegraph Markets, Coin360 and TradingView showed BTC/USD hitting lows of $25,830 during Tuesday trading.
$27,000 support failed to hold overnight, sparking a retest of lower levels which now center on $26,000. At the weekend, Bitcoin hit all-time highs of $28,400 before swiftly reversing.
The latest losses come as XRP, the fourth-largest cryptocurrency by market cap, hits $0.23 thanks to major U.S. exchange Coinbase opting to suspend trading from next month. The reason is a lawsuit from the U.S. Securities and Exchange Commission (SEC), which threatens to classify XRP as an unlicensed security and make trading it all but impossible.
“There is going to be a rangebound construction, after which 2021 will most likely break out again,” Cointelegraph Markets analyst Michaël van de Poppe summarized about Bitcoin’s short-term perspectives in a video update on Monday.
Analyst braced for altseason
Van de Poppe is eyeing altcoins as next in line to see major gains. XRP notwithstanding, the market is already showing signs of life, with Ether (ETH) climbing above $700 for the first time since May 2018 this week.
Another winner on Tuesday was Polkadot (DOT), now the seventh-largest token by market cap, which saw a 22.5% daily rise, capping weekly performance of nearly 34%.
For Van de Poppe, the next “impulse wave” on Bitcoin in 2021 should take the market to $40,000 or $50,000, but “until then, altcoins will most likely do well.”
He additionally pointed to a likely top in Bitcoin market cap dominance, which at almost 70% should soon give way to altcoin presence. December tends to see BTC dominance peaks, with 2017, the time of Bitcoin’s first attempt to crack $20,000, a notable comparison.