#ResearchBites from the @Panoptic_xyz team.

============
One of the core assumptions behind financial models is that prices follow a geometric brownian motion (GBM) --eg. Black-Scholes.

Does the price of the most traded asset in Uniswap v3 also follow a GBM?

Let's find out! 👇 Image
We will analyze the 5, 30, and 100bps ETH-USDC UniV3 pools.

The 5bps pool gets 90% of all volume and, zooming in on the price action, appear to have a smaller "per trade impact" than the 30 and 100bps pools

What is the size distribution of the price jumps for each pool? ImageImageImage
If the price were a GBM, then the size of the price jumps would be normally distributed.

Instead, the price jumps are narrowly peaks around size~0.

They also have a kurtosis that's much larger than a normal distribution's (high kurtosis = long-tail event are more likely). ImageImageImage
Indeed, the distributions can't be fit to a gaussian. An exponential distribution also fails to cover the distribution's "long-tail".

Surprisingly, the size of each price jump fits very closely to a power law distribution.

(CT: tag someone who may know why it's a power law) Image
Key insights:

- The 5bps pool gets 90% of all USDC volume
- The 5bps pool likely follows the CEX price more closely due to its 0.05% arbitrage fee
- The distribution of price jumps does not follow a normal distribution
- The price jumps follow a power law distribution (!)
Questions/Caveats:

- Can a GBM have a power law random process?
- What is the impact of a large kurtosis on price action?
- These distribution may be colored by uneven time steps
- A lot of the volume is arbitrage and not reflect "organic" order flow
We may tackles these questions in a future.

In the meantime, please follow @Panoptic_xyz for your daily dose of #ResearchBites and other important updates!

============
This content is for educational purposes only and should not be relied upon as financial advice.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Guillaume Lambert | Hiring! DMs always open | 🦇🔊

Guillaume Lambert | Hiring! DMs always open | 🦇🔊 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @guil_lambert

Oct 16, 2022
Thanks for the many people that reached out about this brainteaser, it is now time for me to post the solutions :)

It turns out the solution is an integral part of how @Panoptic_xyz tracks options NFTs

what does 28253706383254293962.... have to to with NFTs ??

Thread👇
1/16
(TL;DR) It is really encoding for a ETH-SHIB Reverse Jade Lizard as hinted (!)

We'll show below how it encodes for:

• 1 long put @ 7509 x 10^-12
• 1 short put @ 8070 x 10^-12
• 1 short call @ 8936 x 10^-12
2/ So first of all, let's get back to how positions are tracked by the UniswapV3Pool.sol smart contract

Any liquidity deployed by 𝚘𝚠𝚗𝚎𝚛 between a 𝚝𝚒𝚌𝚔𝙻𝚘𝚠𝚎𝚛 and 𝚝𝚒𝚌𝚔𝚄𝚙𝚙𝚎𝚛 is stored in a mapping defined by the keccak256 hash of (owner, tickLower, tickUpper)
Read 19 tweets
Sep 7, 2022
Providing liquidity in Uniswap v3 generates a payoff that is mathematically identical to selling a put option.

Yet, most LPs do not use the tried-and-tested strategies used by options traders.

Here are 8 tips to help Uni v3 LPs behave more like successful options sellers 👇
1/ Have directional assumptions

Is your outlook on the token bearish, neutral, bullish?

You should control the "delta" of a position by shorting the token before locking.

Use the desmos link in this post to determine your LP positions' shorted amount: Image
2/ Understand pin risk

The width of a position should match your risk tolerance. A narrow position will rapidly convert between token and ETH in a way that is similar to pin risk in options.

Use r<1.07 if active traders and 1.07 < r < 1.75 for most traders, with r=√(Pb/Pa)
Read 11 tweets
Aug 31, 2022
Providing liquidity in @Uniswap v3 can be 600x more capital efficient than on Uni v2.

However, most use a passive approach, re-adjust their position too frequently, or provide liquidity to low-yield pools.

Here are 10 tips to make your Uni v3 LPing 10x more efficient.

A 🧵:
1. Know the risks

Providing liquidity has potentially unlimited losses and capped profitability.

LPing can generate income, but returns *will* underperform simply holding when the asset appreciates.

The key is to understand that LPing = selling options:
lambert-guillaume.medium.com/uniswap-v3-lp-…
2. Choosing an asset pair

Choose an asset pair that has enough 1) volume, 2) liquidity, and 3) legitimacy.

One way to evaluate 1) & 2) is to look at the 24h fees and TVL of a pool in info.yewbow.org/#/pools

Choose any asset with >$1M TVL and >$1k in daily fee
Read 13 tweets
May 26, 2022
. @Panoptic_xyz is a perpetual, oracle-free options protocol

-Perpetual: Panoptic options never expire. This completely eliminates the need to roll options

-Oracle-free: This one makes @Panoptic_xyz much more resilient to attacks compared to other protocols.

Here's why👇
1/ Image
2/ Oracles are necessary whenever a smart contract needs to know about external (real-world) data.

"Without a reliable connection to real-world conditions, smart contracts cannot effectively serve the real-world." (docs.chain.link)
3/ Many DeFi protocols rely on @chainlink to provide secure and accurate data about the price of digital assets.

In most lending protocols, for instance, oracles are necessary to ensure that an account, and by extension the whole protocol, remains solvent.
Read 16 tweets
Apr 4, 2022
I just published "Designing a constant volatility AMM"

We describe how to construct an AMM that keeps volatility constant regardless of the price dynamics of the underlying.

How do we do this? Read the details below 👇

1/10
link.medium.com/SeyX5EvhXob
2/ First, we have to start from the relationship between the fee tier in Uniswap v3, the daily volume, and the liquidity locked at the currently traded tick.

One can combine these qty to create an "invariant" that is the same across different pools if the track the same asset. Image
3/ What we did next is to *invert this expression* so that the feeTier is instead floating, and the implied volatility is constant.

This means that specifying an IV will dynamically adjust the feeTier for each trade according to the trade size and the amount of tickLiquidity Image
Read 10 tweets
Feb 23, 2022
I just published: "Gamma transforms: How to hedge squeeth using Uni V3"

We demonstrate how 1-tick Uni v3 LP positions can perfectly hedge the gamma of positive convexity assets like squeeth.

Gamma transforms? squeeth? convexity?

Let's dig in 👇

lambert-guillaume.medium.com/gamma-transfor…
1/ First, what is gamma? Gamma is a measure of the "convexity" of an asset.
An asset with a positive convexity will increase in value faster as its price goes up. OTOH, an asset with negative convexity will see diminishing returns.
Here's a graph showing how gamma affects price: Image
2/ Formally, Gamma is defined as the second derivative of the value of an asset. Recall that delta is the first derivative of the value of an asset

Delta = slope, Gamma = slope of the slope

Here's the gamma and delta for a positive convexity instrument like a long call option.
Read 12 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(