US stocks rise, but remain stuck in the red for the week