def get_bid_ask_price(self):
    ticker = self.http_client.get_ticker(config.symbol)
    bid_price = 0
    ask_price = 0
    if ticker:
        bid_price = float(ticker.get('bidPrice', 0))
        ask_price = float(ticker.get('askPrice', 0))
    return (bid_price, ask_price)
def get_bid_ask_price(self):
    ticker = self.http_client.get_ticker(config.symbol)
    bid_price = 0
    ask_price = 0
    if ticker:
        bid_price = float(ticker.get('bidPrice', 0))
        ask_price = float(ticker.get('askPrice', 0))
    return (bid_price, ask_price)