Live markets
UmbrellaX: a Polymarket style prediction market, built down to the ledger.
Market creation, order matching, position management and settlement, with a double entry ledger underneath and live market data pushed to a React and Next.js frontend over WebSockets.
The trading core
An order book per market, a double entry ledger, wallets and liquidity management. Every balance movement has a matching pair of entries, and the system can reconcile itself from the ledger alone rather than trusting a cached balance column.
- Order matching with position management per user per market
- Double entry ledger as the source of truth for every movement
- Atomic settlement, so a market never half resolves
- Idempotent transaction handling for retried and duplicated requests
- Full reconciliation across wallets, positions and the ledger
Realtime
Prices, fills and market state stream to the frontend over WebSockets. The client holds a live view of the book rather than polling, and a reconnect replays what it missed instead of guessing.
Stack