removed a todo
This commit is contained in:
parent
19783e0d39
commit
a2b84561fe
@ -1358,7 +1358,6 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
trade_base_currency = self.exchange.get_pair_base_currency(pair)
|
trade_base_currency = self.exchange.get_pair_base_currency(pair)
|
||||||
wallet_amount = self.wallets.get_free(trade_base_currency)
|
wallet_amount = self.wallets.get_free(trade_base_currency)
|
||||||
logger.debug(f"{pair} - Wallet: {wallet_amount} - Trade-amount: {amount}")
|
logger.debug(f"{pair} - Wallet: {wallet_amount} - Trade-amount: {amount}")
|
||||||
# TODO-lev: Get wallet amount + value of positions
|
|
||||||
if wallet_amount >= amount or self.trading_mode == TradingMode.FUTURES:
|
if wallet_amount >= amount or self.trading_mode == TradingMode.FUTURES:
|
||||||
# A safe exit amount isn't needed for futures, you can just exit/close the position
|
# A safe exit amount isn't needed for futures, you can just exit/close the position
|
||||||
return amount
|
return amount
|
||||||
|
Loading…
Reference in New Issue
Block a user