<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: RamzesVII</title>
    <description>The latest articles on DEV Community by RamzesVII (@ramzesvii).</description>
    <link>https://dev.to/ramzesvii</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3843828%2Fc1a46286-d4c6-48cc-a433-fe385f161738.jpeg</url>
      <title>DEV Community: RamzesVII</title>
      <link>https://dev.to/ramzesvii</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ramzesvii"/>
    <language>en</language>
    <item>
      <title>CEXs lie with fair prices. Here's how to catch it in real time</title>
      <dc:creator>RamzesVII</dc:creator>
      <pubDate>Wed, 25 Mar 2026 23:39:41 +0000</pubDate>
      <link>https://dev.to/ramzesvii/cexs-lie-with-fair-prices-heres-how-to-catch-it-in-real-time-4eje</link>
      <guid>https://dev.to/ramzesvii/cexs-lie-with-fair-prices-heres-how-to-catch-it-in-real-time-4eje</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Pyth gets prices directly from institutional market makers (Citadel, Jane Street, Jump). When Binance/Gate/OKX diverges from that benchmark, even by 0.05%, it's measurable. Built a 3-screen dashboard to track it live across 30 assets. Link at bottom&lt;/p&gt;




&lt;p&gt;Every CEX claims to show 'the real price'. But price is not a single number - it's a probability distribution.&lt;/p&gt;

&lt;p&gt;Pyth Network doesn't scrape exchange prices. It receives data directly from first-party market makers - the firms that &lt;em&gt;set&lt;/em&gt; prices, not react to them. That makes it a useful benchmark: when a CEX diverges from Pyth, it's not Pyth that's wrong.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;The confidence interval is the interesting part&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every Pyth price comes with a CI - a range that reflects oracle uncertainty:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tight CI (±0.01%) = high agreement, deep liquidity&lt;/li&gt;
&lt;li&gt;Wide CI (±14%) = low publisher count, market closed, or disagreement&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I use CI as a signal threshold:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Deviation &lt;strong&gt;inside CI&lt;/strong&gt; = noise&lt;/li&gt;
&lt;li&gt;Deviation &lt;strong&gt;outside CI&lt;/strong&gt; = potential signal (arb, liquidation hunt, latency)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Concrete example: NVDA's CI is ±0.1% during NYSE hours. When the market closes it jumps to ±14%. The oracle literally tells you when to trust the price.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Pyth Radar - What I built&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pyth Radar is a real-time dashboard that measures how far 30 assets - crypto, forex, commodities &amp;amp; equities - deviate from the Pyth benchmark&lt;/p&gt;

&lt;p&gt;Target audience: algo &amp;amp; HFT traders, arbitrageurs, DeFi risk managers, quants&lt;/p&gt;

&lt;p&gt;Three screens:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Deviation Index&lt;/strong&gt; - 0-100 stress score across 30 assets (market breadth, each asset equal weight). Radar chart + category cards toggle&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F32iudyesxktpbtfi4vvh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F32iudyesxktpbtfi4vvh.png" alt="Cards View" width="800" height="536"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4ywuifhgpej0zfhdxq0q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4ywuifhgpej0zfhdxq0q.png" alt="Radar View" width="800" height="535"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Deviation Heatmap&lt;/strong&gt; - grid of 30 assets with two independent signals. Fill = how far CEX is from Pyth. Border = CI stress vs historical baseline. Click any asset to drill down&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fihlv5mwij7np6vjo3tt2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fihlv5mwij7np6vjo3tt2.png" alt="Heatmap" width="800" height="537"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Pyth Delta&lt;/strong&gt; - per-asset view. Pyth benchmark vs live prices from Binance, Gate.io, OKX, Bybit. Composite price, delta % per exchange, divergence log, sparklines&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faq6zjc5n5ciybcermzd0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faq6zjc5n5ciybcermzd0.png" alt="SOL Delta" width="800" height="539"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Exchange coverage: 4 exchanges, 6 WebSocket connections.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;What's next&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Post-market and overnight feeds for equities - Pyth already has separate feeds. NVDA's post-market feed has 6 publishers and ±0.04% CI vs ±14% on the regular feed after close.&lt;/li&gt;
&lt;li&gt;Telegram alerts when deviation crosses CI&lt;/li&gt;
&lt;li&gt;More assets, exchanges &amp;amp; price feed types (eg. Overnight / Postmarket / etc. - for equities)&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Links&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Live: &lt;a href="https://pyth-radar.vercel.app" rel="noopener noreferrer"&gt;https://pyth-radar.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/RamzesVII/pyth-radar" rel="noopener noreferrer"&gt;https://github.com/RamzesVII/pyth-radar&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pyth Network: &lt;a href="https://www.pyth.network/" rel="noopener noreferrer"&gt;https://www.pyth.network/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;X Article: &lt;a href="https://x.com/r_ladik/status/2036924687012552846" rel="noopener noreferrer"&gt;https://x.com/r_ladik/status/2036924687012552846&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built for Pyth Community Hackathon 2026: &lt;a href="https://dev-forum.pyth.network/t/pyth-community-hackathon/548" rel="noopener noreferrer"&gt;https://dev-forum.pyth.network/t/pyth-community-hackathon/548&lt;/a&gt;&lt;/p&gt;




</description>
      <category>webdev</category>
      <category>cex</category>
      <category>algotrading</category>
    </item>
  </channel>
</rss>
