Spaces:
Running
Running
Commit History
16 days ago
-
F&O AI: wait out a provider's short cooldown instead of failing at once
Khanna, Videh Rakesh Rakesh +1: Claude Sonnet 5.5When every cloud provider is rate-limited for a few seconds, the contract forecast failed immediately with ai_provider_unavailable. It now waits for the soonest cooling-down provider, capped at 10s total across attempts, and still fails fast if none will recover in time. The client timeout for contract requests goes from 60s to 75s to cover the wait. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>dbf6890 -
F&O: AI-first card, NSE-based entry price and stop/target exits, resilient first load
Khanna, Videh Rakesh Rakesh +1: Claude Sonnet 5.5- Card: AI forecast leads; a failed-validation ML model collapses under "ML check"; ranges keep low-high with a direction marker and a Nearest/Farthest line - New contracts: a missing or lagging NSE chart no longer blocks the AI forecast; failed NSE fetches retry after 5s; frontend retries first-load quote/history/AI failures at 8s/20s/45s - Trade modal: "Use NSE Price" pre-fills a manual entry from the NSE snapshot (/api/fo/quote?snapshot=1, never executable); Live Quote option explains why it is off - Manual positions with a stop/target are auto-closed from the NSE last-traded snapshot (open market, <=5 min old, exact contract); recorded as nse_snapshot Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>4640591 -
Fix F&O AI provider-unavailable: queue for AI slot, retry with rotated provider, bounded UI retry
Khanna, Videh Rakesh Rakesh +1: Claude Sonnet 5.5- Wait up to 8s for one of 3 AI slots instead of rejecting; report ai_busy only after the wait - Retry RuntimeError/TimeoutError provider failures once with a rotated lead provider - Frontend retries provider/busy failures at 8s/20s/45s, then falls back to minute polling Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>d7c8fde -
Add F&O history collector, snapshot-only AI outlook, candlestick contract charts
Khanna, Videh Rakesh Rakesh +1: Claude Sonnet 5.5- Record watchlisted F&O premiums server-side (and on add) so forecasts and charts have history without a browser open; retry NSE's intermittent empty chart payload - AI forecast accepts a single observation / last-session snapshot as LOW-confidence limited history; ML keeps requiring real history - Contract chart returns 5m OHLC candles (same green/red config as equities) - Relabel 'History incomplete' as 'Collecting price history'; ML shows 'Validation failed' - Persist observed contract quotes, retry history-incomplete forecasts on the frontend Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>ea309d4
19 days ago
-
Retry transient F&O AI failures and accept irregular observed history
Verified signature59900ed
22 days ago
-
Show last-session price and AI outlook for F&O watchlist when market is closed
Khanna, Videh Rakesh Rakesh +1: CopilotCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>55803fa
23 days ago
-
Fix F&O forecast refresh, one-minute inputs and card styling
Khanna, Videh Rakesh Rakesh7291f56
27 days ago
-
Request structured F&O AI output and supply exact option moneyness facts
Verified signature17918cd -
Publish explicit experimental F&O models and correct live quote/forecast handling
Verified signature1a03f67
-
Fix portfolio valuation and wire independent F&O targets
Khanna, Videh Rakesh RakeshUse exact-contract portfolio marks, consistent side-aware P&L and safe periodic refresh. Add newer reachable-target research and independent AI forecasts while preserving model quality and age gates.8b054f7 -
Explain portfolio card fields and fix dashboard Invested for F&O
Khanna, Videh Rakesh Rakesh +1: Claude Sonnet 5.5- Portfolio cards: add hover descriptions (ⓘ) for Entry, Manual/Live mark, Intended Target, P&L and Lots/Quantity, tooltips on F&O badges, Fees note and Mark Price button, plus a plain-English "How to read this" line on open F&O cards (works on touch devices). - Dashboard "Invested" now includes long-option premium and futures/short-option margin, matching the Portfolio view (was ₹0.00 with only an option open). - Add separate F&O premium-model pipeline (fo_predictor, training script, fail-closed manifest, tests) and wire it into the F&O watchlist contract pick. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>6745bb7