The stock's rise snapped an eight-day losing streak.