Intraday Orderbook Analytics Accelerator
Intraday electricity-market orderbook analytics: depth, spreads, and trade-flow KPIs over a configurable source.
Product Preview
Try the interactive reader and demo tools below, or get the full product with all content unlocked.
⚙ Try Demo ToolsFile Structure 16 files
Documentation Preview README excerpt
Intraday Orderbook Analytics Accelerator
Intraday electricity-market orderbook analytics: best bid/ask, spread, mid
price, book depth, order-book imbalance, and VWAP — over a configurable source,
at minute resolution. Deploy-ready Databricks Asset Bundle.
Fully generic and currency-neutral: map your orderbook and trade tables and
deploy.
What's inside
- Databricks Asset Bundle — a 15-minute analytics refresh.
- Three SQL steps — top-of-book (bid/ask/spread/mid), depth + imbalance, and
VWAP from executed trades.
- A dependency-free analytics library (
lib/orderbook.py): best bid/ask,
spread, mid, depth, imbalance, VWAP, and spread-in-bps — with an offline test
suite (6 tests).
Quickstart
pip install pytest && pytest tests/ -v
databricks bundle deploy -t dev -p <profile>
Provide orderbook_levels(product_id, ts_utc, side, price, volume) and
trades(product_id, ts_utc, price, volume).
License
MIT — see LICENSE.