DARKPOOL EXCHANGE SIMULATOR v0.1.0

Trade Without
Consequences

A self-contained, Alpaca-compatible stock exchange simulator. Full order book matching, real-time WebSocket streams, and autonomous market participants — all running locally.

AAPL $182.41 +1.65%
MSFT $374.86 +1.95%
TSLA $198.07 -0.47%
NVDA $819.32 +0.46%
SPY $471.67 -0.82%
QQQ $395.63 +0.15%
AAPL $182.41 +1.65%
MSFT $374.86 +1.95%
TSLA $198.07 -0.47%
NVDA $819.32 +0.46%
SPY $471.67 -0.82%
QQQ $395.63 +0.15%
Matching engine visualization — buy and sell forces meeting

The Matching Engine

Buy and sell forces collide — every order finds its match

Price-Time Priority Engine

Full order book with limit, market, stop, trailing stop, and bracket orders. FIFO matching within price levels. Real fills, real positions.

44294 fills today

Alpaca API Compatible

Drop-in replacement for Alpaca Paper Trading. REST + WebSocket streams. Just swap your base URL — zero code changes in your trading desk.

Port 8765 · REST + WS

Autonomous Market

Noise traders with GBM-perturbed prices and market makers maintaining two-sided quotes. The book has depth from the moment you start.

6 tickers · 12 noise traders · 6 market makers

Architecture

How it works

YOUR SDK
REST / WS
DarkPool
:8765
ORDER BOOK
ETS + PG
Infrastructure visualization — distributed exchange architecture

Infrastructure

OTP supervision trees, ETS storage, PostgreSQL persistence — built to be resilient

DarkPool · Elixir/OTP · Phoenix · Bandit Alpaca API compatible · Not affiliated with Alpaca Markets Inc.