Improve tests for backtest protections

This commit is contained in:
Matthias
2020-12-02 07:42:39 +01:00
parent 5849d07497
commit effc96e92b
8 changed files with 37 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
## Protections
!!! Warning "Beta feature"
This feature is still in it's testing phase. Should you notice something you think is wrong please let us know via Discord, Slack or via Issue.
This feature is still in it's testing phase. Should you notice something you think is wrong please let us know via Discord, Slack or via Github Issue.
Protections will protect your strategy from unexpected events and market conditions by temporarily stop trading for either one pair, or for all pairs.
All protection end times are rounded up to the next candle to avoid sudden, unexpected intra-candle buys.
@@ -13,7 +13,7 @@ All protection end times are rounded up to the next candle to avoid sudden, unex
Each Protection can be configured multiple times with different parameters, to allow different levels of protection (short-term / long-term).
!!! Note "Backtesting"
Protections are supported by backtesting and hyperopt, but must be enabled by using the `--enable-protections` flag.
Protections are supported by backtesting and hyperopt, but must be explicitly enabled by using the `--enable-protections` flag.
### Available Protections