diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index ec10298..53dbbb3 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -818,12 +818,23 @@ Frequency penalties (overtrading / flip-flop / alternating) now ignore 1-minute - Purpose: Enables quick manual entries when TradingView signals unavailable - Note: Re-entry analytics validate against fresh TradingView data when cached (<5min) -**Re-Entry Analytics System:** Manual trades are validated before execution using fresh TradingView data: +**Manual Trade Quality Bypass (Dec 4, 2025 - USER MANDATE):** +- **User requirement:** "when i say short or long it shall do it straight away and DO it" +- Manual trades (`timeframe='manual'`) bypass ALL quality scoring checks +- Execute endpoint detects `isManualTrade` flag and skips quality threshold validation +- Logs show: `✅ MANUAL TRADE BYPASS: Quality scoring skipped (Telegram command - executes immediately)` +- **Purpose:** Instant execution for user-initiated trades without automated filtering +- **Implementation:** `app/api/trading/execute/route.ts` line ~237-242 (commit 0982578, Dec 4, 2025) +- **Behavior:** Manual trades execute regardless of ADX/ATR/RSI/quality score +- **--force flag:** No longer needed (all manual trades bypass by default) + +**Re-Entry Analytics System (OPTIONAL VALIDATION):** Manual trades CAN be validated before execution using fresh TradingView data: - Market data cached from TradingView signals (5min expiry) - `/api/analytics/reentry-check` scores re-entry based on fresh metrics + recent performance - Telegram bot blocks low-quality re-entries unless `--force` flag used - Uses real TradingView ADX/ATR/RSI when available, falls back to historical data - Penalty for recent losing trades, bonus for winning streaks +- **Note:** Analytics check is advisory only - manual trades execute even if rejected by analytics ## VERIFICATION MANDATE: Financial Code Requires Proof