def call_score(self, other_args: List[str]): """Process score command.""" parser = argparse.ArgumentParser( add_help=False, formatter_class=argparse.ArgumentDefaultsHelpFormatter, prog="score", description=""" Value investing tool based on Warren Buffett, Joseph Piotroski and Benjamin Graham thoughts [Source: FMP] """, ) ns_parser = parse_known_args_and_warn(parser, other_args, EXPORT_ONLY_RAW_DATA_ALLOWED) if ns_parser: fmp_view.valinvest_score(self.ticker)
def call_score(self, other_args: List[str]): """Process score command""" fmp_view.valinvest_score(other_args, self.ticker)
def test_valinvest_score(): fmp_view.valinvest_score(ticker="PM")
def test_fmp_valinvest_score(self): fmp_view.valinvest_score([], "GME")