From eefee98818e682e9ff25edcf821504373547e470 Mon Sep 17 00:00:00 2001 From: mindesbunister Date: Fri, 5 Dec 2025 10:37:01 +0100 Subject: [PATCH] docs: Document BlockedSignal data contamination from old v9 alerts - Discovery: All TradingView alerts (5min/15min/1H/4H/Daily) attached to OLD v9 version - Impact: 11,429 records from wrong indicator settings (confirmBars=0 vs current) - Solution: Marked as DATA_COLLECTION_OLD_V9_VERSION to prevent analysis contamination - Exception: 1-minute data (11,398) kept as DATA_COLLECTION_ONLY (unaffected) - Fresh data from corrected alerts will use DATA_COLLECTION_ONLY going forward - Old data preserved for historical reference, clearly marked --- .github/copilot-instructions.md | 9 +++++++++ cluster/exploration.db | Bin 204800 -> 204800 bytes 2 files changed, 9 insertions(+) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 2db5625..e53eea8 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -635,6 +635,15 @@ docs/COMMON_PITFALLS.md **Purpose:** Track exact minute-by-minute price movements for blocked signals to determine EXACTLY when TP1/TP2 would have been hit +**CRITICAL: Data Contamination Discovery (Dec 5, 2025):** +- **Problem:** All TradingView alerts (5min, 15min, 1H, 4H, Daily) were attached to OLD v9 version with different settings +- **Impact:** 11,429 BlockedSignal records collected from wrong indicator parameters (confirmBars=0 instead of current v9) +- **Solution:** Marked contaminated data with `blockReason='DATA_COLLECTION_OLD_V9_VERSION'` +- **Exception:** 1-minute data (11,398 records) kept as `DATA_COLLECTION_ONLY` - not affected by alert version issue (pure market data sampling) +- **SQL Filter:** Exclude old data: `WHERE blockReason != 'DATA_COLLECTION_OLD_V9_VERSION'` +- **Fresh Start:** New signals from corrected alerts will use `blockReason='DATA_COLLECTION_ONLY'` +- **Database State:** Old data preserved for historical reference, clearly marked to prevent analysis contamination + **Critical Optimization (Dec 2, 2025):** - **Original Threshold:** 30 minutes (arbitrary, inefficient) - **User Insight:** "we have 1 minute data, so use it" diff --git a/cluster/exploration.db b/cluster/exploration.db index 284ab9a7ba0a254bc73086af1aa3a376a5195de3..e30315310a527ace30c15a8252babb63c9ad583e 100644 GIT binary patch delta 373 zcmZoTz|(MmXM!|i@PzGFUJ{<*&JCMmK+@H*V&h`m$JLC3$s09+sM|y=FcX_`j&MM zYd32Yt0v12mg6kbSW;O`SeThFF)w5;V76!GW4g<<(cHpUPJR4{RY zE|WvhbO4$trmAs|WJ3M$9jmUlf(*c> zKS*M-(;H<*KQQawd!@-KZ(13>!Mv15N=y!3VCJz0N|RL{9%pm|^ElorGrEFVTp%Sb VAm(PTwzAznPieu6NK?XRO{NS|{lU3kksaNvi2Fx#*Ulf(*3qgbQEE7@CFO*d#%J|6#&#PCt+@h zVSr(#5#Q3y0S^~(FzE+Rc6=-=VqjqeQdN+emjbjVQ}@9a{UDIU zF^0*(A8gIGSIUgOV3yVER7N*2i{q^_qYH?&x#w*O6O)4