How AI Adapts Strategies to Market Conditions