Scan only M15 and H1; keep D1 as confirmation, drop W1 entirely
Trades are intraday (M15/H1) only. D1 stays as a confirmation TF for both so higher-timeframe trend context still gates A/A+ grades. W1 is no longer used anywhere — removes one batch call. Scan now: 3 batch calls (M15, H1, D1) × 7 pairs = 21 credits, ~2 min. Was: 4 batch calls (M15, H1, D1, W1) = 28 credits, ~3 min. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-4
@@ -40,20 +40,19 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
# ── Config ──────────────────────────────────────────────────────────
|
||||
|
||||
SCAN_TIMEFRAMES = ["M15", "H1", "D1", "W1"]
|
||||
SCAN_TIMEFRAMES = ["M15", "H1"]
|
||||
|
||||
_TF_MAP = {
|
||||
"M5": Timeframe.M5, "M15": Timeframe.M15,
|
||||
"M30": Timeframe.M30, "H1": Timeframe.H1,
|
||||
"H4": Timeframe.H4, "D1": Timeframe.D1,
|
||||
"W1": Timeframe.W1,
|
||||
}
|
||||
|
||||
# D1 kept as confirmation for higher-timeframe trend context.
|
||||
# W1 dropped — only the D1 scan used it, and we no longer scan D1.
|
||||
_TF_CONFIRMATIONS = {
|
||||
"M15": [Timeframe.H1, Timeframe.D1],
|
||||
"H1": [Timeframe.M15, Timeframe.D1],
|
||||
"D1": [Timeframe.H1, Timeframe.W1],
|
||||
"W1": [Timeframe.D1],
|
||||
}
|
||||
|
||||
_GRADE_RANK = {"A+": 0, "A": 1, "B": 2, "C": 3, "D": 4, "F": 5}
|
||||
|
||||
Reference in New Issue
Block a user