Spaces:
Sleeping
Sleeping
Commit History
-
Update README: rename to MarketSignal, add vigyatri.com URL
b3f19a8 -
Make sign in button prominent with sky blue color and icon
5df644e -
Rename NewsToStocks to MarketSignal, add formerly label
396b8bd
-
Add optional user accounts and watchlist (Supabase auth)
- auth.py: JWKS/ES256 token verification, same pattern as CareerBandhu - app.py: /api/config, /api/watchlist, /api/sources endpoints - index.html: Sign in button, account dropdown, watch ★ buttons on all stock cards and search result, saved feeds section, auth modal - style.css: account area, watch button, auth modal styles - requirements.txt: supabase, PyJWT[crypto] - deploy-gcp.yml: --set-secrets for Supabase env vars Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>f0c2a81
-
Make GCP Cloud Run deploy manual-only (workflow_dispatch)
Removes the 30-minute schedule and the auto-trigger after HF Spaces deploys so GCP deployments only happen when explicitly triggered.1f0d15d
-
Add HF deployment health check before GCP deployment
Added a check-hf-deployment job that verifies the HuggingFace space is healthy (returns HTTP 200) before proceeding with GCP deployment. This ensures GCP is only deployed after HF deployment passes. Also added workflow_run trigger to deploy when HF deployment completes. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>9de4c9e -
Update deploy-gcp to run every 30 minutes on schedule and on code changes
Added schedule trigger (*/30 * * * *) for periodic deployments and push trigger for immediate deployment on code changes to main branch. Documentation and config files are excluded from triggering deployments. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>992acb6
-
docs: correct Google Cloud Run URL in README
c0b5955 -
docs: add live app URL to README
992c600 -
Add collapsible quick-tour intro explaining the page sections
bc2d47e -
Submit Cloud Build async and poll status to avoid log-streaming permission failure
28a23da -
Suppress Cloud Build log streaming in GCP deploy workflow
b1563f7
-
Add manual GitHub Actions workflow to deploy to Cloud Run
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b63b768
-
Add source attribution for news headlines and price data
Tags each "why is X moving" headline with its publication name (Reuters, MarketWatch, CNBC, etc.) derived from the article URL, and notes Yahoo Finance as the price-data source in the disclaimer, so users can see where every signal comes from.b14096e
-
chore: use K.N.Narin handle in copyright, contact via GitHub
3b9c34e -
fix: update copyright holder to full legal name (Kura Nagender Narin)
cfc65d6 -
chore: add copyright, license, and financial disclaimers
Non-commercial source available license. Prominent financial/investment disclaimer added to UI footer and Python header.8f08cf5
-
Make dark theme the default; warm cream toggled via Light mode button
7e5cc80 -
Add Warm Cream theme as default with Dark mode toggle
Default theme: warm off-white (#faf7f2), amber accent (#b45309), brown muted text — easy on the eyes, professional look. Dark theme: original indigo-on-dark scheme, toggled via sidebar button. Preference saved to localStorage, applied before first paint (no flicker).f4e1521 -
Add sort controls and performance summary bar
Sort options: Top Picks (default), A→Z, ▲ Gainers, ▼ Losers. Sorting is applied server-side after the sector cache lookup. Performance bar shows live up/down/flat counts for the current view. Sort state preserved in URL (?sort=gainers) so links are shareable.f04f710 -
Add NASDAQ-100 auto-loader alongside S&P 500
Generalized _load_wiki_index() handles any Wikipedia index table. Loads S&P 500 and NASDAQ-100 at startup; deduplication is automatic since both use the same dicts. NASDAQ-100 adds tech-heavy names not always in S&P 500 (e.g. MELI, ASML, CDNS, TEAM, DXCM).daf92ec -
Auto-load all S&P 500 stocks from Wikipedia at startup
Scrapes the Wikipedia S&P 500 constituents table on boot, adding all 500+ tickers and company names to company_to_symbol and _all_symbols. Uses GICS Sector + Sub-Industry columns to automatically slot each stock into the correct sector_to_symbols buckets (tech, biotech, defense, etc). Fails gracefully — existing hand-curated entries are unaffected.cb7ea6c -
Add stock search: sidebar input + /search route + full article view
Search accepts any ticker (AAPL, ASTS) or company name (Tesla, Nvidia). Results show live price, 1-day change, all positive/negative articles from the accumulated store. Not-found state shown for unknown tickers.a43adf2 -
Add ASTS (AST SpaceMobile) to space and telecom sectors
ee7bfea -
Accumulate articles across scrape cycles instead of replacing
_article_store holds all articles ever seen, deduplicated by URL. Each 15-min scrape merges new articles in; nothing is discarded. All sector rankings and mention counts grow over time as more coverage is gathered. Removed _sector_cache.clear() — sectors are re-ranked from the full accumulated set on each refresh.1f50838 -
Pre-compute all sector results in background; add 22 RSS feeds + ticker matching
Architecture: - After news scrape, a daemon thread ranks all 25 sectors in parallel (pure Python, no I/O), then fetches prices for every unique symbol in one batch. Results stored in _sector_cache so tab clicks are instant. - On-demand fallback used only on the very first request before the background thread completes. Coverage: - RSS sources: 5 -> 22 (Reuters tech, CNBC x3, WSJ, TechCrunch, Fortune, Business Insider, Investing.com, Nasdaq, Reddit x3, Yahoo x2, MarketWatch x2) - $TICKER pattern matching added alongside company name matching so articles using "NVDA" or "$AAPL" are also captured02cede2 -
Add sector tab bar navigation with 25 tabs
Replaces sector text input with a horizontal scrollable pill tab bar across the top of the main content area. Each tab is a GET link so clicking is instant (uses cached data) and the URL is bookmarkable. Active tab highlighted in accent color. Sidebar simplified to just Refresh and custom RSS feed controls.bdfd8c5 -
Switch to compact grid layout to fit top 50 on screen
Cards now render in a responsive auto-fill grid (minmax 240px). Each card has a compact two-row header: ticker+price on row 1, change badge+mentions on row 2. Drops single-column tall card layout.1337e22 -
Increase top picks limit from 6 to 50
a249d93 -
Show why a stock is rising or falling when card is expanded
Tracks positive and negative articles separately per stock. Clicking 'Why is [TICKER] moving?' expands two labelled sections: rising drivers (green) and falling headwinds (red), each with up to 3 source articles.b19179d -
Expand sector coverage: 30+ sectors, 150+ companies
Added space, biotech/genomics, hardware/storage, AI, defense, telecom, gaming, clean energy/solar, retail/ecommerce, travel/airline/hospitality, food/restaurant, and REIT sectors. Company dictionary grows from ~80 to 150+ entries. Sidebar tag cloud updated to show all available sectors.724a437 -
Add parallel fetching, VADER sentiment, live prices, source articles, dark UI
- Replace TextBlob with VADER (tuned for financial headlines; compound score threshold 0.05) - Parallel RSS fetch with ThreadPoolExecutor (all feeds hit simultaneously) - 15-minute in-memory cache; cache age shown in sidebar - yfinance integration: live price + 1-day % change on each stock card - Source articles: up to 3 clickable headlines per recommendation (collapsible) - Expanded company dictionary: 80+ companies across 15 sectors - Dark sidebar layout with sector tag cloud and meta stats - Loading overlay with spinner on form submit - Legal disclaimer added to all results pages - Responsive layout for mobile Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>edf7305 -
Update HF Space URL to knnarin/NewsToStocks
d9e2fc1 -
Fix data pipeline bugs and set up GitHub→HF Spaces CI/CD
- Move company_to_symbol to module scope (was NameError in process_news) - Replace broken correlation logic with sentiment-score ranking - Switch news sources to RSS feeds (Reuters, Yahoo Finance, CNN, MarketWatch) - Add sector filtering via sector_to_symbols map - Link style.css in index.html; redesign UI with stock cards - Add lxml and nltk to requirements; download NLTK corpora in Dockerfile - Switch to gunicorn in Dockerfile (Python 3.11-slim) - Add .github/workflows/deploy-hf.yml for GitHub → HF Spaces auto-deploy Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>66ce193
-
Update app.py
Verified signature57ef8a7 -
Update app.py
Verified signatureremoving f in urlc68f32f -
Update app.py
Verified signature30a3e28 -
Update app.py
Verified signature126bbc0
-
Update app.py
Verified signature83d8fd0 -
Update app.py
Verified signature9a8341f -
Update app.py
Verified signature3156d0e -
Update app.py
Verified signatureadding more companies list08ad742 -
Update app.py
Verified signature98f9385 -
Update app.py
Verified signature061ad4b -
Update app.py
Verified signatureac60bc7 -
Update app.py
Verified signature76db331 -
Create Dockerfile
Verified signature9bd0d60 -
Update README.md
Verified signatureb738558 -
Update README.md
Verified signature3c44d06 -
Update app.py
Verified signatureb23f904