Fix open rate being None formatting error.
This commit is contained in:
parent
6f6e7467f5
commit
d4b31263ca
@ -666,7 +666,7 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
'buy_tag': trade.buy_tag,
|
'buy_tag': trade.buy_tag,
|
||||||
'exchange': self.exchange.name.capitalize(),
|
'exchange': self.exchange.name.capitalize(),
|
||||||
'pair': trade.pair,
|
'pair': trade.pair,
|
||||||
'limit': safe_value_fallback(order, 'average', 'price'), # Deprecated (?)
|
'limit': open_rate, # Deprecated (?)
|
||||||
'open_rate': open_rate,
|
'open_rate': open_rate,
|
||||||
'order_type': order_type,
|
'order_type': order_type,
|
||||||
'stake_amount': trade.stake_amount,
|
'stake_amount': trade.stake_amount,
|
||||||
|
Loading…
Reference in New Issue
Block a user