The US dollar traded mixed against major currencies Wednesday, as U.S. Senate leaders have reached a deal to end the ongoing government shutdown and prevent a debt default. The dollars initially strengthened against most of its peers amid growing market confidence that the U.S. House will pass the Reid-McConnell deal first, and then send it to the Senate. If the Senate bill is not delayed, the deal could be on U.S. President Barack Obama\'s desk Wednesday. If the bill is delayed, the deal could still be on the president\'s desk Saturday. However, the greenback surrendered its earlier gains against some of its counterparts on profit taking. Canadian dollar rose against most other major currencies, including the greenback, amid a rally in the prices of crude oil future, the largest export in Canada, and stocks. On the U.S. economic front, U.S. builder confidence in the market for newly built, single-family homes fell two points in October from the prior month, according to the Housing Market Index released jointly by the National Association of Home Builders and Wells Fargo. In late New York trading, the euro inched up to 1.3533 dollars from 1.3519 dollars of the previous session, and the British pound decreased to 1.5949 dollars from 1.5995 dollars. The Australian dollar went up to 0.9555 dollar from 0.9507 dollar. The dollar bought 98.74 Japanese yen, higher than 98.31 yen of the previous session. The greenback also moved up to 0.9134 Swiss franc from 0.9131, but went down to 1.0328 Canadian dollars from 1. 0379.