This application is a market-monitoring dashboard designed for commodities. It provides tools for tracking refining margins, crude benchmark curves, and product term structures in energy markets.
- Overview Dashboard: Key performance indicators, day-over-day changes, historical percentiles, and market-state summaries.
- Crack Spreads Analysis: Multi-year historical overlays, statistical distribution rankings, and small-multiple charts for key energy products.
- Term Structure Monitor: Forward curves, calendar spreads, forward crack spreads, roll yields, and term-structure heatmaps.
- Data Integration: DuckDB-powered data processing for parquet analytics files from LSEG Refinitiv.
- Core Framework: Next.js with App Router
- Language: TypeScript
- Database: DuckDB (using @duckdb/node-api)
- UI Components: Tailwind CSS, shadcn/ui, Radix UI, and Phosphor Icons
- Data Visualization: Recharts
Ensure you have Node.js and pnpm installed on your system.
Clone the repository and install dependencies:
pnpm installTo run the application locally in development mode:
pnpm devOpen http://localhost:3000/dashboard in your browser to view the application.
To create an optimized production build:
pnpm buildTo run the production server:
pnpm start