Fix stoploss_last_update beein updated with date object in wrong

timezone
This commit is contained in:
Matthias 2020-09-01 07:10:48 +02:00
parent 38c52c7eee
commit a4e3edbcc5
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ class FreqtradeBot:
stop_price = trade.open_rate * (1 + stoploss)
if self.create_stoploss_order(trade=trade, stop_price=stop_price):
trade.stoploss_last_update = datetime.now()
trade.stoploss_last_update = datetime.utcnow()
return False
# If stoploss order is canceled for some reason we add it