Parametrize fetch_order retry counts

This commit is contained in:
Matthias
2020-08-22 17:35:42 +02:00
parent 3d7e800ff2
commit 674b510d23
6 changed files with 23 additions and 19 deletions

View File

@@ -9,7 +9,11 @@ from freqtrade.exceptions import (DDosProtection, RetryableOrderError,
logger = logging.getLogger(__name__)
# Maximum default retry count.
# Functions are always called RETRY_COUNT + 1 times (for the original call)
API_RETRY_COUNT = 4
API_FETCH_ORDER_RETRY_COUNT = 3
BAD_EXCHANGES = {
"bitmex": "Various reasons.",
"bitstamp": "Does not provide history. "