예제 #1
0
 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)
예제 #2
0
 def call_score(self, other_args: List[str]):
     """Process score command"""
     fmp_view.valinvest_score(other_args, self.ticker)
예제 #3
0
def test_valinvest_score():
    fmp_view.valinvest_score(ticker="PM")
예제 #4
0
 def test_fmp_valinvest_score(self):
     fmp_view.valinvest_score([], "GME")