Skip to content

NewsAlerts v2.10.1

Choose a tag to compare

@github-actions github-actions released this 23 Oct 12:56
· 10 commits to main since this release
Immutable release. Only release title and notes can be modified.
7e13198

NewsAlerts v2.10.1 — Release Notes

Release Date: October 2026
Type: Patch Release (PATCH — Momentum Tape Squeeze Filter Precision & 5-Min Watchlist Auto-Sync)
Single Source of Truth: VERSION (2.10.1)


🚀 Overview

NewsAlerts v2.10.1 resolves critical false-positive surge triggers in the Running Momentum Tape Engine and introduces 5-Minute Periodic Auto-Refresh Synchronization for TradingView Cloud Watchlists.

In previous versions, micro-cap stocks with high intraday percentage changes (such as STAK) could repeatedly trigger Squeeze Alert - Up 5% in 5min and Up 10% in 10min on the tape even while consolidating tightly or declining from premarket highs. Version 2.10.1 establishes rigorous rolling-window upward progression rules, eliminates invalid premarket server-velocity fallbacks, and ensures watchlists auto-synchronize symbol counts without manual button clicks.


🛠️ Key Bug Fixes & Enhancements

1. Elimination of False Squeeze Alerts on Flat & Declining Stocks (Issue #46)

  • Pre/Post-Market Server-Velocity Isolation:
    • Identified that TradingView screener change|5 and change|15 fields return static deltas against yesterday's regular session close during extended hours (e.g. STAK returned ~9.68% and ~11.43%).
    • Restricted TradingView change|5 and change|15 velocity evaluation strictly to regular market sessions (session == "reg"). In premarket and postmarket sessions, surge velocity is now exclusively calculated from verified in-memory tick-by-tick rolling history (st.hist).
  • Strict Rolling-Window Surge Geometry:
    • Enforces upward chronological validation: the window low must occur before the surge high (t_min < t_max). Downward moves or selloffs from peaks can never trigger a squeeze alert.
    • Enforces crest proximity: current price must be actively near the surge peak (price >= max_p * 0.975). Stocks that dumped from peaks (e.g. STAK down -13% from $2.13) are strictly rejected.
  • Anti-Spam Price Progression Rule:
    • Once alerted at price $P_{alert}$, the tape will never re-fire at the same or lower price.
    • Ongoing surge alerts require a progressive price advancement of at least $+1.0%$ above the previous alert price ($P_{new} \ge P_{alert} \times 1.01$).
    • Once the time window has elapsed, re-alerting requires a completely new local low formed after the previous alert followed by a fresh $+up_pct%$ surge.
  • Removed Flawed Intraday Fallback:
    • Eliminated the fallback not st.hist and session_chg >= up_pct which previously treated any stock up $+5%$ or $+10%$ on the day as having surged in 5 minutes.

2. TradingView Watchlist 5-Minute Auto-Refresh Synchronization (Issue #46)

  • Integrated an automatic background synchronization interval (setInterval) running every 5 minutes (300,000 ms) in initWatchlistControl().
  • Automatically queries TradingView Cloud Watchlists (/api/tv_watchlists), refreshing symbol counts and titles (e.g., updating when stocks are removed externally in TradingView).
  • Preserves the currently selected watchlist in the dropdown without disruption or jumping.
  • Background sync runs silently without disruptive toasts; manual clicks on the 🔄 button continue to provide visual spinning feedback and confirmation toasts.

🎯 Closed Issues

  • Resolves #46: fix(tape): eliminate false squeeze alerts on declining stocks and add 5-minute watchlist auto-refresh