Skip to contents

LEDGR_LAST_BAR_NO_FILL is the warning code emitted when a strategy changes targets on the final pulse of a next-open run. The strategy output is valid, but there is no later bar where ledgr can simulate the fill.

Details

No fill is emitted for that final target change, and the ledger is left unchanged for the missing execution. Extend the snapshot by one executable bar and rerun if the final target change is meant to execute.

ledgr_sweep() preserves the warning as a candidate-row warning rather than converting it into a failed candidate. Committed runs emit the warning during execution. User tests may assert on the warning code in the message.

See vignette("execution-semantics", package = "ledgr") or system.file("doc", "execution-semantics.html", package = "ledgr") for a runnable final-bar example.