Stocks close lower to cap another volatile week