Fix live trading bug

Error:
`AttributeError: 'ExchangeBlotter' object has no attribute 'retry_sleeptime'`
This commit is contained in:
Caio Oliveira
2018-01-01 20:21:11 -02:00
parent 24d7f52d46
commit 8f9b1af729
+1 -1
View File
@@ -268,7 +268,7 @@ class ExchangeBlotter(Blotter):
return retry(
action=self.get_exchange_transactions,
attempts=self.attempts['get_transactions_attempts'],
sleeptime=self.retry_sleeptime,
sleeptime=self.attempts['retry_sleeptime'],
retry_exceptions=(ExchangeRequestError,),
cleanup=lambda e: log.warn(
'fetching exchange transactions again: {}'.format(e)