Remove dead code: legacy config fields, unused helpers/imports, stray files

- Delete test_ws_dual.py (standalone probe, unused) and a stale tracked log
- config.py: drop MarketSession enum, is_jpy_pair, candle_buffer_seconds,
  and the never-read legacy SignalConfig/XauStrategyConfig fields
- data_provider.py: drop uncalled get_latest_price/get_spread_estimate
- Remove unused imports (engine, telegram_bot, main, news_engine)
- test_all.py: drop/trim the corresponding defaults assertions (199 tests)
- CLAUDE.md updated to match

Zero behavior change: no production code read any removed field
(verified reference-by-reference); suite green at 199/199.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VPNF37MP9Kuv62B1VBrZ1b
This commit is contained in:
Harwinder Sekhon
2026-07-21 14:06:55 -04:00
parent 847fa18053
commit 11ff49befb
10 changed files with 9 additions and 222 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Design philosophy:
import logging
from dataclasses import dataclass, field
from typing import Dict, List, Optional, Tuple
from typing import Dict, List, Tuple
import numpy as np
import pandas as pd