Integration-test for DCA order

This commit is contained in:
Matthias
2022-01-02 20:20:56 +01:00
parent 3d336a736e
commit 2116b0729f
3 changed files with 65 additions and 4 deletions

View File

@@ -184,7 +184,6 @@ class Wallets:
return 0
possible_stake = (available_amount + val_tied_up) / self._config['max_open_trades']
# Theoretical amount can be above available amount - therefore limit to available amount!
return min(possible_stake, available_amount)