stability

This commit is contained in:
Dobromir Popov
2025-08-08 17:32:09 +03:00
parent 78b96c10af
commit f8d3e1c999
4 changed files with 35 additions and 14 deletions

View File

@ -1,4 +1,5 @@
import logging
import os
from core.config import setup_logging, get_config
from core.trading_executor import TradingExecutor
from core.orchestrator import TradingOrchestrator
@ -6,6 +7,9 @@ from core.standardized_data_provider import StandardizedDataProvider
from web.clean_dashboard import CleanTradingDashboard
def main():
# Mitigate OpenMP duplicate runtime crash on Windows by allowing duplicates
# This avoids hard crashes from multiple linked OpenMP runtimes.
os.environ.setdefault('KMP_DUPLICATE_LIB_OK', 'TRUE')
setup_logging()
cfg = get_config()