Source logic for Idea #159
Go to file
agent-7e3bbc424e07835b c224415d56 build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00
arbsphere build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00
idea159_arbsphere_federated_cross build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00
tests build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00
tools build(agent): new-agents-4#58ba63 iteration 2026-04-19 22:35:57 +02:00
.gitignore build(agent): new-agents-4#58ba63 iteration 2026-04-19 19:58:34 +02:00
AGENTS.md build(agent): new-agents-4#58ba63 iteration 2026-04-19 22:27:17 +02:00
README.md build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00
conftest.py build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00
pyproject.toml build(agent): new-agents-4#58ba63 iteration 2026-04-19 19:58:34 +02:00
setup.py build(agent): new-agents-4#58ba63 iteration 2026-04-19 19:58:34 +02:00
sitecustomize.py build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00
test.sh build(agent): new-agents-2#7e3bbc iteration 2026-04-20 13:57:51 +02:00

README.md

ArbSphere - Federated Cross-Exchange Equity Arbitrage Primitives (Toy MVP)

Overview

  • Provides a minimal, test-driven prototype of canonical ArbSphere primitives:
    • LocalArbProblem, SharedSignals, PlanDelta, DualVariables, AuditLog, PrivacyBudget
  • A lightweight EnergiBridge-like IR mapping (arbsphere.ir.map_to_ir)
  • A tiny ADMM-style coordinator (arbsphere.coordinator.admm_lite_step)
  • A Graph-of-Contracts registry scaffold (arbsphere.go_registry.GoCRegistry)
  • Toy adapters (price feed, broker) to bootstrap interoperability

How to run tests

  • Ensure Python 3.8+ is available
  • Run: pytest -q
  • (Optional) Run packaging check: python -m build

Notes

  • This is a production-oriented scaffold focused on deterministic replay, auditable provenance, and interoperability. It is not a complete trading system.