removing unnecessary variable before returning the result
This commit is contained in:
parent
9c987fdedd
commit
86d9457ea1
@ -333,12 +333,11 @@ class FreqtradeBot(object):
|
||||
:return: float: Stake Amount
|
||||
"""
|
||||
if self.edge:
|
||||
stake_amount = self.edge.stake_amount(
|
||||
return self.edge.stake_amount(
|
||||
pair,
|
||||
self.wallets.get_free(self.config['stake_currency']),
|
||||
self.wallets.get_total(self.config['stake_currency'])
|
||||
)
|
||||
return stake_amount
|
||||
else:
|
||||
stake_amount = self.config['stake_amount']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user