mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-15 04:11:14 +00:00
edge real position sizing drafted
This commit is contained in:
@@ -333,7 +333,9 @@ class FreqtradeBot(object):
|
||||
:return: float: Stake Amount
|
||||
"""
|
||||
if self.edge:
|
||||
stake_amount = self.edge.stake_amount(pair)
|
||||
stake_amount = self.edge.stake_amount(
|
||||
pair, self.wallets.get_free(self.config['stake_currency'])
|
||||
)
|
||||
else:
|
||||
stake_amount = self.config['stake_amount']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user