Skip to content

Add RESET_BANDS support, change DEV range to 1%#60

Merged
TaprootFreak merged 1 commit into
developfrom
feat/reset-bands-dev-1pct
Apr 28, 2026
Merged

Add RESET_BANDS support, change DEV range to 1%#60
TaprootFreak merged 1 commit into
developfrom
feat/reset-bands-dev-1pct

Conversation

@TaprootFreak
Copy link
Copy Markdown
Contributor

Summary

  • Add RESET_BANDS=true env variable: on startup, closes all existing bands (emergency withdraw), records close events for chart history, then re-mints with current config
  • Change DEV rangeWidthPercent from 3% to 1%
  • Historical bands remain visible in chart with exact open/close timestamps

Deployment

  1. Merge this PR → DEV deploys with 1% config + RESET_BANDS=true
  2. Bot closes old 3% bands, mints new 1% bands
  3. After successful reset, remove RESET_BANDS from docker-compose

Test plan

  • Old bands closed on-chain (liquidity withdrawn)
  • Band close events recorded (visible in chart as ended overlays)
  • New bands minted with 1% range
  • Dashboard shows ±1% in strategy info

Add RESET_BANDS env variable that triggers emergency withdrawal of all
existing bands on startup, then lets the bot re-mint with the current
config. Band close events are recorded so historical bands remain
visible in the chart. Change DEV range from 3% to 1%.
@TaprootFreak TaprootFreak marked this pull request as ready for review April 28, 2026 08:21
@TaprootFreak TaprootFreak merged commit d85755e into develop Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant