Docs/DEX/CEX Trading

DEX/CEX Trading

Production + Expansion

OpeniBank trading combines local orderbook execution with network-mode CEX integrations and a node-hosting model. The product surface spans retail terminal UX, hosted trade node services, and institutional execution controls.

North Star

A single operator can route, monitor, and audit spot trading activity across DEX and connected CEX venues through one risk-governed execution layer.

Production Pillars

  • Price-time priority orderbook matching (BTreeMap core)
  • Maker/taker fee logic based on notional value
  • Unified market data: ticker, orderbook, trades, klines
  • Hosted trade node service tiers (solo, hosted, institutional)
  • Receipt-backed execution audit across venue adapters

Source Baseline

This documentation page is aligned with the following OpeniBank v4 planning files.

  • 01-PRODUCT-ARCHITECTURE.md
  • 02-SOLO-MODE.md
  • 04-NETWORK-MODE.md
  • 08-TECH-STACK-REPOS.md

Service Model

Solo Trading Node

Independent traders

Local market terminal with Binance reference feeds, simulator capabilities, and private strategy control.

Core Components

Trading terminalLocal risk controlsReceipt log

Delivery: Runs within OpeniBank local stack

Hosted Trade Node

Teams, funds, and regional operators

Managed trade infrastructure with monitored uptime, exchange connectors, and hosted APIs.

Core Components

Connector fleetMarket data relayExecution gatewayObservability

Delivery: Managed host service by OpeniBank or partners

Institutional Trade Host

Banks, brokers, and enterprise desks

Dedicated deployment with compliance controls, settlement coupling, and SLA-backed support.

Core Components

Private networkingRisk hooksSettlement adaptersAudit exports

Delivery: Dedicated environment (VPC / on-prem / hybrid)

Deep-Dive Pages

Back to all systems

CEX/DEX Node Topology

Production

Execution paths are split by venue type but unified by a common routing and audit model.

Expose one coherent execution architecture where local orderbook, DEX routing, and CEX adapters can be reasoned about consistently.

4 production checkpointsOpen Topic

Matching Engine and Clearing Integration

Production Track

Orderbook matching is deterministic and can be coupled with clearing cycles for net settlement workflows.

Guarantee fair matching semantics and prepare trade outputs for downstream netting and settlement services.

4 production checkpointsOpen Topic

Trading Node Hosting Services

Production Track

OpeniBank supports deploy-your-own, managed hosted, and dedicated institutional trade host models.

Provide a clear service model for users and investors evaluating operational ownership and SLA responsibilities.

4 production checkpointsOpen Topic

Market Data and Risk Controls

Production

Real-time data feeds and pre-trade safety checks are treated as first-class production systems.

Protect users from stale data and uncontrolled execution by combining feed governance with policy guardrails.

4 production checkpointsOpen Topic