PaperTrade / database.py

Commit History

Add stale-PENDING give-up safeguard for validation backlog
09c479e

Khanna, Videh Rakesh Rakesh commited on

Fix INTRADAY validation day-rollover bug + scope self-learning notes by timeframe
98a257d

Khanna, Videh Rakesh Rakesh commited on

Real direction-accuracy/P&L measurement + BULLISH trigger fixes
5342112

Khanna, Videh Rakesh Rakesh Claude Sonnet 5 commited on

Self-learning: fix N=0 (missing validation cols), all-history window, why-missed notes; INTRADAY final-call cache after close
e61a2dc

Khanna, Videh Rakesh Rakesh commited on

Add NVIDIA NIM as free-tier LLM provider; research + UI updates
8d1eb7b

Khanna, Videh Rakesh Rakesh commited on

Validation: tag AI vs ML hits/misses and filter by source
98de062

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: force_download=True on HF Hub DB restore to bypass stale XET cache
8300d14

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: Gemini/SambaNova providers, ATR power-law range model, crash-guard triggers, backtest retry rounds
36199b8

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

tune: lower directional floors to breakeven cost for max honest hit-rate
0bc2a38

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

feat: widen directional ranges to a cost-clearing floor
e2092c3

Khanna, Videh Rakesh Rakesh Claude Opus 4.8 (1M context) 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

feat: add loophole detection and specialist analysis
c8608d1

Khanna, Videh Rakesh Rakesh commited on

fix: meaningful INTRADAY ranges + 14:15 IST prediction cutoff
4190f53

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

refactor: extract shared llm_client.py + per-day cache + LLM self-learning + HF Spaces paths
b490925

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: validation now checks AI price range intersection, not direction
de7a22f

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: validation blocked on weekends + mobile banner not closeable
63b3083

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

fix: validation history wiped after execute + today's OHLCV fallback
8dab0cd

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: remove duplicate holiday migration block in _migrate()
ce2e595

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: holiday-aware prediction validation β€” skip NSE holidays in target dates
eb227a8

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: learnings.json as canonical store β€” prune validated snapshots + auto-load UI
4095ae9

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: watchlist AI-recommended trades, timeframe auto-close, self-realizing AI
abab542

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: SLIGHTLY BULLISH validation + scoring β€” treat as directional, not NEUTRAL
a947769

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: clear stuck NO TRADE snapshots from validation pending queue
2a21e7b

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

feat: position averaging, partial close, intraday validation + Nifty regime gate
36bcb42

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

fix: use historical EOD price for prediction validation, add miss analysis tab
94e1ecc

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

fix: load dotenv in ai_forecast, improve top5 5D scoring, harden HF repo IDs
04219e7

Khanna, Videh Rakesh Rakesh commited on

Persist DB via HF Hub dataset backup on free-tier Spaces
b3f29bd

Khanna, Videh Rakesh Rakesh Claude Sonnet 4.6 commited on

Store DB in /data on HF Spaces for persistence across restarts
4953c73

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