Spaces:
Sleeping
Sleeping
Commit History
-
ML confidence + honest relative-direction display
Khanna, Videh Rakesh Rakesh- Per-TF conf_hi: INTRADAY HIGH=0.72 (~85% dir acc, OOS 25k); 1D/3D HIGH disabled (conf_hi=1.01) since 75-85% is unreachable at those horizons (max proba ~0.63). - Record excess_labels in manifest; infer.py emits per-TF dir_basis. - UI: 1D/3D shown as OUTPERFORM/UNDERPERFORM (vs Nifty), not absolute BULLISH/BEARISH; ML/AI 'split' softened to 'different axes' for relative-vs-absolute calls. - Cache-buster v=20260723b.dffb9e9
-
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