set stoploss at trade creation
This commit is contained in:
parent
52206e6f41
commit
0ce6c150ff
@ -521,6 +521,7 @@ class Backtesting:
|
|||||||
exchange='backtesting',
|
exchange='backtesting',
|
||||||
orders=[]
|
orders=[]
|
||||||
)
|
)
|
||||||
|
trade.adjust_stop_loss(trade.open_rate, self.strategy.stoploss, initial=True)
|
||||||
|
|
||||||
order = Order(
|
order = Order(
|
||||||
ft_is_open=False,
|
ft_is_open=False,
|
||||||
|
Loading…
Reference in New Issue
Block a user