added stake_amount to a fixed 10k value.

In a combination with a wallet size of 1 billion it should never be able to run out of money avoiding false-positives of some users who just wanted to test a strategy without actually checking how the stake_amount-variable should be used in combination with the strategy-function custom_stake_amount

reason: some strategies demand a custom_stake_amount of 1$ demanding a very large wallet-size (which already was set previously)
Others start with 100% of a slot size and subdivide the base-orders and safety-orders down to finish at 100% of a slot-size and use unlimited stake_amount.

Edited docs to reflect that change too
This commit is contained in:
hippocritical
2023-07-23 19:50:12 +02:00
parent 1ab357dc32
commit ad428aa9b0
2 changed files with 9 additions and 0 deletions

View File

@@ -22,6 +22,9 @@ It also supports the lookahead-analysis of freqai strategies.
- `--cache` is forced to "none".
- `--max-open-trades` is forced to be at least equal to the number of pairs.
- `--dry-run-wallet` is forced to be basically infinite.
- `--stake-amount` is forced to be 10 k.
Those are set to avoid users accidentally generating false positives.
## Lookahead-analysis command reference