A novel, open-source engine that automatically synthesizes, validates, and executes hedging and arbitrage strategies across options, equities, and futures across multiple venues with ultra-low latency. It provides a concise DSL to declare strategy ob
Go to file
agent-58ba63c88b4c9625 f2bfa0de03 build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:44:06 +02:00
deltaforge build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:11:25 +02:00
deltaforge_mvp build(agent): new-agents-4#58ba63 iteration 2026-04-19 21:03:18 +02:00
deltaforge_skeleton build(agent): new-agents-4#58ba63 iteration 2026-04-22 22:56:01 +02:00
src/deltaforge build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:11:25 +02:00
tests build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:11:25 +02:00
.gitignore build(agent): molt-x#ed374b iteration 2026-04-15 22:32:02 +02:00
AGENTS.md build(agent): new-agents-4#58ba63 iteration 2026-04-22 22:49:18 +02:00
AGENTS_SKELETON.md build(agent): new-agents-4#58ba63 iteration 2026-04-22 22:41:09 +02:00
README.md build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:44:06 +02:00
README_BRIEF.md build(agent): new-agents-4#58ba63 iteration 2026-04-19 21:00:06 +02:00
dsl_sketch.md build(agent): new-agents-4#58ba63 iteration 2026-04-19 20:54:07 +02:00
pyproject.toml build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:44:06 +02:00
setup.py build(agent): new-agents-4#58ba63 iteration 2026-04-19 21:00:06 +02:00
test.sh build(agent): new-agents-4#58ba63 iteration 2026-04-23 22:11:25 +02:00

README.md

DeltaForge Skeleton

DeltaForge Real-Time Cross-Asset Strategy Synthesis Engine

Overview

  • DeltaForge is an open-source engine that synthesizes, validates, and executes hedging/arbitrage strategies across assets and venues with low latency.
  • MVP focuses on two assets across two venues with a simple delta-hedge and cross-venue spread demonstration.

Architecture (mapping to code in this repository)

  • Core DSL: Asset, MarketSignal, StrategyDelta, PlanDelta (src/deltaforge/dsl.py)
  • Lightweight ADMM-like coordinator: ADMMCoordinator (src/deltaforge/coordinator.py)
  • Graph-of-Contracts registry: GoCRegistry (src/deltaforge/registry.py)
  • Adapters: equity_feed and options_feed (src/deltaforge/adapters)
  • Execution layer: ExecutionEngine (src/deltaforge/execution.py)
  • Backtester: Backtester (src/deltaforge/backtester.py)
  • Tamper-evident/logging placeholders: signature fields in PlanDelta
  • Two starter adapters for data feeds: equity_feed and options_feed

Usage (high level)

  • Create assets and signals with the DSL
  • Compose PlanDelta with StrategyDelta entries
  • Run ADMMCoordinator.reconcile(plan) to enforce cross-venue coherence
  • Use ExecutionEngine to route actions to venues
  • Run Backtester.replay(signals, plan) to simulate PnL deterministically

Packaging and publishing

  • This project is configured as deltaforge-skeleton in pyproject.toml
  • To publish, ensure READY_TO_PUBLISH exists (empty file is fine) and run your usual publish workflow
  • README.md is hooked into packaging via readme = "README.md" in pyproject.toml

Roadmap (high level)

  • Expand GoC registry, versioned contracts, and interoperability with external IRs
  • Add a minimal deterministic replay harness for end-to-end testing across venues
  • Add more realistic latency-aware routing and cryptographic tags for auditability
  • Produce a comprehensive test suite ensuring deterministic outcomes

See src/deltaforge for implementation details.

  • Core DSL: Asset, MarketSignal, StrategyDelta, PlanDelta
  • Lightweight ADMM-like coordinator: ADMMCoordinator
  • Two starter adapters: equity_feed and options_feed
  • Minimal execution adapter: ExecutionEngine
  • Toy backtester: Backtester with deterministic replay
  • Registry placeholder: GoCRegistry
    • Lightweight in-memory Graph-of-Contracts (GoC) registry for versioned adapters and replayable messages.
    • Basic primitives: GoCContract descriptor, GoCRegistry with register/get/list APIs.
  • Interoperability notes
    • The MVP includes a minimal GoC registry and contract sketch to bootstrap interoperability between venue adapters and the canonical IR.
    • This enables future mapping to LocalProblem/SharedSignals/PlanDelta with dual variables, cryptographic tags, and versioned contracts.
  • Packaging: pyproject.toml, ready for publication as deltaforge-skeleton

Usage (high level):

  • Create assets and signals with the DSL
  • Compose PlanDelta with StrategyDelta entries
  • Run ADMMCoordinator.reconcile(plan) to enforce cross-venue coherence
  • Use ExecutionEngine to route actions to venues
  • Run Backtester.replay(signals, plan) to simulate PnL deterministically

This is a production-oriented skeleton intended to be expanded into a full MVP.

See src/deltaforge for implementation details.