mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Merge pull request #6274 from italodamato/set-stoploss-at-trade-creation
set stoploss at trade creation
This commit is contained in:
commit
01b331ee42
|
@ -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