Removed unnecessary CCXT market checks

This commit is contained in:
Sam Germain
2022-01-31 02:40:10 -06:00
parent cf7edace2b
commit 29c5dfd4ca
2 changed files with 5 additions and 16 deletions

View File

@@ -90,8 +90,7 @@ class PriceFilter(IPairList):
price = ticker['last']
market = self._exchange.markets[pair]
limits = market['limits']
if ('amount' in limits and 'min' in limits['amount']
and limits['amount']['min'] is not None):
if (limits['amount']['min'] is not None):
min_amount = limits['amount']['min']
min_precision = market['precision']['amount']