From 6bedcc5d79b3e71d01f5bcccba7f98cd900e45fe Mon Sep 17 00:00:00 2001 From: misagh Date: Thu, 29 Nov 2018 13:22:41 +0100 Subject: [PATCH] log enriched for time in force --- freqtrade/freqtradebot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index c5edc71ae..9268341c5 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -484,9 +484,10 @@ class FreqtradeBot(object): # or rejected by the exchange. if order_info['status'] == 'EXPIRED' or order_info['status'] == 'REJECTED': order_type = self.strategy.order_types['buy'] + order_tif = self.strategy.order_time_in_force['buy'] status = order_info['status'] - logger.warning('Buy %s order for %s is %s by %s.', - order_type, pair_s, status, self.exchange.name) + logger.warning('Buy %s order with time in force %s for %s is %s by %s.', + order_tif, order_type, pair_s, status, self.exchange.name) return False