There is no limit on the maximum amount of gold an account can have. As far as the values of items go at in-game vendors, the item's resale value is 1/25th of its buying price; an item that costs 500 in gold to buy from a vendor, if the player were to try to sell it, would refund 20 in gold for the exchange.