mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Send correct Profit for both exit types
This commit is contained in:
parent
90df6bcd54
commit
7f84996c1e
|
@ -1810,7 +1810,7 @@ class FreqtradeBot(LoggingMixin):
|
|||
'open_rate': trade.open_rate,
|
||||
'close_rate': order_rate,
|
||||
'current_rate': current_rate,
|
||||
'profit_amount': profit.profit_abs if fill else profit.total_profit,
|
||||
'profit_amount': profit.profit_abs,
|
||||
'profit_ratio': profit.profit_ratio,
|
||||
'buy_tag': trade.enter_tag,
|
||||
'enter_tag': trade.enter_tag,
|
||||
|
|
Loading…
Reference in New Issue
Block a user