Bug: Screener V1 breakout date shows 1 day ago instead of today
Resolved 💬 2 comments Opened Feb 26, 2026 by VoarL Closed Feb 26, 2026
Problem
V1 patterns in the screener show breakout date as "1d ago" when the stock actually broke out today. The date appears to be off by 1 day.
Expected Behavior
If a stock broke out today, it should show "Today" or "0d ago", not "1d ago".
Likely Cause
The backend screener.py may be calculating the breakout date based on the pattern end date (which is the last bar of the consolidation, i.e., the day before breakout). The actual breakout happens on the next bar.
Potential Fixes
- Frontend fix: Add +1 day when displaying V1 breakout dates
- Backend fix: In
screener.py, adjustend_dateto represent breakout day (pattern end + 1 day)
Files to Check
dashboard/backend/screener.py- V1 pattern detection,end_datecalculationdashboard/frontend-v2/app/screener/page.tsx- Date display logic, "Xd ago" formatting
Investigation Steps
- Check how
end_dateis set for V1 patterns inscreener.py - Compare with V2/V3 patterns to see if they have the same issue
- Verify the date calculation in frontend's relative date formatter
Scope
Small fix - likely 1-2 lines in either frontend or backend
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗