def __init__(self, counter_currency, base_currency, exchange=None): exchange = exchange or test_exchange Market.__init__(self, exchange, counter_currency, base_currency)
def __init__(self, exchange, counter_currency, base_currency): Market.__init__(self, exchange, counter_currency, base_currency)
def __init__(self, exchange, currency): Market.__init__(self, exchange, currency, BTC) self.curr_code = CURRENCIES[currency]