Projects

Finance · since 2026

trading_book

A trading journal with freely arranged modules — watchlist, chart, order ticket, positions — and a replay clock for trading past market phases day by day.

Socket.IO · every device sees the same timeServerNestJS · tRPC · SQLite2022-11-25 2022-11-28 2022-11-29 2022-11-30 2022-12-01 replay clockmarket_serverhistorical pricesDesktop2022-11-25 2022-11-28 2022-11-29 2022-11-30 2022-12-01 WatchlistOrderLongShort10 sharesBuyChartPositionsno open position Long 10 @ 103.80±0.0% −0.7% +0.8% Tablet2022-11-25 2022-11-28 2022-11-29 2022-11-30 2022-12-01 Positionsno open position Long 10±0.0% −0.7% +0.8% The server owns the time: chart, order and position show the same day on every device.
Status
In development
Period
since 2026
Area
Finance
Role
Design, development
NestJStRPCSocket.IOSvelteKitSQLiteDrizzle

The replay clock

Top right runs a clock that does not show real time: when it is set to a day in 2022, every module sees exactly that moment — the chart ends there, orders fill at the prices of the time. The server owns the time, not the browser, so all modules and devices share the same state.

Workspace with watchlist, chart, order ticket and positions; the replay clock at the top stands on 28 Nov 2022

Architecture

A pnpm monorepo: a NestJS API (tRPC and WebSockets, SQLite with Drizzle) and a SvelteKit SPA without SSR. Trading and workspace logic live in a framework-free package used by both sides; the browser only knows the API as a type contract. Market data comes from my market_server, charts from kerzwerk.