Skip to content

Show actual band range in dashboard, document tick spacing limits#62

Merged
TaprootFreak merged 2 commits into
developfrom
fix/dashboard-actual-range-and-docs
Apr 28, 2026
Merged

Show actual band range in dashboard, document tick spacing limits#62
TaprootFreak merged 2 commits into
developfrom
fix/dashboard-actual-range-and-docs

Conversation

@TaprootFreak
Copy link
Copy Markdown
Contributor

Summary

  • Dashboard fix: Calculate actual range from band ticks instead of showing config values
    • Before: "Total Range: ±1%, Band Width: ~0.29%" (config value, incorrect)
    • After: "Total Range: 4.3%, Band Width: 0.60%" (actual tick-aligned value)
  • README documentation:
    • Minimum band width constraint per fee tier (table)
    • Env-specific pool configs (POOL_CONFIG required)
    • Data persistence (price-history.json, band-events.json)
    • Band reset procedure (RESET_BANDS)
    • All health/dashboard endpoints

Test plan

  • Dashboard shows actual range values matching real band ticks
  • README renders correctly on GitHub

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%.
Dashboard now calculates actual range from band ticks instead of
showing config values. Document minimum band width constraint per
fee tier, env-specific pool configs, data persistence, band reset,
and all health/dashboard endpoints in README.
@TaprootFreak TaprootFreak marked this pull request as ready for review April 28, 2026 08:36
@TaprootFreak TaprootFreak merged commit a64838c 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