Added ValidQuote definition which finds quotes that exist in the market.