aboutsummaryrefslogtreecommitdiff
path: root/ccxt_wrapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'ccxt_wrapper.py')
-rw-r--r--ccxt_wrapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ccxt_wrapper.py b/ccxt_wrapper.py
index 4ed37d9..97f359f 100644
--- a/ccxt_wrapper.py
+++ b/ccxt_wrapper.py
@@ -33,7 +33,7 @@ class poloniexE(poloniex):
33 retriable = any(re.match(call, path) for call in self.RETRIABLE_CALLS) 33 retriable = any(re.match(call, path) for call in self.RETRIABLE_CALLS)
34 if api == "public" or method == "GET" or retriable: 34 if api == "public" or method == "GET" or retriable:
35 return retry_call(origin_request, fargs=[path], fkwargs=kwargs, 35 return retry_call(origin_request, fargs=[path], fkwargs=kwargs,
36 tries=10, delay=1, exceptions=(RequestTimeout,)) 36 tries=10, delay=1, exceptions=(RequestTimeout, InvalidNonce))
37 else: 37 else:
38 return origin_request(path, **kwargs) 38 return origin_request(path, **kwargs)
39 39