add details and exemple of custom_price_max_distance_percent usage in doc
This commit is contained in:
parent
17daba321b
commit
f08d673a52
@ -398,7 +398,10 @@ class AwesomeStrategy(IStrategy):
|
||||
```
|
||||
|
||||
!!! Warning
|
||||
Modifying entry and exit prices will only work for limit orders. Depending on the price chosen, this can result in a lot of unfilled orders.
|
||||
Modifying entry and exit prices will only work for limit orders. Depending on the price chosen, this can result in a lot of unfilled orders. By default the maximum allowed distance between the current price and the custom price is 2%, this value can be changed in config with the `custom_price_max_distance_percent` parameter.
|
||||
|
||||
_Exemple_
|
||||
If the new_entryprice is 97, the proposed_rate is 100 and the `custom_price_max_distance_percent` is set to 2%, The retained valid custom entry price will be 98.
|
||||
|
||||
!!! Warning "No backtesting support"
|
||||
Custom entry-prices are currently not supported during backtesting.
|
||||
|
Loading…
Reference in New Issue
Block a user