finish prefered_vendor method for market class
added prefered_market_by_date method