核心组件: - RiskControl: 风控抽象基类 - StopLossControl: 止损控制(固定止损/跟踪止损) - PositionLimitControl: 仓位限制控制 - PremiumControl: 溢价控制(filter/penalize模式) 回调钩子机制: - CallbackHook: 回调管理器(注册/触发) - 5个核心回调:before_entry, after_entry, before_exit, after_exit, dynamic_stoploss, custom_exit 便捷回调函数: - premium_filter_callback: 溢价过滤回调 - crash_filter_callback: 崩盘检测回调 - holding_time_stoploss_callback: 持仓时间动态止损 测试覆盖:13个测试全部通过