d3e5567c97
When one leg fills, instead of immediately market-selling the unfilled leg, enter a continuous monitoring loop that: - Places a limit sell only when price >= minAdaptivePrice floor (floor = mmAdaptiveMinCombined - filledLegPrice, default combined 1.20) - Chases price upward (>2% improvement → re-place limit higher) - Cancels limit on dip >5% or below floor, then waits for recovery - Market-sells only as last resort when CL time is reached New config: MM_ADAPTIVE_CL (toggle), MM_ADAPTIVE_MIN_COMBINED (floor), MM_ADAPTIVE_MONITOR_SEC (poll interval). Legacy immediate market-sell path preserved when MM_ADAPTIVE_CL=false. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>