cob integration wip 2

This commit is contained in:
Dobromir Popov
2025-06-24 18:01:24 +03:00
parent f855ed2cf1
commit 8b85a7275e
8 changed files with 1348 additions and 27 deletions

View File

@ -1,7 +1,9 @@
"""
Central Configuration Management
This module handles all configuration for the trading system.
It loads settings from config.yaml and provides easy access to all components.
"""
import os
import yaml
@ -265,12 +267,3 @@ def setup_logging(config: Optional[Config] = None):
)
logger.info("Logging configured successfully")
def load_config(config_path: str = "config.yaml") -> Dict[str, Any]:
"""Load configuration from YAML file"""
try:
config = get_config(config_path)
return config._config
except Exception as e:
logger.error(f"Error loading configuration: {e}")
return {}