The dollar edged higher on Thursday as a lack of progress in peace talks between Russia and Ukraine boosted demand for the safe-haven currency and as the energy shock that has resulted from the war weighed on Europe’s economy. Hopes from earlier this week that peace talks would lead to a ceasefire in Ukraine five weeks after Russia’s invasion have dwindled, with Ukrainian forces preparing for new Russian attacks in the southeast of the country. Peace talks were set to resume on Friday. “This has caused a risk-off reaction that has dragged down stock markets and hit the risk-sensitive commodity currencies,” said Marshall Gittler, Head of Investment Research at BDSwiss Holding Ltd. The dollar index, which weighs the greenback against a basket of six global peers, was up 0.445 percent at 98.264 at 10:40 a.m. EDT. The dollar has attracted safe-haven flows since Russia’s Feb. 24 invasion of Ukraine, and …