2025JavaScript
Abstract
A Chrome MV3 extension that watches Finviz top gainers and losers on a schedule, scores SHORT/BUY setups, and overlays CNN analyst forecasts — quantitative screening without leaving the browser.
Highlights
- —Scheduled Finviz top gainers/losers scanning in Chrome MV3
- —SHORT/BUY setup scoring with CNN analyst forecast overlays
- —Browser-native quantitative screening — no separate dashboard required
JavaScriptChrome ExtensionFinvizQuantitative Finance
README
View on GitHubFinviz Stock Analyzer
Chrome MV3 extension that scans Finviz top gainers/losers on a schedule, scores SHORT/BUY setups, and surfaces CNN analyst forecasts.
Stack
- Manifest V3 service worker +
chrome.alarms(default: 30 min) - Data: Finviz screener/quotes, CNN
production.dataviz.cnn.io, Yahoo Finance / Stooq OHLCV - Models: RSI, Bollinger, SMA, mean-reversion, Conv1D-style kernel ensemble, CNN analyst target scaling
Install
chrome://extensions → Developer mode → Load unpacked → this folder
Output per ticker
| Field | Description |
|---|---|
recommendation | SHORT / BUY / HOLD |
confidence | 0–99, signal agreement |
strongScore | 0–100 composite |
expectedShortGainPct / expectedLongGainPct | Next-day projected move |
cnnAnalyst | 1y high/median/low targets |
exitTime | Suggested cover window (ET) |
Config (chrome.storage)
| Key | Default |
|---|---|
scanIntervalMinutes | 30 |
maxPages | 2 (20 tickers/page) |
batchSize | 3 parallel |
strongScoreThreshold | 60 (notifications) |
Layout
manifest.json MV3 entry
background.js alarm + scan dispatch
popup.* quick picks + sparklines
dashboard.* tables, search, export, settings
lib/
finviz.js screener + quote scrape
cnn.js analyst forecast API
yahoo.js OHLCV + fallbacks
analysis.js scoring engine
scanner.js batch orchestration
shared-ui.js formatters + canvas sparklines
Chrome Web Store
See CHROME_WEB_STORE.md for publish steps, review timeline, and ./scripts/build-store-zip.sh.
v1.2
- Finviz quote page overlay (content script)
- IndexedDB scan history + signal diff
- Sector aggregation tab
- Toolbar badge, context menus, options page
- Offscreen document for reliable long scans
Connect with Dhruv Hegde
More of Dhruv Hegde's open-source work on GitHub and LinkedIn.