fix model mappings,dash updates, trading

This commit is contained in:
Dobromir Popov
2025-07-22 15:44:59 +03:00
parent 3e35b9cddb
commit 1a54fb1d56
32 changed files with 6168 additions and 857 deletions

View File

@ -80,7 +80,7 @@ class COBIntegration:
async def start(self):
"""Start COB integration with Enhanced WebSocket"""
logger.info("🚀 Starting COB Integration with Enhanced WebSocket")
logger.info(" Starting COB Integration with Enhanced WebSocket")
# Initialize Enhanced WebSocket first
try:
@ -94,10 +94,10 @@ class COBIntegration:
# Start enhanced WebSocket
await self.enhanced_websocket.start()
logger.info(" Enhanced WebSocket started successfully")
logger.info(" Enhanced WebSocket started successfully")
except Exception as e:
logger.error(f" Error starting Enhanced WebSocket: {e}")
logger.error(f" Error starting Enhanced WebSocket: {e}")
# Initialize COB provider as fallback
try:
@ -115,13 +115,13 @@ class COBIntegration:
asyncio.create_task(self._start_cob_provider_background())
except Exception as e:
logger.error(f" Error initializing COB provider: {e}")
logger.error(f" Error initializing COB provider: {e}")
# Start analysis threads
asyncio.create_task(self._continuous_cob_analysis())
asyncio.create_task(self._continuous_signal_generation())
logger.info(" COB Integration started successfully with Enhanced WebSocket")
logger.info(" COB Integration started successfully with Enhanced WebSocket")
async def _on_enhanced_cob_update(self, symbol: str, cob_data: Dict):
"""Handle COB updates from Enhanced WebSocket"""