include trade-duration with sell-notification

This commit is contained in:
Matthias
2019-12-08 14:07:46 +01:00
parent 1495c93083
commit e4655c9b07
2 changed files with 7 additions and 2 deletions

View File

@@ -962,7 +962,9 @@ class FreqtradeBot:
'current_rate': current_rate,
'profit_amount': profit_trade,
'profit_percent': profit_percent,
'sell_reason': trade.sell_reason
'sell_reason': trade.sell_reason,
'open_date': trade.open_date,
'close_date': trade.close_date or datetime.utcnow()
}
# For regular case, when the configuration exists