filter anotations by symbol

This commit is contained in:
Dobromir Popov
2025-11-13 15:40:21 +02:00
parent 25287d0e9e
commit bf2a6cf96e
4 changed files with 129 additions and 5 deletions

View File

@@ -1167,7 +1167,9 @@ class AnnotationDashboard:
]
# Load test cases from disk (they were auto-generated when annotations were saved)
all_test_cases = self.annotation_manager.get_all_test_cases()
# CRITICAL: Filter by current symbol to avoid cross-symbol training
current_symbol = data.get('symbol', 'ETH/USDT')
all_test_cases = self.annotation_manager.get_all_test_cases(symbol=current_symbol)
# Filter to selected annotations
test_cases = [