chore: fix error if precision.price is None

This commit is contained in:
Matthias
2025-01-09 18:06:58 +01:00
parent dc7246413b
commit 092a9ff5db

View File

@@ -548,6 +548,7 @@ class Exchange:
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 (