← All posts
Engineering Note

Local-first trading data

Dome Terminal is local-first. Market data, scripts, journal entries, bots, alerts and watchlists persist in a local database on your machine. The backend handles sync, admin policy and AI routing — not your working data.

The sync orchestrator

When you open a chart, the orchestrator inspects local coverage, plans the missing ranges, fetches them from providers, retries with backoff, and writes idempotently. Candles are cached with sensible retention — minute data for months, hourly for years, daily indefinitely — while your active charts, scripts, bots and journal are protected from eviction.

No fake data

Balances, trades and candles are always real or explicitly marked as cached/offline. There are no placeholder numbers anywhere in the data path.

This is an engineering note describing shipped behaviour.