Freqtradebot: Cleanup stray debug messages.

This commit is contained in:
eSeR1805 2022-05-02 18:22:41 +03:00
parent 59397cdd19
commit 4c74601073
No known key found for this signature in database
GPG Key ID: BA53686259B46936

View File

@ -1123,7 +1123,6 @@ class FreqtradeBot(LoggingMixin):
Timeout setting takes priority over limit order adjustment request. Timeout setting takes priority over limit order adjustment request.
:return: None :return: None
""" """
logger.warning(Order.query.all())
for trade in Trade.get_open_order_trades(): for trade in Trade.get_open_order_trades():
try: try:
if not trade.open_order_id: if not trade.open_order_id:
@ -1151,7 +1150,6 @@ class FreqtradeBot(LoggingMixin):
:param trade: Trade object. :param trade: Trade object.
:return: None :return: None
""" """
logger.warning("handle_timedout_order")
if order['side'] == trade.entry_side: if order['side'] == trade.entry_side:
self.handle_cancel_enter(trade, order, constants.CANCEL_REASON['TIMEOUT']) self.handle_cancel_enter(trade, order, constants.CANCEL_REASON['TIMEOUT'])
else: else:
@ -1181,8 +1179,6 @@ class FreqtradeBot(LoggingMixin):
:param trade: Trade object. :param trade: Trade object.
:return: None :return: None
""" """
logger.warning("replace_order")
logger.warning(f"Order: {order}, Trade:{trade}")
analyzed_df, _ = self.dataprovider.get_analyzed_dataframe(trade.pair, analyzed_df, _ = self.dataprovider.get_analyzed_dataframe(trade.pair,
self.strategy.timeframe) self.strategy.timeframe)
latest_candle_open_date = analyzed_df.iloc[-1]['date'] if len(analyzed_df) > 0 else None latest_candle_open_date = analyzed_df.iloc[-1]['date'] if len(analyzed_df) > 0 else None
@ -1199,7 +1195,6 @@ class FreqtradeBot(LoggingMixin):
current_time=datetime.now(timezone.utc), proposed_rate=proposed_rate, current_time=datetime.now(timezone.utc), proposed_rate=proposed_rate,
current_order_rate=order_obj.price, entry_tag=trade.enter_tag, current_order_rate=order_obj.price, entry_tag=trade.enter_tag,
side=trade.entry_side) side=trade.entry_side)
logger.warning(f"adjusted_entry_price: {adjusted_entry_price}")
full_cancel = False full_cancel = False
cancel_reason = constants.CANCEL_REASON['REPLACE'] cancel_reason = constants.CANCEL_REASON['REPLACE']