With traders seeming to shrug off concerns about higher interest rates, stocks managed to end Friday’s trading mostly higher. The gains on the day lifted the Nasdaq and the S&P 500 their best closing levels in over a month.