Projects

Finance · since 2026

market_server

My market data server in Rust: imports prices, fundamentals and SEC filings, aggregates them into time series of any resolution and serves them to all my finance applications.

Sourcesmarket_serverApplicationsEODHDprices · splits · dividendsSEC EDGARfilings · company metricsIBKRlive minute barsImport jobsresumableSync ledgerwhat is coveredParquet · Arrowtime seriesCatalogSQLite · packagesAggregation on readminuteshourTrading calendarsincl. early closesday → week → monthConnect RPCRallyScopetrading_bookstratlabAgentic QuantArrow FlightPythonnotebooks · analysisOne source for all finance applications — each reads the resolution it needs.
Status
In production
Period
since 2026
Area
Finance
Role
Design, development, operations
1.66 bn
rows of time series stored
76,503
datasets
0
console errors the browser tests let through
RustApache Arrow FlightConnect RPCSvelteKitPlaywright

What for

Every one of my finance applications needs price data — and at first each had its own way of fetching it. market_server is the one source for all of them: RallyScope, trading_book, stratlab and the platform of my master’s thesis only read from here.

What it does

  • Import of prices, splits, dividends and fundamentals through import jobs that can be interrupted and resumed; a sync ledger shows per dataset what is covered and why a run ended.
  • SEC filings (EDGAR) with a screener over company metrics.
  • Aggregation on read: daily data becomes weekly and monthly candles, minutes become hours — with trading calendars including early closes.
  • Interfaces: Connect RPC for applications, Apache Arrow Flight for bulk data in Python.
  • UI in SvelteKit with charts from my library kerzwerk; filters and sorting live in the URL.

Chart view with daily candles, SMA 50 and RSI; splits and dividends are marked

Quality

The web UI has browser tests with Playwright that fail on any console error, page error or 5xx status. A component that throws while rendering is invisible to the type checker and just leaves the page looking empty — exactly what the tests are there to catch.