Bitcoin prices fluctuated wildly on Monday as rumors of a Bitcoin ETF approval circulated, were confirmed on Twitter, and then were falsified over the course of an hour.
Pyth Network handled this crash as designed and highlighted the precise scenarios where confidence intervals are crucial.
Here’s How it Worked
In the plot below, you can see the Pyth aggregate plotted along with its confidence interval shown shaded in purple, between 13:00 and 14:00 GMT on October 16.
During the peak of the spike, when Bitcoin hovered around 30k on most exchanges, Pyth confidence intervals widened to express uncertainty.
But this is just scratching the surface. Let’s dig deeper.
The plot below shows the aggregate price along with the confidence interval, alongside the minimum and maximum of the active publishers’ prices, and the 25th and 75th percentile of the active publishers’ prices.
As you can see, the 25th and 75th percentile intervals are relatively close, indicating that most publishers tracked the price spike on major centralized exchanges. There were some outliers (high and low), and the Pyth aggregation algorithm effectively filtered these out.
But it gets even more interesting.
The plot below shows the standard deviation amongst active publishers, the interquartile range of the publishers (the difference between the 75th and 25th percentile), and the width of the aggregate confidence interval.
The Pyth aggregation algorithm’s exclusion of outliers is easy to see in this plot: the standard deviation of the publishers is much larger than the interquartile range due to the few outliers.
Rather than peg itself to the range of the outliers, the Pyth confidence interval tracks the interquartile range very accurately.
Let’s take a look at one slot in particular at 13:32:44 GMT that day.
The aggregate price here was $29,545.15. The minimum publisher published a price of $27,938.90 and was the only publisher to publish a price below $29,300. The maximum publisher had a price of $29,596.09. The aggregate confidence interval width was $38.69, taking into account the fact that 26 active publishers were in a relatively tight $300 range and only one publisher was outside of that range.
Zooming into the main period of the spike, 13:30-13:40 GMT, we see visually that the confidence intervals expanded amidst the greater volatility and uncertainty.
Indeed, during that 10-minute stretch, the average aggregate confidence interval width was over $40, or approximately 0.1%.
Over the remainder of that hour, the average aggregate confidence interval width was about $17, or approximately 0.05%.
In fact, over the ~2 minutes where BTC ticked above $29,500, the aggregate confidence interval was on average around $80, or approximately 0.2%.
As reports came out that the rumors of an ETF approval were false, the BTC price on many centralized exchanges quickly dropped down to pre-news levels of around $28,000.
Pyth publishers reflected that price drop in real-time, and the aggregate dropped rapidly. As prices on these venues converged back to around $28,000, publishers’ quotes similarly converged, and the aggregate confidence accordingly decreased.
Of course, pre-news confidence (around $10, or approximately 0.03%) was lower than post-spike confidence (around $18, or approximately 0.03%).
There was greater uncertainty in the price of BTC due to lingering uncertainty around the news and its retraction, which was reflected in both higher price volatility post-spike and greater spread of publisher quotes.
As time went on and uncertainty decreased, so too did the aggregate confidence interval.
All this shows that Pyth Confidence intervals performed as designed and were robust in the face of market uncertainty.
We can’t wait to hear what you think! You can join the Pyth Discord and Telegram, and follow us on Twitter. You can also learn more about Pyth here.
Stay Updated with Pyth
Stay informed about Pyth network's development and upcoming events!