mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
set stoploss at trade creation
This commit is contained in:
parent
52206e6f41
commit
0ce6c150ff
|
@ -521,6 +521,7 @@ class Backtesting:
|
|||
exchange='backtesting',
|
||||
orders=[]
|
||||
)
|
||||
trade.adjust_stop_loss(trade.open_rate, self.strategy.stoploss, initial=True)
|
||||
|
||||
order = Order(
|
||||
ft_is_open=False,
|
||||
|
|
Loading…
Reference in New Issue
Block a user