From fd6f96cae9ca603fce3ebb36825fb0e748a9555d Mon Sep 17 00:00:00 2001 From: James Maslek Date: Fri, 27 May 2022 18:21:14 -0400 Subject: [PATCH] Get rid of qa interval warning (#1880) Co-authored-by: didierlopes.eth --- openbb_terminal/stocks/stocks_controller.py | 28 ++++++++++----------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/openbb_terminal/stocks/stocks_controller.py b/openbb_terminal/stocks/stocks_controller.py index 716937ae689..2aeffe4e139 100644 --- a/openbb_terminal/stocks/stocks_controller.py +++ b/openbb_terminal/stocks/stocks_controller.py @@ -633,22 +633,20 @@ class StocksController(StockBaseController): def call_qa(self, _): """Process qa command""" if self.ticker: - if self.interval == "1440min": - from openbb_terminal.stocks.quantitative_analysis import ( - qa_controller, - ) + from openbb_terminal.stocks.quantitative_analysis import ( + qa_controller, + ) - self.queue = self.load_class( - qa_controller.QaController, - self.ticker, - self.start, - self.interval, - self.stock, - self.queue, - ) - # TODO: This menu should work regardless of data being daily or not! - else: - console.print("Load daily data to use this menu!", "\n") + self.queue = self.load_class( + qa_controller.QaController, + self.ticker, + self.start, + self.interval, + self.stock, + self.queue, + ) + # TODO: This menu should work regardless of data being daily or not! + # James: 5/27 I think it does now else: console.print("Use 'load ' prior to this command!", "\n")