Skip to content

Commit 092a9ff

Browse files
committed
chore: fix error if precision.price is None
1 parent dc72464 commit 092a9ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

freqtrade/exchange/exchange.py

+1
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ def market_is_tradable(self, market: dict[str, Any]) -> bool:
548548
and (
549549
self.precisionMode != TICK_SIZE
550550
# Too low precision will falsify calculations
551+
or market.get("precision", {}).get("price") is None
551552
or market.get("precision", {}).get("price") > 1e-11
552553
)
553554
and (

0 commit comments

Comments
 (0)