Add more backoff to fetch_order endpoint

This commit is contained in:
Matthias
2020-08-02 10:24:10 +02:00
parent 6c77feee85
commit 3915101d2d
4 changed files with 6 additions and 4 deletions

View File

@@ -1008,7 +1008,7 @@ class Exchange:
return order
@retrier
@retrier(retries=5)
def fetch_order(self, order_id: str, pair: str) -> Dict:
if self._config['dry_run']:
try:

View File

@@ -78,7 +78,7 @@ class Ftx(Exchange):
except ccxt.BaseError as e:
raise OperationalException(e) from e
@retrier
@retrier(retries=5)
def fetch_stoploss_order(self, order_id: str, pair: str) -> Dict:
if self._config['dry_run']:
try: