LONDON—The dollar headed for its first weekly decline versus major peers since the start of last month on Friday as global risk appetite rebounded, while the Japanese yen headed for a three-year low and the price of bitcoin hit nearly $60,000. The dollar index slipped 0.1 percent to 93.9 and was down 0.2 percent for the week in what would be its first weekly loss in six weeks. The greenback tends to rise when investors seek safety. Global stock markets have rallied this week as fears about a stagflationary economy have been eased by forecast-beating corporate earnings in the United States. Only against the yen—another currency seen as a haven—has the dollar managed to maintain the momentum of the past five weeks, rising 0.4 percent on Friday and touching 114.18 yen for the first time since November 2018. Analysts said investors long dollars had been squeezed out of their positions …