def call_regression(self, other_args: List[str]): """Process regression command""" regression_view.regression(other_args, self.ticker, self.stock, regression_view.USER_INPUT)
def call_quadratic(self, other_args: List[str]): """Process quadratic command""" regression_view.regression(other_args, self.ticker, self.stock, regression_view.QUADRATIC)
def call_cubic(self, other_args: List[str]): """Process cubic command""" regression_view.regression(other_args, self.ticker, self.stock, regression_view.CUBIC)
def call_linear(self, other_args: List[str]): """Process linear command""" regression_view.regression(other_args, self.ticker, self.stock, regression_view.LINEAR)