fix flake8 code review
This commit is contained in:
parent
c252ea4d14
commit
585681c8ae
@ -78,7 +78,7 @@ def _process(dynamic_whitelist: Optional[int] = 0) -> bool:
|
||||
# Numbers of trading slots available
|
||||
nb_trades_left = float(_CONF['max_open_trades'] - len (trades))
|
||||
print("nb_trades_left "+str(nb_trades_left))
|
||||
#stake_amount in the conf is being used as the max value authorized
|
||||
# Stake_amount in the conf is being used as the max value authorized
|
||||
stake_amount = min(_CONF['stake_amount'], balance / nb_trades_left)
|
||||
print("stake amount "+str(_CONF['stake_amount'])+" "+str(balance))
|
||||
# Create entity and execute trade
|
||||
|
Loading…
Reference in New Issue
Block a user