"""趋势回调:补仓触达与有效保证金估算。""" from strategy_trend_lib import trend_dca_level_reached, trend_effective_margin_capital def test_trend_dca_short_monotonic_up_fills_missed_legs(): """做空价升:旧逻辑需 last