docs: Document projection page v11.2 filter and cleanup trade exclusion (Jan 13, 2026)
- STARTING_CAPITAL set to 1437 (actual v11.2 start capital) - START_DATE set to Jan 6, 2026 (v11.2 production start) - getTradingStats filters for v11.2 indicator + recent manual trades - Excludes cleanup trades (DUPLICATE_CLEANUP, PHANTOM_CLEANUP, phantom) - Current v11.2 performance: 6 trades, 83.3% WR, +$406.04 P&L
This commit is contained in:
20
.github/copilot-instructions.md
vendored
20
.github/copilot-instructions.md
vendored
@@ -138,6 +138,26 @@
|
||||
- **Previous Config:** Was 5x fixed (Dec 26, 2025)
|
||||
- **Last Updated:** Jan 2, 2026
|
||||
|
||||
### Projection Page & Analytics Stats (Jan 13, 2026 - UPDATED)
|
||||
- **Purpose:** 12-month financial projection dashboard showing actual vs planned progress
|
||||
- **File:** `app/projection/page.tsx`
|
||||
- **Configuration:**
|
||||
* `STARTING_CAPITAL = 1437` (USD, actual capital when v11.2 went live)
|
||||
* `START_DATE = '2026-01-06'` (v11.2 production start date)
|
||||
* Fetches from: `/api/analytics/stats?days=365`
|
||||
- **Stats Filtering (lib/database/views.ts getTradingStats):**
|
||||
* **v11.2 Filter:** Only includes trades with `indicatorVersion='v11.2'`
|
||||
* **Manual Trades:** Includes `signalSource='manual'` from last 7 days only
|
||||
* **Cleanup Exclusion:** Excludes phantom/cleanup trades: `exitReason NOT IN ['DUPLICATE_CLEANUP', 'PHANTOM_CLEANUP', 'phantom']`
|
||||
- **v11.2 Performance (Jan 6-13, 2026):**
|
||||
* Trades: 6 (5 wins, 1 loss)
|
||||
* Win Rate: 83.3%
|
||||
* Total P&L: +$406.04
|
||||
* Avg Win: $120.20, Avg Loss: -$194.96
|
||||
* Current Capital: $1,802.40 (from Drift)
|
||||
- **Why Filter:** Previous stats included old indicator versions and phantom cleanup trades, skewing metrics
|
||||
- **Last Updated:** Jan 13, 2026
|
||||
|
||||
### Supporting Systems (All Active)
|
||||
- **Stop Hunt Revenge:** Quality 85+ signals get auto re-entry on reversal (90s confirmation)
|
||||
- **Smart Validation Queue:** Quality 50-89 signals queued for 90-minute price confirmation
|
||||
|
||||
Reference in New Issue
Block a user