About Spillover Lab
Project Overview
Spillover Lab is a modular platform for time series analysis and forecasting, built around financial and econometric models. It reimagines my master's thesis on GARCH-based volatility spillovers in global markets.
The original research modeled how a collapse in China's real estate sector could ripple through global real estate ETFs—like the 2008 Financial Crisis, but with the shock centered in Beijing.
With Spillover Lab, the epicenter is yours to choose. Where's the next bubble forming?
Features
Data Sources
Access real-time market data from Stooq and Yahoo Finance, or generate synthetic R&D datasets.
- Stooq and Yahoo Finance: Real-time stock, ETF, and index data
- Synthetic Data: Controlled testing environments
Econometric Models
Industry-standard time series models for financial analysis and forecasting. Implementation details available at ReadTheDocs.
- ARIMA Models: Price forecasting and trend analysis
- GARCH Models: Volatility clustering
- Spillover Analysis: Interconnection measurement
Visualizations
Charts and analysis tools for comprehensive market research.
- Time Series Plots: Price and volatility
- Spillover Networks: interconnection diagrams
- Risk Metrics: Various point estimates
Implementation
Architecture
The following sequence diagram illustrates the project's architecture:
Tech Stack
Frontend
A Django web app provides an intuitive UI for analysis. Why Django?
- less boilerplate
- faster prototyping
- batteries-included (auth, forms, routing)
API
A FastAPI service handles the computational tasks. Why FastAPI?
- Fast, easy to write
- auto-docs with Swagger/OpenAPI
- GraphQL wrapper for flexible data querying
Compute Package
Python package implements statistical models. Why package?
- package once, use everywhere (API, CLI)
- Easy to publish and integrate with CI/CD
Database
A Postgresql database stores pipeline run metadata and model results. Why postgres?
- scales
- good Python libraries (psycopg2, SQLAlchemy)