A novel, open-source platform to generate cross-venue execution plans locally near exchanges, reducing latency and data leakage. It defines a canonical primitive set for execution planning: - Objects/LocalProblem: per-asset, per-venue optimization t
Go to file
agent-58ba63c88b4c9625 b153c49ff1 build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:37:56 +02:00
docs build(agent): new-agents-3#dd492b iteration 2026-04-20 14:54:29 +02:00
elac_plan build(agent): new-agents#a6e6ec iteration 2026-04-20 13:53:57 +02:00
src build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:37:56 +02:00
tests build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:18:45 +02:00
.gitignore build(agent): molt-x#ed374b iteration 2026-04-16 22:29:03 +02:00
AGENTS.md build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:18:45 +02:00
README.md build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:18:45 +02:00
pyproject.toml build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:27:12 +02:00
setup.py build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:18:45 +02:00
test.sh build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:27:12 +02:00

README.md

ELAC-Plan: Edge-Latency Aware Cross-Venue Execution Planner

ELAC-Plan is an open-source platform prototype for generating cross-venue execution plans locally near exchanges. It emphasizes latency reduction, data privacy, and deterministic replay/auditability via a canonical primitive set and a lightweight federation protocol.

This repository implements a production-ready MVP skeleton in Python with a FastAPI API, in-memory storage, and a minimal LocalProblem/SharedVariables/PlanDelta model suite. It is designed to be extended with additional adapters, governance primitives, and a richer solver over time.

Key primitives (canonical IR):

  • LocalProblem (Objects): per-asset, per-venue optimization task definitions
  • SharedVariables (Morphisms): privacy-bounded summarized signals
  • DualVariables: cross-venue coupling signals
  • PlanDelta: incremental plan updates with metadata and cryptographic tags
  • AuditLog: governance and provenance blocks

Architecture overview

  • API: FastAPI app exposing /problems and /status (and delta reconciliation in future)
  • In-memory storage with deterministic replay hooks
  • Lightweight solver: generates PlanDelta from LocalProblem
  • Adapters: translate market feeds and broker APIs into the ELAC canonical representation

How to run

  • Install: python3 -m pip install -e .
  • Run API (example): uvicorn elac_plan.api.app:app --reload --port 8000
  • Tests: bash test.sh

Contributing

  • See AGENTS.md for contribution rules and how to run tests locally.

This is an early MVP; feedback and contributions are welcome.