From b26c74e6f776a76c289ddb66ae583ec956cbf467 Mon Sep 17 00:00:00 2001 From: Eirik Narjord Date: Thu, 19 Sep 2024 14:21:28 -0400 Subject: [PATCH] black formatting --- src/procedures.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/procedures.py b/src/procedures.py index ddc84a003..5f30237c6 100644 --- a/src/procedures.py +++ b/src/procedures.py @@ -189,14 +189,16 @@ def format_config(config: dict, verbose=True) -> dict: ) if result["live"]["approved_coins"]: result["live"]["approved_coins"] = [ - x for x in coins_to_symbols( - result["live"]["approved_coins"], verbose=verbose - ) if x not in result["live"]["ignored_coins"] + x + for x in coins_to_symbols(result["live"]["approved_coins"], verbose=verbose) + if x not in result["live"]["ignored_coins"] ] result["backtest"]["symbols"] = result["live"]["approved_coins"] else: result["backtest"]["symbols"] = [ - x for x in get_all_eligible_symbols(result["backtest"]["exchange"]) if x not in result["live"]["ignored_coins"] + x + for x in get_all_eligible_symbols(result["backtest"]["exchange"]) + if x not in result["live"]["ignored_coins"] ] return result