Skip to content

Commit

Permalink
chore: fix error if precision.price is None
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Jan 9, 2025
1 parent dc72464 commit 092a9ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions freqtrade/exchange/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 092a9ff

Please sign in to comment.