From f613c7b42fa5fe82aec2fbf64c17d3fad077db71 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Thu, 19 Oct 2023 14:27:34 +0200 Subject: [PATCH] [Kucoin] fix exchange status --- Trading/Exchange/kucoin/kucoin_exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Trading/Exchange/kucoin/kucoin_exchange.py b/Trading/Exchange/kucoin/kucoin_exchange.py index 06ac28231..70f901833 100644 --- a/Trading/Exchange/kucoin/kucoin_exchange.py +++ b/Trading/Exchange/kucoin/kucoin_exchange.py @@ -182,7 +182,7 @@ def get_market_status(self, symbol, price_example=None, with_fixer=True): trading_enums.ExchangeConstantsMarketStatusColumns.LIMITS_COST.value ] # use max (most restrictive) value - limit_costs[trading_enums.ExchangeConstantsMarketStatusColumns.LIMITS_COST_MIN.value] = min( + limit_costs[trading_enums.ExchangeConstantsMarketStatusColumns.LIMITS_COST_MIN.value] = max( limit_costs[trading_enums.ExchangeConstantsMarketStatusColumns.LIMITS_COST_MIN.value], float(min_funds) )