How supanan2548/atc-screener works
Binance Altcoin Screener is a browser-based market-analysis dashboard. After Supabase login, the user enters a workflow that loads cached market data, computes activity scores, and presents a filterable screener with live quotes; selecting an asset opens candles, indicators, and summary signals. Separate branches provide futures metrics and a risk calculator, plus starred watchlists and scheduled multi-timeframe scans. The README documents additional interface and indicator capabilities not fully represented in the sampled excerpts; those are mapped to their existing frontend paths without implying unverified internal calls.
Main entry points: chart.js Charts and detail · binance.js Binance futures proxy · main.js App startup · scan.js Scheduled scanner
Components 29
Access and Interface
- Login and session
frontend/js/auth.js - App startup
frontend/js/main.js
Market Data
- Live market feed
frontend/js/live.js - Futures quotes
frontend/js/futquotes.js - Contract mapping
frontend/js/futmap.js - CoinGecko client
frontend/js/coingecko.js
Analysis
- Screener and scoring
frontend/js/screener.js - Starred assets
frontend/js/watchlist.js - Scan results UI
frontend/js/scan.js - Summary signals
frontend/js/signals.js - Charts and detail
frontend/js/chart.js - Indicator calculations
frontend/js/indicators.js - Futures and risk
frontend/js/futures.js
Backend and State
- Markets API
api/coingecko.js - Market sync
api/sync-markets.js - Scheduled scanner
api/scan.js - Binance futures proxy
api/binance.js - Spot board access
api/_lib/binance.js - Scan indicators
api/_lib/indicators.js - PostgREST access
api/_lib/supa.js - Markets table
supabase/migrations/20260925000000_markets_cache.sql - Scan results table
supabase/migrations/20260923000000_scan_results.sql - Profiles and watchlist
supabase/migrations/20260922000000_profiles_watchlist.sql
Other components
- Dashboard user
- Binance APIs
- CoinGecko API
- Supabase Auth
- Supabase pg_cron
- Bybit liquidation feed
Connections 38
- Dashboard user → Login and session: signs in
- Login and session → Supabase Auth: authenticates
- Login and session → App startup: starts app
- App startup → Screener and scoring: loads markets
- App startup → Live market feed: connects feed
- App startup → Futures quotes: starts quotes
- App startup → Scan results UI: starts scan UI
- Screener and scoring → CoinGecko client: requests markets
- CoinGecko client → Markets API: fetches
- Markets API → PostgREST access: reads markets
- PostgREST access → Markets table: queries
- Market sync → Spot board access: gets spot board
- Spot board access → Binance APIs: fetches spot data
- Market sync → CoinGecko API: fetches metadata
- Market sync → PostgREST access: upserts and prunes
- PostgREST access → Markets table: writes
- Supabase pg_cron → Market sync: schedules sync
- Supabase pg_cron → Scheduled scanner: schedules scans
- Scheduled scanner → Spot board access: gets spot board
- Scheduled scanner → Binance APIs: fetches candles
- Scheduled scanner → Scan indicators: computes metrics
- Scheduled scanner → Scan results table: writes results
- Dashboard user → Charts and detail: opens asset
- Charts and detail → Binance futures proxy: requests candles
- Binance futures proxy → Binance APIs: proxies requests
- Charts and detail → CoinGecko client: loads fallback OHLC
- Charts and detail → Indicator calculations: computes chart indicators
- Charts and detail → Summary signals: renders summary
- Charts and detail → Contract mapping: looks up contract
- Futures and risk → Binance futures proxy: requests futures data
- Binance futures proxy → Binance APIs: proxies futures data
- Futures and risk → Bybit liquidation feed: subscribes liquidations
- Futures quotes → Binance futures proxy: fetches quotes
- Contract mapping → Binance futures proxy: fetches contracts
- Scan results UI → Scan results table: reads scan results
- Dashboard user → Starred assets: stars assets
- Starred assets → Profiles and watchlist: reads and writes
- Login and session → Profiles and watchlist: loads watchlist