docs(runbook): note the DCA cadence gotcha (signals=0, no preview) - #131
Merged
Conversation
The runbook's step 4 promises an order preview, but a DCA test vehicle only emits a signal on its calendar cadence -- (latest_daily_bar_epoch_day % cadence_days == 0), i.e. Thursdays for the weekly default. Running the agent on any other day prints signals=0 and never reaches the confirm prompt, which reads as a failure. Add a pointer in step 4 and a full 'What can still go wrong' bullet explaining the gate and how to fire it on demand (cadence_days=1, reverted after) vs the market-triggered risk-defined rules. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The go-live runbook's step 4 promises an order preview, but a DCA test vehicle only fires on its calendar cadence —
(latest_daily_bar_epoch_day % cadence_days) == 0, i.e. Thursdays (UTC) for the weekly default. Run the agent on any other day and you getsignals=0with no prompt, which reads as a failure (it isn't).Adds:
signals=0instead of a preview;cadence_days=1, reverted after — a one-rowrulesupdate that places no order), and that the risk-defined rules fire only on real market setups, so DCA on a cadence day is the controllable path for a first live order.Docs-only; verified against
keel/strategy/rules/dca.py.🤖 Generated with Claude Code