Skip to content

v0.0.1

First release: a running crypto MVP. One instance sweeps CoinGecko once a day, keeps the configured universes and daily bars in SQLite, and serves them over JSON-RPC on woodglue.

New

  • Instrument identity (cointoss.instrument): immutable {type}.{scope}.{symbol} ids anchored on composite FIGI, source-attributed references and Ticker History; an unresolved instrument gets its FIGI attached on a later retry.
  • Series (cointoss.series): time-versioned Universe, Exposure and Covariance Series over lythonic value types; Universe entries are stamped with the definition revision.
  • Universes (cointoss.universe): Universe Definitions as revision-logged recipes (rank rule, inclusions, exclusions) with pure evaluation, reconciled from config.
  • Risk (cointoss.risk): declared covariance with revision-stamped entries.
  • Prices (cointoss.prices): source-keyed bars with market cap, corporate actions and split-aware restatements.
  • Store (cointoss.store): SQLite with pragmas and a schema version; persists Instruments, references, Ticker History, Exposure and Covariance entries, Universe Definitions, membership intervals, evaluation runs and bars. Reads are point queries; writes diff open intervals rather than append whole Series.
  • Sources (cointoss.sources): typed CoinGecko client with rate limiting and daily market-chart history, yfinance get_info / get_prices / lookup with generated schema models, and an OpenFIGI adapter that takes a Universe of tickers.
  • Ingest (cointoss.ingest): pin a typed ticker or CoinGecko coin to an Instrument, and a daily market sweep that records universe membership and the day's bars without overwriting bars already written that day.
  • App (cointoss.app): woodglue namespace with the scheduled sweep (5 0 * * * UTC by default) and a read API, guarded by a sweep lock.
  • CLI (cointoss.cli): cointoss init, sweep and status; init --systemd writes a user unit, with --unit, --port and --schedule so a second instance can run on the same host.

Changed

  • POSIX only: the sweep lock uses fcntl and the service runs under systemd. CI covers Ubuntu and macOS on Python 3.11-3.13.

Documentation

  • Domain model in CONTEXT.md, nine ADRs in docs/adr/, and the build order and open decisions in docs/road-map.md.

Dependencies

  • woodglue 0.0.8 and lythonic 0.0.27; ruamel.yaml and croniter directly.

Decisions and tickets

New ADRs:

Closed tickets:

  • 4 Instrument identity: type the Instrument Id and Scope primitives

  • 7 Universe Definition and evaluation

  • 15 CoinGecko daily history via market chart

  • 23 init --systemd: name the unit, and set port and schedule, so instances can run side by side

  • 25 Adopt woodglue 0.0.7 / lythonic 0.0.26 and retire the workarounds