update config md - max_open_trades=-1

This commit is contained in:
Masoud Azizi 2021-04-03 23:08:52 +04:30 committed by GitHub
parent 5f6eae52a2
commit 220b4875c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,6 +191,9 @@ For example, if you have 10 ETH available in your wallet on the exchange and `tr
Assuming we have the tradable balance of 1000 USDT, `stake_amount=400`, and `max_open_trades=3`.
The bot would open 2 trades, and will be unable to fill the last trading slot, since the requested 400 USDT are no longer available, since 800 USDT are already tied in other trades.
!!! Warning
Unlimited `max_open_trades` count (max_open_trades: -1) will cause unreal results in backtest and hyperopt high iterations because of unfulfilled order list in real exchanges
To overcome this, the option `amend_last_stake_amount` can be set to `True`, which will enable the bot to reduce stake_amount to the available balance in order to fill the last trade slot.
In the example above this would mean: