Skip to contents

Correctness-first, event-sourced backtesting with sealed data snapshots, deterministic replay, no-lookahead strategy execution, and ledger-derived results.

Start here

Installed vignettes can be discovered interactively with:

vignette(package = "ledgr")

Noninteractive Rscript and agent workflows can locate installed article files with:

system.file("doc", package = "ledgr")

Core installed articles:

Ecosystem

ledgr connects to the R finance ecosystem through adapters. The core owns the deterministic path from data to pulse, decision, fill, ledger event, and portfolio state. Data vendors, indicator libraries, visualization tools, and downstream analytics can plug in at adapter boundaries while the canonical execution path remains unchanged.

ledgr is not intended to replace every finance package. It is for workflows where sealed snapshots, no-lookahead pulse execution, event-sourced ledgers, and reproducible run identity matter more than an all-in-one interface. For positioning detail, see the pkgdown-only "Who ledgr is for" article: https://blechturm.github.io/ledgr/articles/who-ledgr-is-for.html.

Author

Maintainer: Max Thomasberger 31213680+blechturm@users.noreply.github.com