flake8 fix
Co-Authored-By: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com>
This commit is contained in:
parent
0fceeba9bf
commit
2d9c323a4a
@ -193,7 +193,6 @@ class RPC:
|
||||
stoploss_current_dist_ratio = stoploss_current_dist / current_rate
|
||||
|
||||
trade_dict = trade.to_json()
|
||||
import pprint;logger.info(pprint.pformat(trade_dict))
|
||||
trade_dict.update(dict(
|
||||
base_currency=self._freqtrade.config['stake_currency'],
|
||||
close_profit=trade.close_profit if not trade.is_open else None,
|
||||
|
@ -447,7 +447,7 @@ class Telegram(RPCHandler):
|
||||
return lines
|
||||
|
||||
@authorized_only
|
||||
def _status(self, update: Update, context: CallbackContext) -> None:
|
||||
def _status(self, update: Update, context: CallbackContext) -> None: # noqa: max-complexity: 13
|
||||
"""
|
||||
Handler for /status.
|
||||
Returns the current TradeThread status
|
||||
|
Loading…
Reference in New Issue
Block a user