PaperTrade / predictor_core.py

Commit History

fix: stop ThreadPoolExecutor wait=True hang on watchlist news pre-warm and predict I/O pool
e0a0214

Khanna, Videh Rakesh Rakesh commited on

AI range: containment mode + Target-below-range fix + ML un-floor
dd0818f

Khanna, Videh Rakesh Rakesh commited on

Intraday band: lower center mult 0.40->0.33
39a921e

Khanna, Videh Rakesh Rakesh commited on

Tight directional bands for INTRADAY + 1D
d1c2739

Khanna, Videh Rakesh Rakesh commited on

Intraday: floor the WHOLE range to >=1% (not just best case)
2a7068f

Khanna, Videh Rakesh Rakesh commited on

Fix wide NEUTRAL bands, live/pre-market target re-anchoring, stop-loss guard; add β‚Ή range to ML row
217447c

Khanna, Videh Rakesh Rakesh commited on

Force 1D range-only, volatility-scaled ML caps, sector-mode Top Picks, self-learning throttle + collapsible panel
17b15cc

Khanna, Videh Rakesh Rakesh commited on

Intraday 1% minimum: floor best-case to 1% (AI+ML+core) instead of skipping sub-1% calls β€” intraday routinely clears 1%
7a66a03

Khanna, Videh Rakesh Rakesh commited on

Intraday: 1% min-move gate (AI+ML), pre-market preview, momentum override, top-pick INTRADAY auto-refresh; retire 3D/5D from live view+API
ac1382f

Khanna, Videh Rakesh Rakesh commited on

Fix ML NEUTRAL/gapped-target UI: mark range-bound as no-trade, remove contradictory gapped-past-target warning
697340b

Khanna, Videh Rakesh Rakesh commited on

Fix AI conflicts: persistent retry (no terminal 'AI unavailable'), consistent direction/reasoning, live-anchored 1D/3D targets + gap note
f7bbcd1

Khanna, Videh Rakesh Rakesh commited on

Fix str vs date comparison crashing all watchlist predictions
8c33322

Khanna, Videh Rakesh Rakesh commited on

Surface all computed indicators (RSI-2/5, EMA20, BB levels, RS-vs-Nifty, Supertrend, EMA-stack, OBV-z, shadow) in AI prompt context
a070588

Khanna, Videh Rakesh Rakesh commited on

fix: live price AI context, top5 IST midnight reset, remove Primary Call UI
4550acf

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: AI-owned targets, BUY/SKIP chip, top picks expansion, Ollama last-resort fix
8b303a6

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: cost-aware predictions, graded validation, per-TF AI, drop 5D
9da1a46

Khanna, Videh Rakesh Rakesh Claude Opus 4.8 (1M context) commited on

fix: add _skip_news flag to predict_stock_v2; top5 Phase1 skips news (no LLM, 75 stocks)
629e8b9
verified

V1deh commited on

fix: repair Ollama fast-path β€” wrong model name, wrong API endpoint, latent NameError
5a82b24

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: add Ollama fallback, request context, and cached OHLCV helpers
385ef79

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: add loophole detection and specialist analysis
c8608d1

Khanna, Videh Rakesh Rakesh commited on

fix: watchlist slowness, low confidence, low ranges, missing banners
861267d

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: normalize news payload shape + clearer watchlist error messages
0d4ead0

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: meaningful INTRADAY ranges, confidence not defaulting to LOW, best_tf not hardcoded 3D
cb39613

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: prevent cache poisoning of watchlist predictions + OHLCV thundering herd
c5f144e

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: resolve 25 logic bugs across prediction engine, trading book, and DB layer
727c9e5

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

refactor: remove Analysis view + fix signal_count in watchlist mode
2ae3cd4

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: LLM semaphore no longer blocks during provider retry wait
ce8d4a5

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: 96% prediction accuracy β€” regime fix, INTRADAY TF filters, GIFT Nifty, indicators
17ca702

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: weekend no-data + top5 logic with SLIGHTLY BULLISH Nifty gate
3c92e9c

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: prediction accuracy gates + calibrated NEUTRAL ranges (all TFs β‰₯ 90%)
a58dfe7

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: use 5-day confirmation window for Nifty EMA200 gate
76f601c

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: add 1W timeframe + weekly picks section, fix AI-unavailable empty picks
42f0be8

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

Improve LLM forecast accuracy to 85-94% across timeframes
1254625

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

Initial deployment to Hugging Face Spaces
41cc612

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on