Building a Crypto Correlation Explorer with Vibe Coding #
How it started #
I wanted to visualize cryptocurrency relationships, so I spent an afternoon vibe coding to see how far I could get. I’ve been interested in how different tokens correlate and move together, and building an interactive explorer seemed like a good way to figure it out.
The Project: Crypto Correlation Visualization #
What I Built #
Using Google AI Studio, I crafted an application that:
- Visualizes token relationships through interactive correlation matrices
- Analyzes log returns to understand price movement patterns
- Explores statistical relationships between different cryptocurrencies
- Backtests a trading strategy which uses those relationships
Technical Details #
The statistical foundation includes:
- Log return analysis for normalized price comparisons
- Correlation mapping to identify strongly related token pairs
- Cointegration tests to validate if two pairs move together (Johansen’s test)
These statistical tools are crucial for understanding whether crypto pairs represent a true relationship - essential knowledge for any serious trading strategy.
Future Plans #
This isn’t just another data visualization project. I’m building toward something bigger: a full-scale trading platform focused on market-neutral strategies like pair trading.
Imagine identifying crypto pairs that historically move together, then capitalizing on temporary divergences through sophisticated algorithmic trading. That’s the endgame.
Why vibe coding worked here #
For this project, vibe coding meant skipping heavy upfront planning and just following the data. I started with simple visualizations and let the tool evolve naturally as I noticed interesting correlation patterns.
What’s Next? #
The roadmap is exciting:
Implement cointegration testing algorithms🏁Add automatic data refresh🏁Build backtesting capabilities🏁- Integrate trading strategy with your Ex/Dex of choice
Quick update: #
After spending one more evening on my application it now has a strategy builder module. You can test how a market-neutral strategy performs depending on various parameters. You can also use AI-driven helper! I still have a few issues to solve: speed is one of those. When you click ‘Simulate’ - give yourself a break, make a coffee, call a friend or watch next episode of your favourite show. It’s been published under 3 domains: