position size fixed

This commit is contained in:
misagh
2018-11-28 15:36:32 +01:00
parent 159ac6e657
commit e9305b6592
3 changed files with 33 additions and 4 deletions

View File

@@ -334,7 +334,9 @@ class FreqtradeBot(object):
"""
if self.edge:
stake_amount = self.edge.stake_amount(
pair, self.wallets.get_free(self.config['stake_currency'])
pair,
self.wallets.get_free(self.config['stake_currency']),
self.wallets.get_total(self.config['stake_currency'])
)
return stake_amount
else: