mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-18 22:01:15 +00:00
chore: fix error if precision.price is None
This commit is contained in:
@@ -548,6 +548,7 @@ class Exchange:
|
|||||||
and (
|
and (
|
||||||
self.precisionMode != TICK_SIZE
|
self.precisionMode != TICK_SIZE
|
||||||
# Too low precision will falsify calculations
|
# Too low precision will falsify calculations
|
||||||
|
or market.get("precision", {}).get("price") is None
|
||||||
or market.get("precision", {}).get("price") > 1e-11
|
or market.get("precision", {}).get("price") > 1e-11
|
||||||
)
|
)
|
||||||
and (
|
and (
|
||||||
|
|||||||
Reference in New Issue
Block a user