mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-19 11:22:06 +08:00
Fix live trading bug
Error: `AttributeError: 'ExchangeBlotter' object has no attribute 'retry_sleeptime'`
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user