U.S. Treasury prices are lower as investors become more comfortable shifting money back into the stock market.

The yield on the benchmark 10-year Treasury note rose to 1.77 percent late Tuesday from 1.74 percent Monday. Its price fell 28 cents for every $100 invested.

The yield rises when the government has to pay more to encourage investors to buy the bonds. That's a sign that investors are buying stocks instead, something they tend to do when they're more optimistic about the economy.

Stocks rose for most of the day Tuesday following an encouraging report about the U.S. housing market. A late headline about Greece preparing to leave the euro left the market ending mixed.

In other trading, the yield on the 30-year bond rose to 2.87 percent from 2.81 percent. Its price fell $1.16. The yield on the two-year note inched up to 0.3 percent from 0.29 percent.

The three-month T-bill paid a yield of 0.08 percent, up slightly from 0.07 percent.