Canadian stocks swung between gains and losses in a tight band in cautious trade on Friday before ending the day's session marginally up, with investors largely refraining from making significant moves as they continued to assess the likely move of the Federal Reserve next week.