This commit is contained in:
Jack 2016-07-28 06:03:47 -04:00
parent 413dab8094
commit 52c20f02c7

View file

@ -178,7 +178,7 @@ class DummyExchangeRateManager(object):
def __init__(self, rates):
self.market_feeds = [DummyBTCLBCFeed(), DummyUSDBTCFeed()]
for feed in self.market_feeds:
feed.rate = ExchangeRate(feed, rates[feed.market]['spot'], rates[feed.market]['ts'])
feed.rate = ExchangeRate(feed.market, rates[feed.market]['spot'], rates[feed.market]['ts'])
def convert_currency(self, from_currency, to_currency, amount):
log.info("Converting %f %s to %s" % (amount, from_currency, to_currency))