def quotes_by_instrument_urls(cls, client, urls):
        """
        fetch and return results
        """
        instruments = ",".join(urls)
        params = {"instruments": instruments}
        url = "https://api.robinhood.com/marketdata/quotes/"
        data = client.get(url, params=params)
        results = data["results"]
        while "next" in data and data["next"]:
            data = client.get(data["next"])
            results.extend(data["results"])
        return results
def quotes_by_instrument_urls ( cls , client , urls ) : instruments = "," . join ( urls ) params = { "instruments" : instruments } url = "https://api.robinhood.com/marketdata/quotes/" data = client . get ( url , params = params ) results = data [ "results" ] while "next" in data and data [ "next" ] : data = client . get ( data [ "next" ] ) results . extend ( data [ "results" ] ) return results
fetch and return results