capital in trade extracted to a separated argument

This commit is contained in:
misagh
2018-12-04 17:05:35 +01:00
parent 108d9a1117
commit e7684b446b
2 changed files with 8 additions and 4 deletions

View File

@@ -305,7 +305,7 @@ class FreqtradeBot(object):
return self.edge.stake_amount(
pair,
self.wallets.get_free(self.config['stake_currency']),
self.wallets.get_total(self.config['stake_currency']) +
self.wallets.get_total(self.config['stake_currency']),
Trade.total_open_trades_stakes()
)
else: