Merge pull request #6792 from mkavinkumar1/rpc
consistent exchange name
This commit is contained in:
commit
ae463fcdf2
@ -831,7 +831,7 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
'type': msg_type,
|
'type': msg_type,
|
||||||
'buy_tag': trade.enter_tag,
|
'buy_tag': trade.enter_tag,
|
||||||
'enter_tag': trade.enter_tag,
|
'enter_tag': trade.enter_tag,
|
||||||
'exchange': self.exchange.name.capitalize(),
|
'exchange': trade.exchange.capitalize(),
|
||||||
'pair': trade.pair,
|
'pair': trade.pair,
|
||||||
'leverage': trade.leverage if trade.leverage else None,
|
'leverage': trade.leverage if trade.leverage else None,
|
||||||
'direction': 'Short' if trade.is_short else 'Long',
|
'direction': 'Short' if trade.is_short else 'Long',
|
||||||
@ -861,7 +861,7 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
'type': RPCMessageType.ENTRY_CANCEL,
|
'type': RPCMessageType.ENTRY_CANCEL,
|
||||||
'buy_tag': trade.enter_tag,
|
'buy_tag': trade.enter_tag,
|
||||||
'enter_tag': trade.enter_tag,
|
'enter_tag': trade.enter_tag,
|
||||||
'exchange': self.exchange.name.capitalize(),
|
'exchange': trade.exchange.capitalize(),
|
||||||
'pair': trade.pair,
|
'pair': trade.pair,
|
||||||
'leverage': trade.leverage,
|
'leverage': trade.leverage,
|
||||||
'direction': 'Short' if trade.is_short else 'Long',
|
'direction': 'Short' if trade.is_short else 'Long',
|
||||||
|
Loading…
Reference in New Issue
Block a user