Skip to content

Commit

Permalink
[Kucoin] fix exchange status
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Oct 19, 2023
1 parent 4773cae commit 81d86db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Trading/Exchange/kucoin/kucoin_exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 81d86db

Please sign in to comment.