(self, url, base, quote)
Adds the orderbook to the url if base and quote are specified.
Adds the orderbook to the url if base and quote are specified.
Adds the orderbook to the url if base and quote are specified .
def _construct_url(self, url, base, quote):
        """
        Adds the orderbook to the url if base and quote are specified.
        """

        if not base and not quote:
            return url
        else:
            url = url + base.lower() + quote.lower() + "/"
            return url
def _construct_url ( self , url , base , quote ) : if not base and not quote : return url else : url = url + base . lower ( ) + quote . lower ( ) + "/" return url