# Energy Market Intelligence Backend

Modular backend for market data ingestion, serving, and reporting across Iberian power markets.

## What it does

This stack separates market intelligence into independent modules instead of mixing everything into one fragile dashboard script.

Current domains include:

- `ESIOS`
- `OMIP`
- `REN`
- commodities and FX commentary
- serving and local reporting outputs

## Architecture

The design is simple and operational:

- one Python module per domain
- one DuckDB per domain when persistence matters
- incremental refresh workflows
- local serving layers for downstream reporting
- CLI-first operation for repeatable runs

## What it is used for

- building canonical local datasets for power market analysis
- serving clean data to reporting and decision layers
- reconstructing historical views without depending on live websites
- separating raw capture, storage, and presentation

## Why it matters

The value is not “having data”. The value is making market data legible, auditable, and reusable across different decision systems.

## Outputs

- canonical local databases
- serving tables and exports
- reporting-ready datasets
- derived views for market monitoring and follow-up

## Status

Active modular stack used for market data operations, reporting, and internal decision support.
