The list took the country’s 100 largest metro areas and ranked them by annual foreclosure rate. The lower the rate, the higher the ranking. San Antonio’s rate was 1.06 percent.

The list also considered how real estate prices have appreciated since 2006. A city such as San Antonio, in which prices grew 8.24 percent from 2006 to 2007, is a better bet than a city where prices have declined, such as Sacramento, where prices have dropped about 10 percent in that time.

Forbes.com also considered the difference between the median price of a home and foreclosure prices. The greater the spread, the larger the discount, and the better potential deal.

San Antonio was the only Texas city to make the list. Charlotte, N.C., topped the list, followed by Raleigh, N.C., Nashville, Tenn., and Oklahoma City.