Telegram candle message should be configurable

This commit is contained in:
Matthias
2022-07-11 12:10:29 +02:00
parent ed03ef47ef
commit 8e8f026ea7
5 changed files with 26 additions and 13 deletions

View File

@@ -868,7 +868,7 @@ class FreqtradeBot(LoggingMixin):
if analyzed_candle is not None:
candle_columns = analyzed_candle[['date', 'open', 'high', 'low', 'close']]
msg.update({
'analyzed_candle': candle_columns.to_json(date_unit='s', date_format='iso')
'analyzed_candle': candle_columns.to_dict()
})
# Send the message
@@ -1567,7 +1567,7 @@ class FreqtradeBot(LoggingMixin):
if analyzed_candle is not None:
candle_columns = analyzed_candle[['date', 'open', 'high', 'low', 'close']]
msg.update({
'analyzed_candle': candle_columns.to_json(date_unit='s', date_format='iso')
'analyzed_candle': candle_columns.to_dict()
})
# Send the message