From 092a9ff5dbe183124c6bf91094cf5a97b7b7fc30 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 9 Jan 2025 18:06:58 +0100 Subject: [PATCH] chore: fix error if precision.price is None --- freqtrade/exchange/exchange.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 494949439b8..67c4cc70907 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -548,6 +548,7 @@ def market_is_tradable(self, market: dict[str, Any]) -> bool: and ( self.precisionMode != TICK_SIZE # Too low precision will falsify calculations + or market.get("precision", {}).get("price") is None or market.get("precision", {}).get("price") > 1e-11 ) and (