Skip to content

Commit 603a396

Browse files
committed
Extend stop errors
1 parent 0d57027 commit 603a396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

balancer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
DATA_DIR = ''
3636
STARTED = datetime.datetime.utcnow().replace(microsecond=0)
3737
STOP_ERRORS = ['order_size', 'smaller', 'MIN_NOTIONAL', 'nsufficient', 'too low', 'too small', 'not_enough', 'below',
38-
'exceeds account', 'price', 'nvalid arg', 'nvalid orderQty']
38+
'exceeds account', 'price', 'nvalid arg', 'nvalid orderQty', 'Service Unavailable', 'ExchangeNotAvailable']
3939
ACCOUNT_ERRORS = ['account has been disabled', 'key is disabled', 'authentication failed', 'permission denied',
4040
'invalid api key', 'access denied']
4141
RETRY_MESSAGE = 'Got an error %s %s, retrying in about 5 seconds...'
@@ -54,7 +54,7 @@ def __init__(self):
5454

5555
try:
5656
props = config['config']
57-
self.bot_version = '1.5.2'
57+
self.bot_version = '1.5.3'
5858
self.exchange = str(props['exchange']).strip('"').lower()
5959
self.api_key = str(props['api_key']).strip('"')
6060
self.api_secret = str(props['api_secret']).strip('"')

0 commit comments

Comments
 (0)