Call custom_exit_price only for sell_signal and custom_sell

This commit is contained in:
Matthias
2021-12-04 14:14:22 +01:00
parent 84ad176287
commit 68ac8008ec
3 changed files with 9 additions and 6 deletions

View File

@@ -390,6 +390,7 @@ class AwesomeStrategy(IStrategy):
!!! Warning "Backtesting"
While Custom prices are supported in backtesting (starting with 2021.12), prices will be moved to within the candle's high/low prices.
This behavior is currently being tested, and might be changed at a later point.
`custom_exit_price()` is only called for sells of type Sell_signal and Custom sell. All other sell-types will use regular backtesting prices.
## Custom order timeout rules