T predictions WIP

This commit is contained in:
Dobromir Popov
2025-11-22 01:02:19 +02:00
parent a7def3b788
commit f967f0a142
7 changed files with 200 additions and 39 deletions

View File

@@ -65,8 +65,10 @@ class LivePivotTrainer:
# Williams Market Structure for pivot detection
try:
from core.williams_market_structure import WilliamsMarketStructure
self.williams_1s = WilliamsMarketStructure(num_levels=5)
self.williams_1m = WilliamsMarketStructure(num_levels=5)
# Fix: WilliamsMarketStructure.__init__ does not accept num_levels
# It defaults to 5 levels internally
self.williams_1s = WilliamsMarketStructure()
self.williams_1m = WilliamsMarketStructure()
logger.info("Williams Market Structure initialized for pivot detection")
except Exception as e:
logger.error(f"Failed to initialize Williams Market Structure: {e}")