log enriched for time in force
This commit is contained in:
parent
4ffc74d5fa
commit
6bedcc5d79
@ -484,9 +484,10 @@ class FreqtradeBot(object):
|
|||||||
# or rejected by the exchange.
|
# or rejected by the exchange.
|
||||||
if order_info['status'] == 'EXPIRED' or order_info['status'] == 'REJECTED':
|
if order_info['status'] == 'EXPIRED' or order_info['status'] == 'REJECTED':
|
||||||
order_type = self.strategy.order_types['buy']
|
order_type = self.strategy.order_types['buy']
|
||||||
|
order_tif = self.strategy.order_time_in_force['buy']
|
||||||
status = order_info['status']
|
status = order_info['status']
|
||||||
logger.warning('Buy %s order for %s is %s by %s.',
|
logger.warning('Buy %s order with time in force %s for %s is %s by %s.',
|
||||||
order_type, pair_s, status, self.exchange.name)
|
order_tif, order_type, pair_s, status, self.exchange.name)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user