Spaces:
Running
Running
Commit History
-
Updated scanner logic Running
Prachi Sharmab24118a
-
Added alignement
Prachi Sharma02c4c27 -
Added debugger
Prachi Sharmac9448e8 -
Added alignment scanner
Prachi Sharma907b695 -
Added alignment scanner
Prachi Sharma5c98a35 -
Added alignment scanner
Prachi Sharmaeb4c6c9
-
Readme for reversal setup
Prachi Sharma81ee71d
-
Updated RR
Prachi Sharma78d3f44 -
Edited rendering issue
Prachi Sharmaa3aaa1f -
Add ATR-aware entry location, 2-candle confirmation, session quality weighting
Prachi Sharma +1: Claude Sonnet 4.61. Entry location now ATR-adaptive: thresholds = min(fixed_pct, atr_fraction) - at_level: min(0.10%, 0.15 * ATR%) - near_level: min(0.25%, 0.30 * ATR%) - block: min(0.30%, 0.40 * ATR%) — mid_range now a hard blocker - Min room to target raised from 30 → 40 pips 2. 2-candle confirmation for reversal triggers (reclaim/rejection/continuation): - Option A: two consecutive closes in trade direction - Option B: conviction candle with body >= 60% of range + close near extreme - Cross triggers exempt (momentum entries, not reversals) 3. Session quality as graduated bonus (not binary): - London/NY overlap: +8 | London/NY open first 2h: +6 - Regular London/NY: +4 | Tokyo/Sydney solo: +1 (was +5) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>e6ea01f
-
Journal only notification-confirmed signals for accurate win rate tracking
Prachi Sharma +1: Claude Sonnet 4.6Remove save_signal calls from scanner_tab and pa_tab — analytics now only tracks trades that passed Vision gate and were sent as notifications. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>690c5d7 -
Code
Prachi Sharmae34385a -
Update ui/tabs/vision_tab.py
Verified signature73d55ac
-
Block all scan paths outside trading window (Sun 6pm → Thu 11am PT)
Prachi Sharma- scanner_tab: auto_refresh rerun + should_scan both gated by is_trading_window() - scanner_tab: show info banner when outside window with next open time - app.py one-click: hard block (st.stop) instead of warning+run - Background scanner was already gated — this fixes the UI-level paths Root cause: scanner_tab auto-refresh used time.sleep+st.rerun unconditionally, triggering live scans at 3pm PT on Sunday (outside the 6pm window).b30d939 -
Auto-journal Vision trades + Analytics source filter + gate hardening
Prachi SharmaJournal: - Save to journal after gate pass in background scanner (_run_vision_pass) - Save to journal after gate pass in one-click pipeline (app.py) - scanner_type='vision', MD5 signal_id for dedup, direction from Vision DECISION Analytics: - Source filter dropdown: All / Vision / PA / Live - Source column in trade table (👁️ Vision / 🎯 PA / 📡 Live) - Regime column added to trade table Gate hardening: - _extract_4h_confirmed: default False (was True) - _extract_evidence_count: default 0 (was 2) - _extract_rr_valid: handle RR: format, numeric compare, default False - _extract_signal: tight regex prevents WAIT—BUY leaking as BUY - _extract_conviction: tight regex prevents LOW—HIGH leaking as High - temperature=0 on Claude API Tests: 38/38 passing807a7bb -
Harden gate extractors + add test suite — 38 tests all passing
Prachi SharmaExtractor fixes: - _extract_4h_confirmed: default False (was True — could pass without validation section) - _extract_evidence_count: default 0 (was 2 — could pass with no evidence) - _extract_rr_valid: handle RR: format, numeric compare, default False - _extract_signal: tight regex, WAIT—BUY mention no longer leaks as BUY - _extract_conviction: tight regex, LOW—HIGH mention no longer leaks as High - temperature=0: deterministic Claude output Tests (tests/test_vision_extractors.py): - 38 cases covering every extractor + full gate end-to-end - Includes all 3 production bug cases that caused false notifications - Run with: python3 tests/test_vision_extractors.py79ba6d0 -
Fix gate extraction bugs — WAIT/Low/R:R<2.0 were leaking through as valid signals
Prachi Sharma- _extract_signal: tight regex on DECISION: so 'WAIT — BUY trigger not fired' returns WAIT - _extract_conviction: tight regex so 'LOW — HIGH volatility' returns Low not High - _extract_rr_valid: handle RR: format (vs R:R:), numeric comparison, default=False (block) - temperature=0 on Claude API for deterministic consistent analysis - Fix ntfy: send vision-enriched signal dict not raw scanner cand - Remove raw analysis_preview from notification, replace with structured vision_summary - Trading window: single continuous Sun 18:00 PT -> Thu 11:00 PT - APP_PASSWORD gate in app.py2dde40f -
Fix Vision WAIT signal leak, trading window, password gate, clean notifications
Prachi Sharma- Fix _extract_signal: tight regex on DECISION: so WAIT — BUY trigger... no longer returns BUY - Fix _extract_conviction: same tight regex for CONVICTION: line - Set temperature=0 on Claude API call for deterministic analysis - Fix ntfy: send vision-enriched signal dict instead of raw scanner cand - Remove raw analysis_preview from notification (was showing VISIBILITY CHECK confusing users) - Replace with clean structured vision_summary (W1/D1, RSI, evidence, chart confidence) - Update is_trading_window: single continuous window Sun 18:00 PT → Thu 11:00 PT - Update trading_window_status: accurate hours-remaining and next-open calculation - Add APP_PASSWORD gate in app.py (reads HF secret, session-persisted)730b4a0 -
Add password gate using APP_PASSWORD secret
Prachi Sharma2e838d3 -
Update refresh cadence
Prachi Sharmadfc3680 -
Add trade_monitor_bg service for background auto-closing of open trades
Prachi Sharma +1: Claude Sonnet 4.6Checks open journal trades every hour against live OANDA prices. Auto-marks TP1/TP2/SL hit and calculates PnL in pips. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>7be9ffc -
Made edits
Prachi Sharmaf4c459a -
Improved filtering
Prachi Sharma6ccd714 -
Added value reader
Prachi Sharma8b7bb8f -
updated agent
Prachi Sharma594e641 -
updated app
Prachi Sharma495fd9d
-
Remove sidebar (mobile-friendly), add Settings tab, fix Dockerfile for HF
Prachi Sharma68035ad -
Updated docker
Prachi Sharmac256846 -
Removed creds
Prachi Sharmaa11bd84 -
Removed creds
Prachi Sharma08faa2c -
Removed creds
Prachi Sharma6d648d8 -
Added vision agent
Prachi Sharmad104812
-
Fixed live scanner
Prachi Sharma16a95e0 -
Fixed alerts message
Prachi Sharma8d84d25 -
Fixed notification
Prachi Sharma59eaa72 -
Fixed notification bug
Prachi Sharma956bfe5 -
Added notification alert for PA
Prachi Sharmaa1420d7 -
Added alert for pa
Prachi Sharma5be96a5
-
Fixed bug
Prachi Sharma489734a -
Fixed bug
Prachi Sharma820b0b3 -
fixed bug
Prachi Sharma0551169 -
Added alerts
Prachi Sharma6b96b86 -
Added alerts
Prachi Sharma961e2b3 -
bug fixed
Prachi Sharma716abee -
bug fix
Prachi Sharmacdcb06b -
Bug in alerts
Prachi Sharmac654e2e -
Bug in alerts
Prachi Sharma34fe83b -
Bug in alerts
Prachi Sharmaa11fdd5 -
Added journal
Prachi Sharmaf177fd3 -
Updated scanner logic
Prachi Sharmae5ee260