catch ccxt.ExchangeError and retry

This commit is contained in:
gcarq
2018-04-21 22:37:27 +02:00
parent acb1b50924
commit bbe3bc4423
3 changed files with 67 additions and 64 deletions

View File

@@ -16,9 +16,9 @@ class OperationalException(BaseException):
"""
class NetworkException(BaseException):
class TemporaryError(BaseException):
"""
Network related error.
Temporary network or exchange related error.
This could happen when an exchange is congested, unavailable, or the user
has networking problems. Usually resolves itself after a time.
"""