Add documentation for available capital setting

This commit is contained in:
Matthias
2021-07-11 10:44:36 +02:00
parent 6a8e8875a2
commit 40db424363
2 changed files with 17 additions and 1 deletions

View File

@@ -158,7 +158,6 @@ class Wallets:
(<open_trade stakes> + free amount) * tradable_balance_ratio - <open_trade stakes>
"""
free = self.get_free(self._config['stake_currency'])
return min(self.get_total_stake_amount() - Trade.total_open_trades_stakes(), free)