# PythCorrelation - Real-Time Crypto Correlation - Explore how crypto assets move together using live market data

**URL:** <https://dev-forum.pyth.network/t/pythcorrelation-real-time-crypto-correlation-explore-how-crypto-assets-move-together-using-live-market-data/706>\
**Category:** Pyth Community Hackathon\
**Created:** [March 30, 2026, 4:50pm UTC](https://dev-forum.pyth.network/t/pythcorrelation-real-time-crypto-correlation-explore-how-crypto-assets-move-together-using-live-market-data/706 "2026-03-30T16:50:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rustrell](https://yyz2.discourse-cdn.com/flex034/user_avatar/dev-forum.pyth.network/rustrell/32/228_2.png) [@rustrell](https://dev-forum.pyth.network/u/rustrell)\
**Post date:** [March 30, 2026, 4:50pm UTC](https://dev-forum.pyth.network/t/pythcorrelation-real-time-crypto-correlation-explore-how-crypto-assets-move-together-using-live-market-data/706/1 "2026-03-30T16:50:01Z")

</div>

**PYTH CORRELATION TRACKER — Real-Time Cross-Asset Correlation Analytics  
Team:** @rustrell, @wladwtf (max 2 people)  
**Submitted:** [30.03.2026]

**Answer Capsule  
Pyth Correlation Tracker -** is a real-time cross-asset analytics dashboard powered by Pyth Network. It streams live prices for 28 assets via Pyth Hermes, computes Pearson correlation, Shannon Entropy, NMI, and Lead-Lag relationships every 3 seconds. Live Pyth oracle prices are XOR-hashed to seed the bootstrap PRNG for the Entropy Lab - market-derived randomness instead of Math.random().

**What It Does**

### What It Does

Most analytics tools show prices in isolation. **Pyth Correlation Tracker** reveals the hidden architecture beneath the markets - which assets move together, which diverge, and which one leads while the other follows - all streamed live from Pyth Network oracles with -400ms latency.

The platform tracks **28 major assets** simultaneously across crypto, FX, metals, equities, and indices, recomputing statistical relationships every 3 seconds across a rolling 200-tick window. Beyond standard linear math, the **Entropy Lab** applies Shannon entropy and Normalized Mutual Information (NMI) to surface nonlinear dependencies that Pearson correlation completely misses - pairs that look uncorrelated on the surface but are secretly coupled in volatility, regime, or lag.

The **Lead-Lag module** identifies which asset moves first and which follows, using cross-correlation shift analysis. The **Benchmark Charts** pull historical OHLCV data directly from Pyth Benchmarks, giving context to live price action.

## **Pyth Features Used**

_Check all that apply:_

- Price Feeds (on-chain or off-chain)

- Entropy (randomness)

- Both

### Links

- **Live Demo:** [https://pythcorrelation.com](https://pythcorrelation.com)

- **Source Code:** [https://github.com/stytunnik-code/pyth-correlation-tracker](https://github.com/stytunnik-code/pyth-correlation-tracker)

- **Docs:** [https://pythcorrelation.gitbook.io/pythcorrelation-docs](https://pythcorrelation.gitbook.io/pythcorrelation-docs)

### Tech Stack

**Framework/Language:** React 18 + TypeScript, Canvas API

**Oracle (live):** Pyth Hermes WebSocket — 28 assets, ~3s updates, ~400ms latency

**Oracle (historical):** Pyth Benchmarks REST API — OHLCV candlestick data

**Pyth Entropy:** On-chain randomness source powering the Entropy Lab

**Math Engine:** Pearson correlation, Shannon Entropy, NMI, Cross-correlation shift

**Deployment:** Vercel

**Content Contributions (Required)**

- **Public Post (Reddit, Dev.to, or Hashnode):** [PythCorrelation - DEV](https://dev.to/rustrekk/pythcorrelation-453a)

**- Bonus — X Platform Post:** [1 post](https://x.com/xzolmoney/status/2028416948413890894) , [2 post](https://x.com/xzolmoney/status/2028761040654082539) , [3 post](https://x.com/xzolmoney/status/2028866999506358346) , [4 post](https://x.com/xzolmoney/status/2029947254648209622) , [5 post](https://x.com/xzolmoney/status/2029974811892392427) , [6 post](https://x.com/xzolmoney/status/2030351247144820770) , [7 post](https://x.com/xzolmoney/status/2030600675218825387) , [8 post](https://x.com/xzolmoney/status/2030603066253193669) , [9 post](https://x.com/xzolmoney/status/2030678533937184945) , [10 post](https://x.com/xzolmoney/status/2030947831914086767) , [11 post](https://x.com/xzolmoney/status/2031322610865144046) , [12 post](https://x.com/xzolmoney/status/2031323489395732813) , [13 post](https://x.com/xzolmoney/status/2031641552041214143) , [14 post](https://x.com/xzolmoney/status/2031817872842838411) , [15 post](https://x.com/xzolmoney/status/2032127647447171103) , [16 post](https://x.com/xzolmoney/status/2032396291708256665) , [17 post](https://x.com/xzolmoney/status/2033164141318246490) , [18 post](https://x.com/xzolmoney/status/2033224116900118644) , [19 post](https://x.com/xzolmoney/status/2033605597363315102) , [20 post](https://x.com/xzolmoney/status/2033958928719999386) , [21 post](https://x.com/xzolmoney/status/2033976948465025494) , [22 post](https://x.com/xzolmoney/status/2034368783557489139) , [23 post](https://x.com/xzolmoney/status/2034379631470534675) , [24 post](https://x.com/xzolmoney/status/2035411518976643284) , [25 post](https://x.com/xzolmoney/status/2036233344120152402) , [26 Final Post](https://x.com/xzolmoney/status/2035741696634282265)

**Licensing**

_Licensed under Apache 2.0:_ [Licensed Apache License 2.0](https://github.com/stytunnik-code/pyth-correlation-tracker/blob/main/LICENSE)

## **Eligibility Confirmation**

- I am 18+ years old

- I am not located in an OFAC-sanctioned jurisdiction

- I confirm this is an original work created during the hackathon period

- I have read and agree to the [Terms & Conditions](https://dev-forum.pyth.network/t/terms-conditions/527)
