diff --git a/terminal.py b/terminal.py index d001dad2711..26bfa5b7277 100644 --- a/terminal.py +++ b/terminal.py @@ -122,20 +122,25 @@ def main(): if s_ticker: candle( - s_ticker, (datetime.now() - timedelta(days=180)).strftime("%Y-%m-%d") + s_ticker, + (datetime.now() - timedelta(days=180)).strftime("%Y-%m-%d"), ) - else: - print("No ticker selected. Use 'load ticker' to load the ticker you want to look at.") + else: + print( + "No ticker selected. Use 'load ticker' to load the ticker you want to look at." + ) main_cmd = True elif ns_known_args.opt == "view": if s_ticker: view(l_args, s_ticker, s_start, s_interval, df_stock) - - else: - print("No ticker selected. Use 'load ticker' to load the ticker you want to look at.") + + else: + print( + "No ticker selected. Use 'load ticker' to load the ticker you want to look at." + ) main_cmd = True elif ns_known_args.opt == "export":