Dollar weakens as traders gird for swings in Treasury and equity markets