Spaces:
Running
Running
Commit History
-
Add NVIDIA NIM as free-tier LLM provider; research + UI updates
Khanna, Videh Rakesh Rakesh- Wire NVIDIA NIM (build.nvidia.com) into llm_client provider chain as a zero-cost 7th cloud provider via shared _try_openai_compatible driver (inherits timeout/retry/cooldown/daily-exhausted machinery) - Default to fast nemotron-super-49b (70b slug read-times-out on free tier) - Update CLAUDE.md, project_context.json provider-chain metadata - gitignore paper_trading.db.local_backup* and models_holdout_eval/ - Misc research scripts + UI/database updates8d1eb7b
-
ML model retrain + research updates + news/llm tweaks
Khanna, Videh Rakesh Rakesh- Retrain ml_predictor quantile/direction models + manifest - dataset/features/infer/train updates - Add research/ml_intraday_backtest.py + results; update ml selection/watchlist evals - llm_client and news_sentiment adjustments8af7f2e
-
Fix empty universe + full-market top picks; drop dead NSE price APIs
Khanna, Videh Rakesh RakeshUniverse (universe.py): - Source the WHOLE NSE market from NSE's official EQUITY_L.csv (~2,062 EQ stocks, all cap tiers incl. mid/small-caps) instead of Yahoo's top-500 screener, which is blocked on HF datacenter IPs (returned 0 -> empty universe -> top picks stuck 'Analysing...'). Chain: EQUITY_L -> Nifty-500 CSV -> Yahoo screener -> static fallback (nse_fallback_universe.py). - Persist cache to /data on HF (survives restarts). Top picks (top5_picker.py): - Scan draws from the whole market, capped at 700/run, ordered cache-first (data_sources.cached_tickers) + rotating cold tail so mid/small-caps are included and the market is swept over ~3 runs. Phase 1 is signals-only. Data sources (data_sources.py, app.py): - Remove dead NSE OHLCV API, NSE live-quote, and jugaad NSELive (all HTTP 403 bot-blocked even locally) to stop wasting a warmup+request per fetch. - OHLCV order simplified to yfinance-first. - Fix _is_price_fresh (was always-False via dead probes -> stop-loss ch…b0d9ebf