""" 配置模块 提供配置加载、验证、管理功能 """ from framework_v2.config.schemas import ( # 完整配置 RotationStrategyConfig, StrategyConfig, # 通用配置 # 子配置 AssetPool, AssetConfig, PremiumConfig, GroupConfig, FactorConfig, RotationConfig, ThresholdConfig, DynamicThresholdConfig, RebalanceConfig, PremiumControlConfig, DataConfig, DataSourceConfig, BenchmarkConfig, BacktestConfig, MetadataConfig, # 枚举(已移除 MarketType,改用字符串 group) FactorType, PremiumMode, ThresholdMode, DataSourceType, ) from framework_v2.config.loader import ( ConfigLoader, get_config_loader, load_config, ) __all__ = [ # 配置 Schema 'RotationStrategyConfig', 'StrategyConfig', 'AssetPool', 'AssetConfig', 'PremiumConfig', 'GroupConfig', 'FactorConfig', 'RotationConfig', 'ThresholdConfig', 'DynamicThresholdConfig', 'RebalanceConfig', 'PremiumControlConfig', 'DataConfig', 'DataSourceConfig', 'BenchmarkConfig', 'BacktestConfig', 'MetadataConfig', # 枚举(已移除 MarketType,改用字符串 group) 'FactorType', 'PremiumMode', 'ThresholdMode', 'DataSourceType', # 加载器 'ConfigLoader', 'get_config_loader', 'load_config', ]