diff --git a/gamestonk_terminal/cryptocurrency/discovery/dappradar_view.py b/gamestonk_terminal/cryptocurrency/discovery/dappradar_view.py index a43d3ef55b7..07c74499236 100644 --- a/gamestonk_terminal/cryptocurrency/discovery/dappradar_view.py +++ b/gamestonk_terminal/cryptocurrency/discovery/dappradar_view.py @@ -10,7 +10,6 @@ from gamestonk_terminal.helper_funcs import ( export_data, print_rich_table, ) -from gamestonk_terminal import feature_flags as gtff from gamestonk_terminal.rich_config import console @@ -36,17 +35,13 @@ def display_top_nfts(top: int = 10, sortby: str = "", export: str = "") -> None: for col in ["Floor Price [$]", "Avg Price [$]", "Market Cap [$]", "Volume [$]"]: if col in df.columns: df[col] = df[col].apply(lambda x: very_long_number_formatter(x)) - if gtff.USE_TABULATE_DF: - print_rich_table( - df.head(top), - headers=list(df.columns), - floatfmt=".2f", - show_index=False, - title="Top NFT collections", - ) - console.print("") - else: - console.print(df.to_string, "\n") + print_rich_table( + df.head(top), + headers=list(df.columns), + show_index=False, + title="Top NFT collections", + ) + console.print("") export_data( export, @@ -78,17 +73,13 @@ def display_top_games(top: int = 10, export: str = "", sortby: str = "") -> None for col in ["Daily Users", "Daily Volume [$]"]: if col in df.columns: df[col] = df[col].apply(lambda x: very_long_number_formatter(x)) - if gtff.USE_TABULATE_DF: - print_rich_table( - df.head(top), - headers=list(df.columns), - floatfmt=".2f", - show_index=False, - title="Top Blockchain Games", - ) - console.print("") - else: - console.print(df.to_string, "\n") + print_rich_table( + df.head(top), + headers=list(df.columns), + show_index=False, + title="Top Blockchain Games", + ) + console.print("") export_data( export, @@ -120,17 +111,13 @@ def display_top_dexes(top: int = 10, export: str = "", sortby: str = "") -> None for col in ["Daily Users", "Daily Volume [$]"]: if col in df.columns: df[col] = df[col].apply(lambda x: very_long_number_formatter(x)) - if gtff.USE_TABULATE_DF: - print_rich_table( - df.head(top), - headers=list(df.columns), - floatfmt=".2f", - show_index=False, - title="Top Decentralized Exchanges", - ) - console.print("") - else: - console.print(df.to_string, "\n") + print_rich_table( + df.head(top), + headers=list(df.columns), + show_index=False, + title="Top Decentralized Exchanges", + ) + console.print("") export_data( export, @@ -162,17 +149,13 @@ def display_top_dapps(top: int = 10, export: str = "", sortby: str = "") -> None for col in ["Daily Users", "Daily Volume [$]"]: if col in df.columns: df[col] = df[col].apply(lambda x: very_long_number_formatter(x)) - if gtff.USE_TABULATE_DF: - print_rich_table( - df.head(top), - headers=list(df.columns), - floatfmt=".2f", - show_index=False, - title="Top Decentralized Applications", - ) - console.print("") - else: - console.print(df.to_string, "\n") + print_rich_table( + df.head(top), + headers=list(df.columns), + show_index=False, + title="Top Decentralized Applications", + ) + console.print("") export_data( export, diff --git a/gamestonk_terminal/cryptocurrency/discovery/pycoingecko_view.py b/gamestonk_terminal/cryptocurrency/discovery/pycoingecko_view.py index ca87ea0941d..472de6d5fd1 100644 --- a/gamestonk_terminal/cryptocurrency/discovery/pycoingecko_view.py +++ b/gamestonk_terminal/cryptocurrency/discovery/pycoingecko_view.py @@ -8,7 +8,6 @@ from gamestonk_terminal.cryptocurrency.dataframe_helpers import ( ) from gamestonk_terminal.cryptocurrency.discovery import pycoingecko_model from gamestonk_terminal.helper_funcs import export_data, print_rich_table -from gamestonk_terminal import feature_flags as gtff from gamestonk_terminal.rich_config import console register_matplotlib_converters() @@ -64,16 +63,12 @@ def display_coins(category: str, top: int, sortby: str, export: str) -> None: for col in ["Volume [$]", "Market Cap [$]"]: if col in df.columns: df[col] = df[col].apply(lambda x: very_long_number_formatter(x)) - if gtff.USE_TABULATE_DF: - print_rich_table( - df.head(top), - headers=list(df.columns), - floatfmt=".4f", - show_index=False, - ) - console.print("") - else: - console.print(df.to_string, "\n") + print_rich_table( + df.head(top), + headers=list(df.columns), + show_index=False, + ) + console.print("") export_data( export, @@ -107,16 +102,12 @@ def display_gainers(period: str, top: int, sortby: str, export: str) -> None: for col in ["Volume [$]", "Market Cap [$]"]: if col in df.columns: df[col] = df[col].apply(lambda x: very_long_number_formatter(x)) - if gtff.USE_TABULATE_DF: - print_rich_table( - df.head(top), - headers=list(df.columns), - floatfmt=".4f", - show_index=False, - ) - console.print("") - else: - console.print(df.to_string, "\n") + print_rich_table( + df.head(top), + headers=list(df.columns), + show_index=False, + ) + console.print("") export_data( export, @@ -150,16 +141,12 @@ def display_losers(period: str, top: int, export: str, sortby: str) -> None: for col in ["Volume [$]", "Market Cap [$]"]: if col in df.columns: df[col] = df[col].apply(lambda x: very_long_number_formatter(x)) - if gtff.USE_TABULATE_DF: - print_rich_table( - df.head(top), - headers=list(df.columns), - floatfmt=".4f", - show_index=False, - ) - console.print() - else: - console.print(df.to_string, "\n") + print_rich_table( + df.head(top), + headers=list(df.columns), + show_index=False, + ) + console.print() export_data( export, @@ -182,17 +169,14 @@ def display_trending(export: str) -> None: df = pycoingecko_model.get_trending_coins() if not df.empty: - if gtff.USE_TABULATE_DF: - print_rich_table( - df, - headers=list(df.columns), - floatfmt=".4f", - show_index=False, - title="Trending coins on CoinGecko", - ) - console.print("") - else: - console.print(df.to_string, "\n") + print_rich_table( + df, + headers=list(df.columns), + floatfmt=".4f", + show_index=False, + title="Trending coins on CoinGecko", + ) + console.print("") export_data( export, diff --git a/gamestonk_terminal/stocks/dark_pool_shorts/stockgrid_view.py b/gamestonk_terminal/stocks/dark_pool_shorts/stockgrid_view.py index db7d6f386c8..2c34fbdcb56 100644 --- a/gamestonk_terminal/stocks/dark_pool_shorts/stockgrid_view.py +++ b/gamestonk_terminal/stocks/dark_pool_shorts/stockgrid_view.py @@ -4,13 +4,13 @@ __docformat__ = "numpy" import os from datetime import timedelta import matplotlib.pyplot as plt -from tabulate import tabulate from gamestonk_terminal.config_plot import PLOT_DPI from gamestonk_terminal.feature_flags import USE_ION from gamestonk_terminal.stocks.dark_pool_shorts import stockgrid_model from gamestonk_terminal.helper_funcs import ( plot_autoscale, export_data, + print_rich_table, ) from gamestonk_terminal.rich_config import console @@ -53,15 +53,11 @@ def dark_pool_short_positions(num: int, sort_field: str, ascending: bool, export ] # Assuming that the datetime is the same, which from my experiments seems to be the case - console.print(f"The following data corresponds to the date: {dp_date}") - print( - tabulate( - df.iloc[:num], - tablefmt="fancy_grid", - floatfmt=".2f", - headers=list(df.columns), - showindex=False, - ) + print_rich_table( + df.iloc[:num], + headers=list(df.columns), + show_index=False, + title=f"Data for: {dp_date}", ) console.print("") @@ -100,15 +96,11 @@ def short_interest_days_to_cover(num: int, sort_field: str, export: str): ] # Assuming that the datetime is the same, which from my experiments seems to be the case - console.print(f"The following data corresponds to the date: {dp_date}") - print( - tabulate( - df.iloc[:num], - tablefmt="fancy_grid", - floatfmt=".2f", - headers=list(df.columns), - showindex=False, - ) + print_rich_table( + df.iloc[:num], + headers=list(df.columns), + show_index=False, + title=f"Data for: {dp_date}", ) console.print("") @@ -156,14 +148,11 @@ def short_interest_volume(ticker: str, num: int, raw: bool, export: str): df.date = df.date.dt.date - print( - tabulate( - df.iloc[:num], - tablefmt="fancy_grid", - floatfmt=".2f", - headers=list(df.columns), - showindex=False, - ) + print_rich_table( + df.iloc[:num], + headers=list(df.columns), + show_index=False, + title="Price vs Short Volume", ) else: _, axes = plt.subplots( @@ -276,14 +265,11 @@ def net_short_position(ticker: str, num: int, raw: bool, export: str): df["dates"] = df["dates"].dt.date - print( - tabulate( - df.iloc[:num], - tablefmt="fancy_grid", - floatfmt=".2f", - headers=list(df.columns), - showindex=False, - ) + print_rich_table( + df.iloc[:num], + headers=list(df.columns), + show_index=False, + title="Net Short Positions", ) else: diff --git a/gamestonk_terminal/stocks/dark_pool_shorts/yahoofinance_view.py b/gamestonk_terminal/stocks/dark_pool_shorts/yahoofinance_view.py index 6e21e2bbc34..1daf30fbb73 100644 --- a/gamestonk_terminal/stocks/dark_pool_shorts/yahoofinance_view.py +++ b/gamestonk_terminal/stocks/dark_pool_shorts/yahoofinance_view.py @@ -2,8 +2,7 @@ __docformat__ = "numpy" import os -from tabulate import tabulate -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.dark_pool_shorts import yahoofinance_model from gamestonk_terminal.rich_config import console @@ -25,14 +24,8 @@ def display_most_shorted(num_stocks: int, export: str): if df.empty: console.print("No data found.") else: - print( - tabulate( - df, - headers=df.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) + print_rich_table( + df, headers=list(df.columns), show_index=False, title="Most Shorted Stocks" ) console.print("") diff --git a/gamestonk_terminal/stocks/discovery/financedatabase_view.py b/gamestonk_terminal/stocks/discovery/financedatabase_view.py index fcc790e532d..c76be607806 100644 --- a/gamestonk_terminal/stocks/discovery/financedatabase_view.py +++ b/gamestonk_terminal/stocks/discovery/financedatabase_view.py @@ -4,8 +4,7 @@ __docformat__ = "numpy" import financedatabase as fd import pandas as pd -from tabulate import tabulate -from gamestonk_terminal import feature_flags as gtff +from gamestonk_terminal.helper_funcs import print_rich_table from gamestonk_terminal.rich_config import console @@ -74,7 +73,7 @@ def show_equities( data, query=f"{''.join(marketcap)} Cap", search="market_cap" ) - tabulate_data = pd.DataFrame(data).T[ + table_data = pd.DataFrame(data).T[ [ "long_name", "sector", @@ -86,24 +85,18 @@ def show_equities( ] ] - if gtff.USE_TABULATE_DF: - print( - tabulate( - tabulate_data.iloc[:amount], - showindex=True, - headers=[ - "Name", - "Sector", - "Industry", - "Country", - "City", - "Website", - "Market Cap", - ], - floatfmt=".2f", - tablefmt="fancy_grid", - ), - "\n", - ) - else: - console.print(tabulate_data.iloc[:amount].to_string(), "\n") + print_rich_table( + table_data.iloc[:amount], + show_index=True, + headers=[ + "Name", + "Sector", + "Industry", + "Country", + "City", + "Website", + "Market Cap", + ], + title="Equities", + ) + console.print("") diff --git a/gamestonk_terminal/stocks/discovery/finnhub_view.py b/gamestonk_terminal/stocks/discovery/finnhub_view.py index 2e48e2925cf..88bad2d25bd 100644 --- a/gamestonk_terminal/stocks/discovery/finnhub_view.py +++ b/gamestonk_terminal/stocks/discovery/finnhub_view.py @@ -1,8 +1,7 @@ import os from datetime import datetime, timedelta import pandas as pd -from tabulate import tabulate -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.discovery import finnhub_model from gamestonk_terminal.rich_config import console @@ -36,14 +35,11 @@ def past_ipo(num_days_behind: int, export: str) -> pd.DataFrame: if df_past_ipo.empty: console.print(f"No IPOs found since the last {num_days_behind} days") else: - print( - tabulate( - df_past_ipo, - headers=df_past_ipo.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) + print_rich_table( + df_past_ipo, + headers=list(df_past_ipo.columns), + show_index=False, + title="IPO Dates", ) console.print("") @@ -84,14 +80,11 @@ def future_ipo(num_days_ahead: int, export: str) -> pd.DataFrame: if df_future_ipo.empty: console.print(f"No IPOs found for the next {num_days_ahead} days") else: - print( - tabulate( - df_future_ipo, - headers=df_future_ipo.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) + print_rich_table( + df_future_ipo, + headers=list(df_future_ipo.columns), + show_index=False, + title="Future IPO Dates", ) console.print("") diff --git a/gamestonk_terminal/stocks/discovery/geekofwallstreet_view.py b/gamestonk_terminal/stocks/discovery/geekofwallstreet_view.py index 6347b8262c5..2a49796c760 100644 --- a/gamestonk_terminal/stocks/discovery/geekofwallstreet_view.py +++ b/gamestonk_terminal/stocks/discovery/geekofwallstreet_view.py @@ -3,12 +3,9 @@ __docformat__ = "numpy" import os import pandas as pd -from tabulate import tabulate -import gamestonk_terminal.feature_flags as gtff -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.discovery import geekofwallstreet_model as gwt_model -from gamestonk_terminal.rich_config import console # pylint:disable=no-member @@ -38,19 +35,12 @@ def display_realtime_earnings(export: str = ""): ).fillna("") earnings["Market Cap"] = earnings["Market Cap"] / 1_000_000_000 earnings = earnings.rename(columns={"Market Cap": "Market Cap ($1B)"}) - if gtff.USE_TABULATE_DF: - print( - tabulate( - earnings, - headers=earnings.columns, - tablefmt="fancy_grid", - showindex=False, - floatfmt=".3f", - ), - "\n", - ) - else: - console.print(earnings.to_string()) + print_rich_table( + earnings, + headers=list(earnings.columns), + show_index=False, + title="Real Time Earnings", + ) export_data( export, os.path.dirname(os.path.abspath(__file__)), "rtearn", earnings_export diff --git a/gamestonk_terminal/stocks/discovery/seeking_alpha_view.py b/gamestonk_terminal/stocks/discovery/seeking_alpha_view.py index 7756b87d768..ded1fa7a8a0 100644 --- a/gamestonk_terminal/stocks/discovery/seeking_alpha_view.py +++ b/gamestonk_terminal/stocks/discovery/seeking_alpha_view.py @@ -3,10 +3,9 @@ __docformat__ = "numpy" from typing import List import os -from tabulate import tabulate import pandas as pd -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.discovery import seeking_alpha_model from gamestonk_terminal.rich_config import console @@ -54,14 +53,11 @@ def upcoming_earning_release_dates(num_pages: int, num_earnings: int, export: st df_earn.index = df_earn["Ticker"].values df_earn.drop(columns=["Ticker"], inplace=True) - print( - tabulate( - df_earn, - showindex=True, - headers=[f"Earnings on {earning_date.date()}"], - tablefmt="fancy_grid", - ), - "\n", + print_rich_table( + df_earn, + show_index=True, + headers=[f"Earnings on {earning_date.date()}"], + title="Upcoming Earnings Releases", ) if export: diff --git a/gamestonk_terminal/stocks/discovery/shortinterest_view.py b/gamestonk_terminal/stocks/discovery/shortinterest_view.py index 91d7b20f856..d6c607b94f0 100644 --- a/gamestonk_terminal/stocks/discovery/shortinterest_view.py +++ b/gamestonk_terminal/stocks/discovery/shortinterest_view.py @@ -2,9 +2,8 @@ __docformat__ = "numpy" import os -from tabulate import tabulate -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.discovery import shortinterest_model @@ -21,15 +20,11 @@ def low_float(num: int, export: str): df_low_float = shortinterest_model.get_low_float() df_low_float = df_low_float.iloc[1:].head(n=num) - print( - tabulate( - df_low_float, - headers=df_low_float.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ), - "\n", + print_rich_table( + df_low_float, + headers=list(df_low_float.columns), + show_index=False, + title="Top Float Stocks", ) export_data( @@ -52,15 +47,11 @@ def hot_penny_stocks(num: int, export: str): """ df_penny_stocks = shortinterest_model.get_today_hot_penny_stocks() - print( - tabulate( - df_penny_stocks.head(num), - headers=df_penny_stocks.columns, - floatfmt=".2f", - showindex=True, - tablefmt="fancy_grid", - ), - "\n", + print_rich_table( + df_penny_stocks.head(num), + headers=list(df_penny_stocks.columns), + show_index=True, + title="Top Penny Stocks", ) export_data( diff --git a/gamestonk_terminal/stocks/discovery/yahoofinance_view.py b/gamestonk_terminal/stocks/discovery/yahoofinance_view.py index 2a1bfdbbeab..abb005d5eca 100644 --- a/gamestonk_terminal/stocks/discovery/yahoofinance_view.py +++ b/gamestonk_terminal/stocks/discovery/yahoofinance_view.py @@ -3,9 +3,8 @@ __docformat__ = "numpy" import os import logging -from tabulate import tabulate from gamestonk_terminal.decorators import log_start_end -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.discovery import yahoofinance_model from gamestonk_terminal.rich_config import console @@ -31,14 +30,11 @@ def display_gainers(num_stocks: int, export: str) -> None: if df_gainers.empty: console.print("No gainers found.") else: - print( - tabulate( - df_gainers.head(num_stocks), - headers=df_gainers.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) + print_rich_table( + df_gainers.head(num_stocks), + headers=list(df_gainers.columns), + show_index=False, + title="Gainers", ) console.print("") @@ -69,14 +65,11 @@ def display_losers(num_stocks: int, export: str) -> None: if df_losers.empty: console.print("No losers found.") else: - print( - tabulate( - df_losers.head(num_stocks), - headers=df_losers.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) + print_rich_table( + df_losers.head(num_stocks), + headers=list(df_losers.columns), + show_index=False, + title="Display Losers", ) console.print("") @@ -107,14 +100,11 @@ def display_ugs(num_stocks: int, export: str) -> None: if df.empty: console.print("No data found.") else: - print( - tabulate( - df.head(num_stocks), - headers=df.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) + print_rich_table( + df.head(num_stocks), + headers=list(df.columns), + show_index=False, + title="Undervalued Growth Stocks", ) console.print("") @@ -145,14 +135,11 @@ def display_gtech(num_stocks: int, export: str) -> None: if df.empty: console.print("No data found.") else: - print( - tabulate( - df.head(num_stocks), - headers=df.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) + print_rich_table( + df.head(num_stocks), + headers=list(df.columns), + show_index=False, + title="Growth Tech Stocks", ) console.print("") @@ -183,14 +170,11 @@ def display_active(num_stocks: int, export: str) -> None: if df.empty: console.print("No data found.") else: - print( - tabulate( - df.head(num_stocks), - headers=df.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) + print_rich_table( + df.head(num_stocks), + headers=list(df.columns), + show_index=False, + title="Most Active Stocks", ) console.print("") @@ -221,14 +205,11 @@ def display_ulc(num_stocks: int, export: str) -> None: if df.empty: console.print("No data found.") else: - print( - tabulate( - df.head(num_stocks).dropna(), - headers=df.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) + print_rich_table( + df.head(num_stocks).dropna(), + headers=list(df.columns), + show_index=False, + title="Undervalued Large Cap Stocks", ) console.print("") @@ -259,14 +240,11 @@ def display_asc(num_stocks: int, export: str) -> None: if df.empty: console.print("No data found.") else: - print( - tabulate( - df.head(num_stocks).dropna(), - headers=df.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) + print_rich_table( + df.head(num_stocks).dropna(), + headers=list(df.columns), + show_index=False, + title="High Growth Small Caps", ) console.print("") diff --git a/gamestonk_terminal/stocks/due_diligence/ark_view.py b/gamestonk_terminal/stocks/due_diligence/ark_view.py index f8ef0b61e0f..b5b2e1abeae 100644 --- a/gamestonk_terminal/stocks/due_diligence/ark_view.py +++ b/gamestonk_terminal/stocks/due_diligence/ark_view.py @@ -4,11 +4,9 @@ __docformat__ = "numpy" import os import pandas as pd -from tabulate import tabulate from gamestonk_terminal.stocks.due_diligence import ark_model -from gamestonk_terminal import feature_flags as gtff -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.rich_config import console @@ -47,18 +45,13 @@ def display_ark_trades( ark_holdings.index = pd.Series(ark_holdings.index).apply( lambda x: x.strftime("%Y-%m-%d") ) - if gtff.USE_TABULATE_DF: - print( - tabulate( - ark_holdings.head(num), - headers=ark_holdings.columns, - showindex=True, - floatfmt=("", ".4f", ".4f", ".4f", "", ".2f", ".2f", ".3f"), - tablefmt="fancy_grid", - ) - ) - else: - console.print(ark_holdings.head(num).to_string()) + print_rich_table( + ark_holdings.head(num), + headers=list(ark_holdings.columns), + show_index=True, + title="ARK Trades", + ) + console.print("") export_data( export, os.path.dirname(os.path.abspath(__file__)), "arktrades", ark_holdings diff --git a/gamestonk_terminal/stocks/due_diligence/business_insider_view.py b/gamestonk_terminal/stocks/due_diligence/business_insider_view.py index 1397561db52..88cffeb828f 100644 --- a/gamestonk_terminal/stocks/due_diligence/business_insider_view.py +++ b/gamestonk_terminal/stocks/due_diligence/business_insider_view.py @@ -5,10 +5,11 @@ import os from pandas.core.frame import DataFrame from pandas.plotting import register_matplotlib_converters import matplotlib.pyplot as plt -from tabulate import tabulate + from gamestonk_terminal.stocks.due_diligence import business_insider_model from gamestonk_terminal.helper_funcs import ( export_data, + print_rich_table, ) from gamestonk_terminal.config_plot import PLOT_DPI from gamestonk_terminal.helper_funcs import plot_autoscale @@ -51,18 +52,12 @@ def price_target_from_analysts( if raw: df_analyst_data.index = df_analyst_data.index.strftime("%Y-%m-%d") - if gtff.USE_TABULATE_DF: - print( - tabulate( - df_analyst_data.sort_index(ascending=False).head(num), - headers=df_analyst_data.columns, - floatfmt=".2f", - showindex=True, - tablefmt="fancy_grid", - ) - ) - else: - console.print(df_analyst_data.head(num).to_string()) + print_rich_table( + df_analyst_data.sort_index(ascending=False).head(num), + headers=list(df_analyst_data.columns), + show_index=True, + title="Analyst Price Targets", + ) else: plt.subplots(figsize=plot_autoscale(), dpi=PLOT_DPI) @@ -122,34 +117,25 @@ def estimates(ticker: str, export: str): df_quarter_revenues, ) = business_insider_model.get_estimates(ticker) - print( - tabulate( - df_year_estimates, - headers=df_year_estimates.columns, - floatfmt=".2f", - showindex=True, - tablefmt="fancy_grid", - ), + print_rich_table( + df_year_estimates, + headers=list(df_year_estimates.columns), + show_index=True, + title="Annual Earnings Estimates", ) console.print("") - print( - tabulate( - df_quarter_earnings, - headers=df_quarter_earnings.columns, - floatfmt=".2f", - showindex=True, - tablefmt="fancy_grid", - ), + print_rich_table( + df_quarter_earnings, + headers=list(df_quarter_earnings.columns), + show_index=True, + title="Quarterly Earnings Estimates", ) console.print("") - print( - tabulate( - df_quarter_revenues, - headers=df_quarter_revenues.columns, - floatfmt=".2f", - showindex=True, - tablefmt="fancy_grid", - ) + print_rich_table( + df_quarter_revenues, + headers=list(df_quarter_revenues.columns), + show_index=True, + title="Quarterly Revenue Estimates", ) console.print("") diff --git a/gamestonk_terminal/stocks/due_diligence/finnhub_view.py b/gamestonk_terminal/stocks/due_diligence/finnhub_view.py index 7f367139853..7ead591ebb0 100644 --- a/gamestonk_terminal/stocks/due_diligence/finnhub_view.py +++ b/gamestonk_terminal/stocks/due_diligence/finnhub_view.py @@ -2,12 +2,15 @@ __docformat__ = "numpy" import os -from tabulate import tabulate import pandas as pd from matplotlib import pyplot as plt from pandas.plotting import register_matplotlib_converters from gamestonk_terminal.stocks.due_diligence import finnhub_model -from gamestonk_terminal.helper_funcs import plot_autoscale, export_data +from gamestonk_terminal.helper_funcs import ( + plot_autoscale, + export_data, + print_rich_table, +) from gamestonk_terminal.config_plot import PLOT_DPI from gamestonk_terminal import feature_flags as gtff from gamestonk_terminal.rich_config import console @@ -83,18 +86,12 @@ def rating_over_time(ticker: str, num: int, raw: bool, export: str): .rename(columns=d_cols) .head(num) ) - if gtff.USE_TABULATE_DF: - print( - tabulate( - df_rot_raw, - headers=df_rot_raw.columns, - floatfmt=".2f", - showindex=False, - tablefmt="fancy_grid", - ) - ) - else: - console.print(df_rot_raw.to_string()) + print_rich_table( + df_rot_raw, + headers=list(df_rot_raw.columns), + show_index=False, + title="Monthly Rating", + ) else: plot_rating_over_time(df_rot.head(num), ticker) diff --git a/gamestonk_terminal/stocks/due_diligence/finviz_view.py b/gamestonk_terminal/stocks/due_diligence/finviz_view.py index ac1ffc1940c..7f679098ca0 100644 --- a/gamestonk_terminal/stocks/due_diligence/finviz_view.py +++ b/gamestonk_terminal/stocks/due_diligence/finviz_view.py @@ -3,9 +3,8 @@ __docformat__ = "numpy" import os from typing import List, Any -from tabulate import tabulate from gamestonk_terminal.stocks.due_diligence import finviz_model -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal import feature_flags as gtff from gamestonk_terminal.rich_config import console @@ -71,17 +70,11 @@ def analyst(ticker: str, export: str = ""): if gtff.USE_COLOR: df["category"] = df["category"].apply(category_color_red_green) - print( - tabulate( - df, - headers=df.columns, - floatfmt=".2f", - showindex=True, - tablefmt="fancy_grid", - ), - "\n", + print_rich_table( + df, headers=list(df.columns), show_index=True, title="Display Analyst Ratings" ) + console.print("") export_data( export, os.path.dirname(os.path.abspath(__file__)), diff --git a/gamestonk_terminal/stocks/due_diligence/fmp_view.py b/gamestonk_terminal/stocks/due_diligence/fmp_view.py index 616f2fa7f96..34a69cdbf41 100644 --- a/gamestonk_terminal/stocks/due_diligence/fmp_view.py +++ b/gamestonk_terminal/stocks/due_diligence/fmp_view.py @@ -2,8 +2,7 @@ __docformat__ = "numpy" import os -from tabulate import tabulate -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.due_diligence import fmp_model from gamestonk_terminal.rich_config import console @@ -34,14 +33,11 @@ def rating(ticker: str, num: int, export: str): for recom in l_recoms ] l_recoms_show[0] = "Rating" - print( - tabulate( - df[l_recoms].head(num), - headers=l_recoms_show, - floatfmt=".2f", - showindex=True, - tablefmt="fancy_grid", - ) + print_rich_table( + df[l_recoms].head(num), + headers=l_recoms_show, + show_index=True, + title="Rating", ) console.print("") diff --git a/gamestonk_terminal/stocks/due_diligence/marketwatch_view.py b/gamestonk_terminal/stocks/due_diligence/marketwatch_view.py index 0768ae768e6..808a79930d6 100644 --- a/gamestonk_terminal/stocks/due_diligence/marketwatch_view.py +++ b/gamestonk_terminal/stocks/due_diligence/marketwatch_view.py @@ -2,13 +2,11 @@ __docformat__ = "numpy" import os -from tabulate import tabulate -from gamestonk_terminal.helper_funcs import export_data + +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.due_diligence import marketwatch_model from gamestonk_terminal.rich_config import console -# pylint: disable=too-many-branches - def sec_filings(ticker: str, num: int, export: str): """Display SEC filings for a given stock ticker. [Source: Market Watch] @@ -23,14 +21,11 @@ def sec_filings(ticker: str, num: int, export: str): Export dataframe data to csv,json,xlsx file """ df_financials = marketwatch_model.get_sec_filings(ticker) - print( - tabulate( - df_financials.head(num), - headers=df_financials.columns, - floatfmt=".2f", - showindex=True, - tablefmt="fancy_grid", - ) + print_rich_table( + df_financials.head(num), + headers=list(df_financials.columns), + show_index=True, + title="SEC Filings", ) console.print("") diff --git a/gamestonk_terminal/stocks/fundamental_analysis/av_view.py b/gamestonk_terminal/stocks/fundamental_analysis/av_view.py index 530ea514d13..9d2f714a7dd 100644 --- a/gamestonk_terminal/stocks/fundamental_analysis/av_view.py +++ b/gamestonk_terminal/stocks/fundamental_analysis/av_view.py @@ -3,11 +3,9 @@ __docformat__ = "numpy" import os -from tabulate import tabulate import numpy as np -from gamestonk_terminal import feature_flags as gtff -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.fundamental_analysis import av_model from gamestonk_terminal.rich_config import console @@ -25,14 +23,9 @@ def display_overview(ticker: str): console.print("No API calls left. Try me later", "\n") return - if gtff.USE_TABULATE_DF: - print( - tabulate( - df_fa.drop(index=["Description"]), headers=[], tablefmt="fancy_grid" - ) - ) - else: - console.print(df_fa.drop(index=["Description"]).to_string(header=False)) + print_rich_table( + df_fa.drop(index=["Description"]), headers=[], title="Ticker Overview" + ) console.print(f"\nCompany Description:\n\n{df_fa.loc['Description'][0]}") console.print("") @@ -51,10 +44,7 @@ def display_key(ticker: str): console.print("No API calls left. Try me later", "\n") return - if gtff.USE_TABULATE_DF: - print(tabulate(df_key, headers=[], tablefmt="fancy_grid")) - else: - console.print(df_key.to_string(header=False)) + print_rich_table(df_key, headers=[], title="Ticker Key Metrics") console.print("") @@ -80,10 +70,9 @@ def display_income_statement( console.print("No API calls left. Try me later", "\n") return - if gtff.USE_TABULATE_DF: - print(tabulate(df_income, headers=df_income.columns, tablefmt="fancy_grid")) - else: - console.print(df_income.to_string()) + print_rich_table( + df_income, headers=list(df_income.columns), title="Ticker Income Statement" + ) console.print("") export_data(export, os.path.dirname(os.path.abspath(__file__)), "income", df_income) @@ -110,10 +99,9 @@ def display_balance_sheet( console.print("No API calls left. Try me later", "\n") return - if gtff.USE_TABULATE_DF: - print(tabulate(df_balance, headers=df_balance.columns, tablefmt="fancy_grid")) - else: - console.print(df_balance.to_string()) + print_rich_table( + df_balance, headers=list(df_balance.columns), title="Ticker Balance Sheet" + ) console.print("") export_data( @@ -142,10 +130,9 @@ def display_cash_flow( console.print("No API calls left. Try me later", "\n") return - if gtff.USE_TABULATE_DF: - print(tabulate(df_cash, headers=df_cash.columns, tablefmt="fancy_grid")) - else: - console.print(df_cash.to_string()) + print_rich_table( + df_cash, headers=list(df_cash.columns), title="Ticker Balance Sheet" + ) console.print("") export_data(export, os.path.dirname(os.path.abspath(__file__)), "cash", df_cash) @@ -167,17 +154,12 @@ def display_earnings(ticker: str, limit: int, quarterly: bool = False): if df_fa.empty: console.print("No API calls left. Try me later", "\n") return - if gtff.USE_TABULATE_DF: - print( - tabulate( - df_fa.head(limit), - headers=df_fa.columns, - showindex=False, - tablefmt="fancy_grid", - ) - ) - else: - console.print(df_fa.head(n=limit).T.to_string(header=False)) + print_rich_table( + df_fa.head(limit), + headers=list(df_fa.columns), + show_index=False, + title="Ticker Earnings", + ) console.print("") diff --git a/gamestonk_terminal/stocks/fundamental_analysis/business_insider_view.py b/gamestonk_terminal/stocks/fundamental_analysis/business_insider_view.py index c67f61e8d20..4eae04c508e 100644 --- a/gamestonk_terminal/stocks/fundamental_analysis/business_insider_view.py +++ b/gamestonk_terminal/stocks/fundamental_analysis/business_insider_view.py @@ -4,10 +4,7 @@ __docformat__ = "numpy" import os import textwrap -from tabulate import tabulate - -import gamestonk_terminal.feature_flags as gtff -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.fundamental_analysis import business_insider_model from gamestonk_terminal.rich_config import console @@ -26,20 +23,13 @@ def display_management(ticker: str, export: str = ""): names = ["Name"] + list(df_management.columns) - if gtff.USE_TABULATE_DF: - print( - tabulate( - df_management.applymap( - lambda x: "\n".join(textwrap.wrap(x, width=30)) - if isinstance(x, str) - else x - ), - tablefmt="fancy_grid", - headers=names, - ) - ) - else: - console.print(df_management.to_string()) + print_rich_table( + df_management.applymap( + lambda x: "\n".join(textwrap.wrap(x, width=30)) if isinstance(x, str) else x + ), + title="Company Managers", + headers=names, + ) console.print("") export_data( diff --git a/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/fmp_view.py b/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/fmp_view.py index 8ff967dfc02..fb470ce39c4 100644 --- a/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/fmp_view.py +++ b/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/fmp_view.py @@ -4,13 +4,11 @@ __docformat__ = "numpy" import os import pandas as pd -from tabulate import tabulate -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.fundamental_analysis.financial_modeling_prep import ( fmp_model, ) -import gamestonk_terminal.feature_flags as gtff from gamestonk_terminal.rich_config import console @@ -40,18 +38,9 @@ def display_profile(ticker: str): Fundamental analysis ticker symbol """ profile = fmp_model.get_profile(ticker) - if gtff.USE_TABULATE_DF: - print( - tabulate( - profile.drop(index=["description", "image"]), - headers=[], - tablefmt="fancy_grid", - ) - ) - else: - console.print( - profile.drop(index=["description", "image"]).to_string(header=False) - ) + print_rich_table( + profile.drop(index=["description", "image"]), headers=[], title="Ticker Profile" + ) console.print(f"\nImage: {profile.loc['image'][0]}") console.print(f"\nDescription: {profile.loc['description'][0]}") @@ -68,10 +57,7 @@ def display_quote(ticker: str): """ quote = fmp_model.get_quote(ticker) - if gtff.USE_TABULATE_DF: - print(tabulate(quote, headers=[], tablefmt="fancy_grid")) - else: - console.print(quote.to_string(header=False)) + print_rich_table(quote, headers=[], title="Ticker Quote") console.print("") @@ -93,10 +79,7 @@ def display_enterprise( """ df_fa = fmp_model.get_enterprise(ticker, number, quarterly) df_fa = df_fa[df_fa.columns[::-1]] - if gtff.USE_TABULATE_DF: - print(tabulate(df_fa, headers=df_fa.columns, tablefmt="fancy_grid")) - else: - console.print(df_fa.to_string()) + print_rich_table(df_fa, headers=list(df_fa.columns), title="Ticker Enterprise") console.print("") export_data(export, os.path.dirname(os.path.abspath(__file__)), "enterprise", df_fa) @@ -119,10 +102,7 @@ def display_discounted_cash_flow( """ dcf = fmp_model.get_dcf(ticker, number, quarterly) dcf = dcf[dcf.columns[::-1]] - if gtff.USE_TABULATE_DF: - print(tabulate(dcf, headers=[], tablefmt="fancy_grid")) - else: - console.print(dcf.to_string()) + print_rich_table(dcf, headers=[], title="Discounted Cash Flow") console.print("") export_data(export, os.path.dirname(os.path.abspath(__file__)), "dcf", dcf) @@ -146,18 +126,11 @@ def display_income_statement( """ income = fmp_model.get_income(ticker, number, quarterly) income = income[income.columns[::-1]] - if gtff.USE_TABULATE_DF: - print( - tabulate( - income.drop(index=["Final link", "Link"]), - headers=income.columns, - tablefmt="fancy_grid", - ) - ) - - else: - - console.print(income.drop(index=["Final link", "Link"]).to_string()) + print_rich_table( + income.drop(index=["Final link", "Link"]), + headers=list(income.columns), + title="Ticker Income Statement", + ) pd.set_option("display.max_colwidth", None) console.print("") @@ -186,17 +159,11 @@ def display_balance_sheet( """ balance = fmp_model.get_balance(ticker, number, quarterly) balance = balance[balance.columns[::-1]] - if gtff.USE_TABULATE_DF: - print( - tabulate( - balance.drop(index=["Final link", "Link"]), - headers=balance.columns, - tablefmt="fancy_grid", - ) - ) - - else: - console.print(balance.drop(index=["Final link", "Link"]).to_string()) + print_rich_table( + balance.drop(index=["Final link", "Link"]), + headers=list(balance.columns), + title="Ticker Balance SHeet", + ) pd.set_option("display.max_colwidth", None) console.print("") @@ -225,16 +192,11 @@ def display_cash_flow( """ cash = fmp_model.get_cash(ticker, number, quarterly) cash = cash[cash.columns[::-1]] - if gtff.USE_TABULATE_DF: - print( - tabulate( - cash.drop(index=["Final link", "Link"]), - headers=cash.columns, - tablefmt="fancy_grid", - ) - ) - else: - console.print(cash.drop(index=["Final link", "Link"]).to_string()) + print_rich_table( + cash.drop(index=["Final link", "Link"]), + headers=list(cash.columns), + title="Ticker Cash Flow", + ) pd.set_option("display.max_colwidth", None) console.print("") @@ -263,10 +225,9 @@ def display_key_metrics( """ key_metrics = fmp_model.get_key_metrics(ticker, number, quarterly) key_metrics = key_metrics[key_metrics.columns[::-1]] - if gtff.USE_TABULATE_DF: - print(tabulate(key_metrics, headers=key_metrics.columns, tablefmt="fancy_grid")) - else: - console.print(key_metrics.to_string()) + print_rich_table( + key_metrics, headers=list(key_metrics.columns), title="Ticker Key Metrics" + ) console.print("") export_data( export, os.path.dirname(os.path.abspath(__file__)), "metrics", key_metrics @@ -291,11 +252,7 @@ def display_financial_ratios( """ ratios = fmp_model.get_key_ratios(ticker, number, quarterly) ratios = ratios[ratios.columns[::-1]] - if gtff.USE_TABULATE_DF: - print(tabulate(ratios, headers=ratios.columns, tablefmt="fancy_grid")) - else: - - console.print(ratios.to_string()) + print_rich_table(ratios, headers=list(ratios.columns), title="Ticker Ratios") console.print("") export_data( export, os.path.dirname(os.path.abspath(__file__)), "grratiosowth", ratios @@ -320,10 +277,6 @@ def display_financial_statement_growth( """ growth = fmp_model.get_financial_growth(ticker, number, quarterly) growth = growth[growth.columns[::-1]] - if gtff.USE_TABULATE_DF: - print(tabulate(growth, headers=growth.columns, tablefmt="fancy_grid")) - else: - - console.print(growth.to_string()) + print_rich_table(growth, headers=list(growth.columns), title="Ticker Growth") console.print("") export_data(export, os.path.dirname(os.path.abspath(__file__)), "growth", growth) diff --git a/gamestonk_terminal/stocks/fundamental_analysis/finviz_view.py b/gamestonk_terminal/stocks/fundamental_analysis/finviz_view.py index 56fe370f1c5..69bfe1faa4f 100644 --- a/gamestonk_terminal/stocks/fundamental_analysis/finviz_view.py +++ b/gamestonk_terminal/stocks/fundamental_analysis/finviz_view.py @@ -3,10 +3,7 @@ __docformat__ = "numpy" import os -from tabulate import tabulate - -from gamestonk_terminal import feature_flags as gtff -from gamestonk_terminal.helper_funcs import export_data +from gamestonk_terminal.helper_funcs import export_data, print_rich_table from gamestonk_terminal.stocks.fundamental_analysis import finviz_model from gamestonk_terminal.rich_config import console @@ -23,10 +20,7 @@ def display_screen_data(ticker: str, export: str = ""): """ fund_data = finviz_model.get_data(ticker) console.print("") - if gtff.USE_TABULATE_DF: - print(tabulate(fund_data, tablefmt="fancy_grid", showindex=True)) - else: - console.print(fund_data.to_string(header=False)) + print_rich_table(fund_data, title="Ticker Screener", show_index=True) console.print("") export_data(export, os.path.dirname(os.path.abspath(__file__)), "data", fund_data) diff --git a/gamestonk_terminal/stocks/fundamental_analysis/market_watch_view.py b/gamestonk_terminal/stocks/fundamental_analysis/market_watch_view.py index b4efb9e59c6..272143844c7 100644 --- a/gamestonk_terminal/stocks/fundamental_analysis/market_watch_view.py +++ b/gamestonk_terminal/stocks/fundamental_analysis/market_watch_view.py @@ -9,13 +9,13 @@ import argparse from typing import List import pandas as pd -from tabulate import tabulate from gamestonk_terminal import feature_flags as gtff from gamestonk_terminal.helper_funcs import ( financials_colored_values, parse_known_args_and_warn, patch_pandas_text_adjustment, + print_rich_table, ) from gamestonk_terminal.stocks.fundamental_analysis import market_watch_model as mwm from gamestonk_terminal.rich_config import console @@ -252,17 +252,9 @@ def display_sean_seah_warnings(ticker: str, debug: bool = False): console.print(f"No financials found for {ticker}\n") return - if gtff.USE_TABULATE_DF: - print( - tabulate( - financials, - headers=financials.columns, - tablefmt="fancy_grid", - floatfmt=".2f", - ) - ) - else: - console.print(financials.to_string()) + print_rich_table( + financials, headers=list(financials.columns), title="Sean Seah Warnings" + ) if not warnings: console.print("No warnings found. Good stonk") diff --git a/gamestonk_terminal/stocks/fundamental_analysis/yahoo_finance_view.py b/gamestonk_terminal/stocks/fundamental_analysis/yahoo_finance_view.py index d4e78e5e9a5..207407fbd5e 100644 --- a/gamestonk_terminal/stocks/fundamental_analysis/yahoo_finance_view.py +++ b/gamestonk_terminal/stocks/fundamental_analysis/yahoo_finance_view.py @@ -5,11 +5,14 @@ import os import webbrowser import matplotlib.pyplot as plt import pandas as pd -from tabulate import tabulate from gamestonk_terminal.stocks.fundamental_analysis import yahoo_finance_model from gamestonk_terminal import feature_flags as gtff -from gamestonk_terminal.helper_funcs import export_data, plot_autoscale +from gamestonk_terminal.helper_funcs import ( + export_data, + plot_autoscale, + print_rich_table, +) from gamestonk_terminal.config_plot import PLOT_DPI from gamestonk_terminal.rich_config import console @@ -49,11 +52,7 @@ def display_info(ticker: str): summary = df_info.loc["Long business summary"].values[0] df_info = df_info.drop(index=["Long business summary"]) - if gtff.USE_TABULATE_DF: - print(tabulate(df_info, headers=[], showindex=True, tablefmt="fancy_grid")) - - else: - console.print(df_info.to_string(header=False)) + print_rich_table(df_info, headers=[], show_index=True, title="Ticker Info") if summary: console.print("Business Summary:") @@ -80,12 +79,9 @@ def display_shareholders(ticker: str): console.print("") for df, title in zip(dfs, titles): console.print(title) - if gtff.USE_TABULATE_DF: - print( - tabulate(df, headers=df.columns, tablefmt="fancy_grid", showindex=False) - ) - else: - console.print(df.to_string(index=False)) + print_rich_table( + df, headers=list(df.columns), show_index=False, title="Ticker Shareholders" + ) console.print("") @@ -105,17 +101,12 @@ def display_sustainability(ticker: str): console.print("No sustainability data found.", "\n") return - if gtff.USE_TABULATE_DF: - print( - tabulate( - df_sustainability, - headers=[], - tablefmt="fancy_grid", - showindex=True, - ) - ) - else: - console.print(df_sustainability.to_string(index=True)) + print_rich_table( + df_sustainability, + headers=[], + title="Ticker Sustainability", + show_index=True, + ) console.print("") @@ -130,17 +121,12 @@ def display_calendar_earnings(ticker: str): if df_calendar.empty: console.print("No calendar events found.\n") return - if gtff.USE_TABULATE_DF: - print( - tabulate( - df_calendar, - showindex=False, - headers=df_calendar.columns, - tablefmt="fancy_grid", - ) - ) - else: - console.print(df_calendar.to_string(index=False)) + print_rich_table( + df_calendar, + show_index=False, + headers=list(df_calendar.columns), + title="Ticker Calendar Earnings", + ) console.print("") @@ -193,16 +179,10 @@ def display_dividends( div_history.index = pd.to_datetime(div_history.index, format="%Y%m%d").strftime( "%Y-%m-%d" ) - if gtff.USE_TABULATE_DF: - print( - tabulate( - div_history.head(limit), - tablefmt="fancy_grid", - headers=["Amount Paid ($)", "Change"], - floatfmt=".2f", - ) - ) - else: - console.print(div_history.to_string()) + print_rich_table( + div_history.head(limit), + headers=["Amount Paid ($)", "Change"], + title="Ticker Historical Dividends", + ) console.print("") export_data(export, os.path.dirname(os.path.abspath(__file__)), "divs", div_history) diff --git a/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_dark_pool_short_positions.txt b/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_dark_pool_short_positions.txt index 54f6d402460..f8e1a784784 100644 --- a/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_dark_pool_short_positions.txt +++ b/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_dark_pool_short_positions.txt @@ -1,9 +1,4 @@ -The following data corresponds to the date: 2021-12-15 -╒══════════╤═══════════════════╤════════════════╤═══════════════════════╤══════════════════════════╤════════════════════╤═════════════════════╕ -│ Ticker │ Short Vol. (1M) │ Short Vol. % │ Net Short Vol. (1M) │ Net Short Vol. ($100M) │ DP Position (1M) │ DP Position ($1B) │ -╞══════════╪═══════════════════╪════════════════╪═══════════════════════╪══════════════════════════╪════════════════════╪═════════════════════╡ -│ LCAP │ 0.00 │ 0.00 │ -0.66 │ -0.07 │ -1.41 │ -0.01 │ -├──────────┼───────────────────┼────────────────┼───────────────────────┼──────────────────────────┼────────────────────┼─────────────────────┤ -│ GGAAU │ 0.00 │ 0.00 │ -0.34 │ -0.03 │ -1.76 │ -0.02 │ -╘══════════╧═══════════════════╧════════════════╧═══════════════════════╧══════════════════════════╧════════════════════╧═════════════════════╛ + Ticker Short Vol. (1M) Short Vol. % Net Short Vol. (1M) Net Short Vol. ($100M) DP Position (1M) DP Position ($1B) +0 LCAP 0.000001 0.000152 -0.656175 -0.065224 -1.410044 -0.014024 +1 GGAAU 0.000001 0.000294 -0.340320 -0.034134 -1.758678 -0.017667 diff --git a/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_net_short_position[True].txt b/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_net_short_position[True].txt index ec76101db2c..fc5d8bd376d 100644 --- a/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_net_short_position[True].txt +++ b/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_net_short_position[True].txt @@ -1,8 +1,4 @@ -╒════════════╤═════════════════════════╤═══════════════════╕ -│ dates │ Net Short Vol. (1k $) │ Position (1M $) │ -╞════════════╪═════════════════════════╪═══════════════════╡ -│ 2021-12-15 │ -17.77 │ -1463.30 │ -├────────────┼─────────────────────────┼───────────────────┤ -│ 2021-12-14 │ -28.51 │ -1483.36 │ -╘════════════╧═════════════════════════╧═══════════════════╛ + dates Net Short Vol. (1k $) Position (1M $) +251 2021-12-15 -17.76651 -1463.30 +250 2021-12-14 -28.50522 -1483.36 diff --git a/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_short_interest_days_to_cover.txt b/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_short_interest_days_to_cover.txt index 4b6815c9237..1b3eedfeff3 100644 --- a/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_short_interest_days_to_cover.txt +++ b/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_short_interest_days_to_cover.txt @@ -1,9 +1,4 @@ -The following data corresponds to the date: 2021-11-30 -╒══════════╤═════════════════╤═════════════════╤═══════════════════════╕ -│ Ticker │ Float Short % │ Days to Cover │ Short Interest (1M) │ -╞══════════╪═════════════════╪═════════════════╪═══════════════════════╡ -│ COWN │ 13.28 │ 12.70 │ 3.43 │ -├──────────┼─────────────────┼─────────────────┼───────────────────────┤ -│ FOLD │ 10.00 │ 12.72 │ 25.08 │ -╘══════════╧═════════════════╧═════════════════╧═══════════════════════╛ + Ticker Float Short % Days to Cover Short Interest (1M) +163 COWN 13.277242 12.7031 3.432167 +162 FOLD 10.004660 12.7210 25.077682 diff --git a/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_short_interest_volume[True].txt b/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_short_interest_volume[True].txt index aa1fcf55ac2..56e0815b0ca 100644 --- a/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_short_interest_volume[True].txt +++ b/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_stockgrid_view/test_short_interest_volume[True].txt @@ -1,8 +1,4 @@ -╒════════════╤═══════════════════╤════════════════╤══════════════════════════╤═══════════════════╕ -│ date │ Short Vol. (1M) │ Short Vol. % │ Short Exempt Vol. (1K) │ Total Vol. (1M) │ -╞════════════╪═══════════════════╪════════════════╪══════════════════════════╪═══════════════════╡ -│ 2021-12-15 │ 0.34 │ 38.97 │ 4.16 │ 0.87 │ -├────────────┼───────────────────┼────────────────┼──────────────────────────┼───────────────────┤ -│ 2021-12-14 │ 0.27 │ 31.72 │ 2.08 │ 0.85 │ -╘════════════╧═══════════════════╧════════════════╧══════════════════════════╧═══════════════════╛ + date Short Vol. (1M) Short Vol. % Short Exempt Vol. (1K) Total Vol. (1M) +199 2021-12-15 0.338383 38.97 4.163 0.868360 +198 2021-12-14 0.268989 31.72 2.076 0.848087 diff --git a/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_yahoofinance_view/test_display_most_shorted.txt b/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_yahoofinance_view/test_display_most_shorted.txt index cdeae3981a4..11232d5795b 100644 --- a/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_yahoofinance_view/test_display_most_shorted.txt +++ b/tests/gamestonk_terminal/stocks/dark_pool_shorts/txt/test_yahoofinance_view/test_display_most_shorted.txt @@ -1,8 +1,4 @@ -╒══════════╤═════════════════════════════╤════════════════════╤══════════╤════════════╤══════════╤═════════════════════╤══════════════╕ -│ Symbol │ Name │ Price (Intraday) │ Change │ % Change │ Volume │ Avg Vol (3 month) │ Market Cap │ -╞══════════╪═════════════════════════════╪════════════════════╪══════════╪════════════╪══════════╪═════════════════════╪══════════════╡ -│ ESPR │ Esperion Therapeutics, Inc. │ 5.14 │ -0.21 │ -3.93% │ 1.01M │ 2.06M │ 320.3M │ -├──────────┼─────────────────────────────┼────────────────────┼──────────┼────────────┼──────────┼─────────────────────┼──────────────┤ -│ HRTX │ Heron Therapeutics, Inc. │ 8.98 │ -0.04 │ -0.44% │ 1.078M │ 1.92M │ 915.376M │ -╘══════════╧═════════════════════════════╧════════════════════╧══════════╧════════════╧══════════╧═════════════════════╧══════════════╛ + Symbol Name Price (Intraday) Change % Change Volume Avg Vol (3 month) Market Cap +0 ESPR Esperion Therapeutics, Inc. 5.14 -0.21 -3.93% 1.01M 2.06M 320.3M +1 HRTX Heron Therapeutics, Inc. 8.98 -0.04 -0.44% 1.078M 1.92M 915.376M diff --git a/tests/gamestonk_terminal/stocks/discovery/test_financedatabase_view.py b/tests/gamestonk_terminal/stocks/discovery/test_financedatabase_view.py index be401223d18..60b035e4676 100644 --- a/tests/gamestonk_terminal/stocks/discovery/test_financedatabase_view.py +++ b/tests/gamestonk_terminal/stocks/discovery/test_financedatabase_view.py @@ -5,6 +5,7 @@ import pytest # IMPORTATION INTERNAL from gamestonk_terminal.stocks.discovery import financedatabase_view +from gamestonk_terminal import helper_funcs @pytest.mark.default_cassette("test_show_equities") @@ -33,7 +34,7 @@ from gamestonk_terminal.stocks.discovery import financedatabase_view ) def test_show_equities(kwargs_dict, mocker, use_tab): mocker.patch.object( - target=financedatabase_view.gtff, attribute="USE_TABULATE_DF", new=use_tab + target=helper_funcs.gtff, attribute="USE_TABULATE_DF", new=use_tab ) kwargs_dict_none = { diff --git a/tests/gamestonk_terminal/stocks/discovery/test_geekofwallstreet_view.py b/tests/gamestonk_terminal/stocks/discovery/test_geekofwallstreet_view.py index 03adb2c656d..dcd2325945c 100644 --- a/tests/gamestonk_terminal/stocks/discovery/test_geekofwallstreet_view.py +++ b/tests/gamestonk_terminal/stocks/discovery/test_geekofwallstreet_view.py @@ -5,6 +5,7 @@ import pytest # IMPORTATION INTERNAL from gamestonk_terminal.stocks.discovery import geekofwallstreet_view +from gamestonk_terminal import helper_funcs @pytest.mark.default_cassette("test_get_realtime_earnings") @@ -12,6 +13,6 @@ from gamestonk_terminal.stocks.discovery import geekofwallstreet_view @pytest.mark.parametrize("use_tab", [True, False]) def test_get_realtime_earnings(mocker, use_tab): mocker.patch.object( - target=geekofwallstreet_view.gtff, attribute="USE_TABULATE_DF", new=use_tab + target=helper_funcs.gtff, attribute="USE_TABULATE_DF", new=use_tab ) geekofwallstreet_view.display_realtime_earnings(export="") diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_financedatabase_view/test_show_equities[kwargs_dict0-True].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_financedatabase_view/test_show_equities[kwargs_dict0-True].txt index dd7fc9188ee..d970245d54e 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_financedatabase_view/test_show_equities[kwargs_dict0-True].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_financedatabase_view/test_show_equities[kwargs_dict0-True].txt @@ -1,208 +1,104 @@ -╒══════════╤═══════════════════════════════════╤════════════╤═══════════════╤═══════════╤════════════════════════╤═══════════════════════════════════╤══════════════╕ -│ │ Name │ Sector │ Industry │ Country │ City │ Website │ Market Cap │ -╞══════════╪═══════════════════════════════════╪════════════╪═══════════════╪═══════════╪════════════════════════╪═══════════════════════════════════╪══════════════╡ -│ 0LW.F │ Neovacs S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.neovacs.fr │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 16O.F │ Oncodesign Société Anonyme │ Healthcare │ Biotechnology │ France │ Dijon │ http://www.oncodesign.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 1F6.F │ Fermentalg Société Anonyme │ Healthcare │ Biotechnology │ France │ Libourne │ http://www.fermentalg.com/fr │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 2E4.F │ ERYTECH Pharma S.A. │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.erytech.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 2E4A.F │ ERYTECH Pharma S.A. │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.erytech.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 2X1.F │ ABIVAX Société Anonyme │ Healthcare │ Biotechnology │ France │ Paris │ http://www.abivax.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 35L.F │ Pherecydes Pharma Société anonyme │ Healthcare │ Biotechnology │ France │ Romainville │ http://www.pherecydes-pharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 3HB.SG │ Hybrigenics Société Anonyme │ Healthcare │ Biotechnology │ France │ │ http://www.hybrigenics.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 3MM.F │ Advicenne S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.advicenne.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 3VG.F │ Theranexus Société Anonyme │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.theranexus.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 4W4.F │ Lysogene S.A. │ Healthcare │ Biotechnology │ France │ Neuilly-sur-Seine │ http://www.lysogene.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 5D8.F │ Deinove SA │ Healthcare │ Biotechnology │ France │ Grabels │ http://www.deinove.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 5NR.F │ Nanobiotix S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.nanobiotix.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 5NRA.F │ Nanobiotix S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.nanobiotix.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 609.F │ ABIONYX Pharma SA │ Healthcare │ Biotechnology │ France │ Labege │ http://abionyx.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 609.SG │ ABIONYX Pharma SA │ Healthcare │ Biotechnology │ France │ Labege │ http://abionyx.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 6IV.F │ Inventiva S.A. │ Healthcare │ Biotechnology │ France │ Daix │ http://www.inventivapharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 6IVA.F │ Inventiva S.A. │ Healthcare │ Biotechnology │ France │ Daix │ http://www.inventivapharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 6OP.F │ OSE Immunotherapeutics SA │ Healthcare │ Biotechnology │ France │ Nantes │ http://www.ose-immuno.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 6XB.F │ Biophytis SA │ Healthcare │ Biotechnology │ France │ Paris │ http://www.biophytis.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 6XBA.F │ Biophytis SA │ Healthcare │ Biotechnology │ France │ Paris │ http://www.biophytis.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 76D.F │ Medesis Pharma S.A. │ Healthcare │ Biotechnology │ France │ Montpellier │ http://www.medesispharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 7PO.F │ Poxel S.A. │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.poxelpharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ 8JD.F │ Valbiotis SA │ Healthcare │ Biotechnology │ France │ Périgny │ http://www.valbiotis.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ A89.F │ Adocia SA │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.adocia.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ AAVXF │ ABIVAX Société Anonyme │ Healthcare │ Biotechnology │ France │ Paris │ http://www.abivax.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ABNX.PA │ ABIONYX Pharma SA │ Healthcare │ Biotechnology │ France │ Labege │ http://abionyx.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ABVX.PA │ ABIVAX Société Anonyme │ Healthcare │ Biotechnology │ France │ Paris │ http://www.abivax.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ADOC.PA │ Adocia SA │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.adocia.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ADOCY │ Adocia SA │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.adocia.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ADVIC.PA │ Advicenne S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.advicenne.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALBPS.PA │ Biophytis SA │ Healthcare │ Biotechnology │ France │ Paris │ http://www.biophytis.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALCLS.PA │ Cellectis S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.cellectis.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALDEI.PA │ Deinove SA │ Healthcare │ Biotechnology │ France │ Grabels │ http://www.deinove.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALGEN.PA │ genOway Société anonyme │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.genoway.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALHYG.PA │ Hybrigenics Société Anonyme │ Healthcare │ Biotechnology │ France │ │ http://www.hybrigenics.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALINT.PA │ IntegraGen SA │ Healthcare │ Biotechnology │ France │ Évry │ http://www.integragen.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALMDP.PA │ Medesis Pharma S.A. │ Healthcare │ Biotechnology │ France │ Montpellier │ http://www.medesispharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALNEV.PA │ Neovacs S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.neovacs.fr │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALONC.PA │ Oncodesign Société Anonyme │ Healthcare │ Biotechnology │ France │ Dijon │ http://www.oncodesign.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALONX.PA │ Onxeo SA │ Healthcare │ Biotechnology │ France │ Paris │ http://www.onxeo.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALPAT.PA │ Plant Advanced Technologies SA │ Healthcare │ Biotechnology │ France │ Vandœuvre-lès-Nancy │ http://www.plantadvanced.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALPHA.PA │ Pharnext SA │ Healthcare │ Biotechnology │ France │ Issy-les-Moulineaux │ http://www.pharnext.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALPHE.PA │ Pherecydes Pharma Société anonyme │ Healthcare │ Biotechnology │ France │ Romainville │ http://www.pherecydes-pharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALQGC.PA │ Quantum Genomics Société Anonyme │ Healthcare │ Biotechnology │ France │ Paris │ http://www.quantum-genomics.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALSEN.PA │ Sensorion SA │ Healthcare │ Biotechnology │ France │ Montpellier │ http://www.sensorion.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALTHX.PA │ Theranexus Société Anonyme │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.theranexus.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ALVAL.PA │ Valbiotis SA │ Healthcare │ Biotechnology │ France │ Périgny │ http://www.valbiotis.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ AYJ.F │ Valneva SE │ Healthcare │ Biotechnology │ France │ Saint-Herblain │ http://valneva.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ BPTS │ Biophytis SA │ Healthcare │ Biotechnology │ France │ Paris │ http://www.biophytis.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ C4X.F │ Onxeo SA │ Healthcare │ Biotechnology │ France │ Paris │ http://www.onxeo.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ CLLS │ Cellectis S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.cellectis.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ CMVLF │ Cellectis S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.cellectis.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ COX.PA │ Nicox S.A. │ Healthcare │ Biotechnology │ France │ Valbonne │ http://www.nicox.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ DBV.F │ DBV Technologies S.A. │ Healthcare │ Biotechnology │ France │ Montrouge │ http://www.dbv-technologies.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ DBV.PA │ DBV Technologies S.A. │ Healthcare │ Biotechnology │ France │ Montrouge │ http://www.dbv-technologies.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ DBVA.F │ DBV Technologies S.A. │ Healthcare │ Biotechnology │ France │ Montrouge │ http://www.dbv-technologies.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ DBVT │ DBV Technologies S.A. │ Healthcare │ Biotechnology │ France │ Montrouge │ http://www.dbv-technologies.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ERYP.PA │ ERYTECH Pharma S.A. │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.erytech.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ERYP │ ERYTECH Pharma S.A. │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.erytech.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ FALG.PA │ Fermentalg Société Anonyme │ Healthcare │ Biotechnology │ France │ Libourne │ http://www.fermentalg.com/fr │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ G061.F │ Genkyotex SA │ Healthcare │ Biotechnology │ France │ Labège │ http://www.genkyotex.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ G49N.F │ GenSight Biologics S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.gensight-biologics.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ GKTX.PA │ Genkyotex SA │ Healthcare │ Biotechnology │ France │ Labège │ http://www.genkyotex.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ GNFT.PA │ Genfit SA │ Healthcare │ Biotechnology │ France │ Loos │ http://www.genfit.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ GNFT │ Genfit S.A. │ Healthcare │ Biotechnology │ France │ Loos │ http://www.genfit.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ GNFTF │ Genfit SA │ Healthcare │ Biotechnology │ France │ Loos │ http://www.genfit.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ IDD.F │ Innate Pharma S.A. │ Healthcare │ Biotechnology │ France │ Marseille │ http://www.innate-pharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ IDDA.MU │ Innate Pharma S.A. │ Healthcare │ Biotechnology │ France │ Marseille │ http://www.innate-pharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ INRLF │ Valneva SE │ Healthcare │ Biotechnology │ France │ Saint-Herblain │ http://valneva.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ IPH.PA │ Innate Pharma S.A. │ Healthcare │ Biotechnology │ France │ Marseille │ http://www.innate-pharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ IPHA │ Innate Pharma S.A. │ Healthcare │ Biotechnology │ France │ Marseille │ http://www.innate-pharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ IPHYF │ Innate Pharma S.A. │ Healthcare │ Biotechnology │ France │ Marseille │ http://www.innate-pharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ IVA.PA │ Inventiva S.A. │ Healthcare │ Biotechnology │ France │ Daix │ http://www.inventivapharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ IVA │ Inventiva S.A. │ Healthcare │ Biotechnology │ France │ Daix │ http://www.inventivapharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ JEH.F │ genOway Société anonyme │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.genoway.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ LYS.PA │ Lysogene S.A. │ Healthcare │ Biotechnology │ France │ Neuilly-sur-Seine │ http://www.lysogene.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ MDCLF │ MedinCell S.A. │ Healthcare │ Biotechnology │ France │ Jacou │ http://www.medincell.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ MEB.F │ MedinCell S.A. │ Healthcare │ Biotechnology │ France │ Jacou │ http://www.medincell.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ MEDCL.PA │ MedinCell S.A. │ Healthcare │ Biotechnology │ France │ Jacou │ http://www.medincell.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ NANO.PA │ Nanobiotix S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.nanobiotix.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ NBTX │ Nanobiotix S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.nanobiotix.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ NICXF │ Nicox S.A. │ Healthcare │ Biotechnology │ France │ Valbonne │ http://www.nicox.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ NXOA.F │ Nicox S.A. │ Healthcare │ Biotechnology │ France │ Valbonne │ http://www.nicox.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ONXEO.CO │ Onxeo SA │ Healthcare │ Biotechnology │ France │ Paris │ http://www.onxeo.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ OSE.PA │ OSE Immunotherapeutics SA │ Healthcare │ Biotechnology │ France │ Nantes │ http://www.ose-immuno.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ P0X.F │ Pharnext SA │ Healthcare │ Biotechnology │ France │ Issy-les-Moulineaux │ http://www.pharnext.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ P0X.SG │ Pharnext SA │ Healthcare │ Biotechnology │ France │ Issy-les-Moulineaux │ http://www.pharnext.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ PNEXF │ Pharnext SA │ Healthcare │ Biotechnology │ France │ Issy-les-Moulineaux │ http://www.pharnext.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ POXEL.PA │ Poxel S.A. │ Healthcare │ Biotechnology │ France │ Lyon │ http://www.poxelpharma.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ RFM.F │ Sensorion SA │ Healthcare │ Biotechnology │ France │ Montpellier │ http://www.sensorion.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ RFM.SG │ Sensorion SA │ Healthcare │ Biotechnology │ France │ Montpellier │ http://www.sensorion.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ SIGHT.PA │ GenSight Biologics S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.gensight-biologics.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ TGNA.F │ Transgene SA │ Healthcare │ Biotechnology │ France │ Illkirch-Graffenstaden │ http://www.transgene.fr │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ TNG.PA │ Transgene SA │ Healthcare │ Biotechnology │ France │ Illkirch-Graffenstaden │ http://www.transgene.fr │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ TRGNF │ Transgene SA │ Healthcare │ Biotechnology │ France │ Illkirch-Graffenstaden │ http://www.transgene.fr │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ VLA.PA │ Valneva SE │ Healthcare │ Biotechnology │ France │ Saint-Herblain │ http://valneva.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ XUP.F │ Genfit SA │ Healthcare │ Biotechnology │ France │ Loos │ http://www.genfit.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ XUP.SG │ Genfit SA │ Healthcare │ Biotechnology │ France │ Loos │ http://www.genfit.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ XUPB.MU │ Genfit SA │ Healthcare │ Biotechnology │ France │ Loos │ http://www.genfit.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ZVA.F │ Cellectis S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.cellectis.com │ Small Cap │ -├──────────┼───────────────────────────────────┼────────────┼───────────────┼───────────┼────────────────────────┼───────────────────────────────────┼──────────────┤ -│ ZVAA.F │ Cellectis S.A. │ Healthcare │ Biotechnology │ France │ Paris │ http://www.cellectis.com │ Small Cap │ -╘══════════╧═══════════════════════════════════╧════════════╧═══════════════╧═══════════╧════════════════════════╧═══════════════════════════════════╧══════════════╛ + long_name sector industry country city website market_cap +0LW.F Neovacs S.A. Healthcare Biotechnology France Paris http://www.neovacs.fr Small Cap +16O.F Oncodesign Société Anonyme Healthcare Biotechnology France Dijon http://www.oncodesign.com Small Cap +1F6.F Fermentalg Société Anonyme Healthcare Biotechnology France Libourne http://www.fermentalg.com/fr Small Cap +2E4.F ERYTECH Pharma S.A. Healthcare Biotechnology France Lyon http://www.erytech.com Small Cap +2E4A.F ERYTECH Pharma S.A. Healthcare Biotechnology France Lyon http://www.erytech.com Small Cap +2X1.F ABIVAX Société Anonyme Healthcare Biotechnology France Paris http://www.abivax.com Small Cap +35L.F Pherecydes Pharma Société anonyme Healthcare Biotechnology France Romainville http://www.pherecydes-pharma.com Small Cap +3HB.SG Hybrigenics Société Anonyme Healthcare Biotechnology France None http://www.hybrigenics.com Small Cap +3MM.F Advicenne S.A. Healthcare Biotechnology France Paris http://www.advicenne.com Small Cap +3VG.F Theranexus Société Anonyme Healthcare Biotechnology France Lyon http://www.theranexus.com Small Cap +4W4.F Lysogene S.A. Healthcare Biotechnology France Neuilly-sur-Seine http://www.lysogene.com Small Cap +5D8.F Deinove SA Healthcare Biotechnology France Grabels http://www.deinove.com Small Cap +5NR.F Nanobiotix S.A. Healthcare Biotechnology France Paris http://www.nanobiotix.com Small Cap +5NRA.F Nanobiotix S.A. Healthcare Biotechnology France Paris http://www.nanobiotix.com Small Cap +609.F ABIONYX Pharma SA Healthcare Biotechnology France Labege http://abionyx.com Small Cap +609.SG ABIONYX Pharma SA Healthcare Biotechnology France Labege http://abionyx.com Small Cap +6IV.F Inventiva S.A. Healthcare Biotechnology France Daix http://www.inventivapharma.com Small Cap +6IVA.F Inventiva S.A. Healthcare Biotechnology France Daix http://www.inventivapharma.com Small Cap +6OP.F OSE Immunotherapeutics SA Healthcare Biotechnology France Nantes http://www.ose-immuno.com Small Cap +6XB.F Biophytis SA Healthcare Biotechnology France Paris http://www.biophytis.com Small Cap +6XBA.F Biophytis SA Healthcare Biotechnology France Paris http://www.biophytis.com Small Cap +76D.F Medesis Pharma S.A. Healthcare Biotechnology France Montpellier http://www.medesispharma.com Small Cap +7PO.F Poxel S.A. Healthcare Biotechnology France Lyon http://www.poxelpharma.com Small Cap +8JD.F Valbiotis SA Healthcare Biotechnology France Périgny http://www.valbiotis.com Small Cap +A89.F Adocia SA Healthcare Biotechnology France Lyon http://www.adocia.com Small Cap +AAVXF ABIVAX Société Anonyme Healthcare Biotechnology France Paris http://www.abivax.com Small Cap +ABNX.PA ABIONYX Pharma SA Healthcare Biotechnology France Labege http://abionyx.com Small Cap +ABVX.PA ABIVAX Société Anonyme Healthcare Biotechnology France Paris http://www.abivax.com Small Cap +ADOC.PA Adocia SA Healthcare Biotechnology France Lyon http://www.adocia.com Small Cap +ADOCY Adocia SA Healthcare Biotechnology France Lyon http://www.adocia.com Small Cap +ADVIC.PA Advicenne S.A. Healthcare Biotechnology France Paris http://www.advicenne.com Small Cap +ALBPS.PA Biophytis SA Healthcare Biotechnology France Paris http://www.biophytis.com Small Cap +ALCLS.PA Cellectis S.A. Healthcare Biotechnology France Paris http://www.cellectis.com Small Cap +ALDEI.PA Deinove SA Healthcare Biotechnology France Grabels http://www.deinove.com Small Cap +ALGEN.PA genOway Société anonyme Healthcare Biotechnology France Lyon http://www.genoway.com Small Cap +ALHYG.PA Hybrigenics Société Anonyme Healthcare Biotechnology France None http://www.hybrigenics.com Small Cap +ALINT.PA IntegraGen SA Healthcare Biotechnology France Évry http://www.integragen.com Small Cap +ALMDP.PA Medesis Pharma S.A. Healthcare Biotechnology France Montpellier http://www.medesispharma.com Small Cap +ALNEV.PA Neovacs S.A. Healthcare Biotechnology France Paris http://www.neovacs.fr Small Cap +ALONC.PA Oncodesign Société Anonyme Healthcare Biotechnology France Dijon http://www.oncodesign.com Small Cap +ALONX.PA Onxeo SA Healthcare Biotechnology France Paris http://www.onxeo.com Small Cap +ALPAT.PA Plant Advanced Technologies SA Healthcare Biotechnology France Vandœuvre-lès-Nancy http://www.plantadvanced.com Small Cap +ALPHA.PA Pharnext SA Healthcare Biotechnology France Issy-les-Moulineaux http://www.pharnext.com Small Cap +ALPHE.PA Pherecydes Pharma Société anonyme Healthcare Biotechnology France Romainville http://www.pherecydes-pharma.com Small Cap +ALQGC.PA Quantum Genomics Société Anonyme Healthcare Biotechnology France Paris http://www.quantum-genomics.com Small Cap +ALSEN.PA Sensorion SA Healthcare Biotechnology France Montpellier http://www.sensorion.com Small Cap +ALTHX.PA Theranexus Société Anonyme Healthcare Biotechnology France Lyon http://www.theranexus.com Small Cap +ALVAL.PA Valbiotis SA Healthcare Biotechnology France Périgny http://www.valbiotis.com Small Cap +AYJ.F Valneva SE Healthcare Biotechnology France Saint-Herblain http://valneva.com Small Cap +BPTS Biophytis SA Healthcare Biotechnology France Paris http://www.biophytis.com Small Cap +C4X.F Onxeo SA Healthcare Biotechnology France Paris http://www.onxeo.com Small Cap +CLLS Cellectis S.A. Healthcare Biotechnology France Paris http://www.cellectis.com Small Cap +CMVLF Cellectis S.A. Healthcare Biotechnology France Paris http://www.cellectis.com Small Cap +COX.PA Nicox S.A. Healthcare Biotechnology France Valbonne http://www.nicox.com Small Cap +DBV.F DBV Technologies S.A. Healthcare Biotechnology France Montrouge http://www.dbv-technologies.com Small Cap +DBV.PA DBV Technologies S.A. Healthcare Biotechnology France Montrouge http://www.dbv-technologies.com Small Cap +DBVA.F DBV Technologies S.A. Healthcare Biotechnology France Montrouge http://www.dbv-technologies.com Small Cap +DBVT DBV Technologies S.A. Healthcare Biotechnology France Montrouge http://www.dbv-technologies.com Small Cap +ERYP.PA ERYTECH Pharma S.A. Healthcare Biotechnology France Lyon http://www.erytech.com Small Cap +ERYP ERYTECH Pharma S.A. Healthcare Biotechnology France Lyon http://www.erytech.com Small Cap +FALG.PA Fermentalg Société Anonyme Healthcare Biotechnology France Libourne http://www.fermentalg.com/fr Small Cap +G061.F Genkyotex SA Healthcare Biotechnology France Labège http://www.genkyotex.com Small Cap +G49N.F GenSight Biologics S.A. Healthcare Biotechnology France Paris http://www.gensight-biologics.com Small Cap +GKTX.PA Genkyotex SA Healthcare Biotechnology France Labège http://www.genkyotex.com Small Cap +GNFT.PA Genfit SA Healthcare Biotechnology France Loos http://www.genfit.com Small Cap +GNFT Genfit S.A. Healthcare Biotechnology France Loos http://www.genfit.com Small Cap +GNFTF Genfit SA Healthcare Biotechnology France Loos http://www.genfit.com Small Cap +IDD.F Innate Pharma S.A. Healthcare Biotechnology France Marseille http://www.innate-pharma.com Small Cap +IDDA.MU Innate Pharma S.A. Healthcare Biotechnology France Marseille http://www.innate-pharma.com Small Cap +INRLF Valneva SE Healthcare Biotechnology France Saint-Herblain http://valneva.com Small Cap +IPH.PA Innate Pharma S.A. Healthcare Biotechnology France Marseille http://www.innate-pharma.com Small Cap +IPHA Innate Pharma S.A. Healthcare Biotechnology France Marseille http://www.innate-pharma.com Small Cap +IPHYF Innate Pharma S.A. Healthcare Biotechnology France Marseille http://www.innate-pharma.com Small Cap +IVA.PA Inventiva S.A. Healthcare Biotechnology France Daix http://www.inventivapharma.com Small Cap +IVA Inventiva S.A. Healthcare Biotechnology France Daix http://www.inventivapharma.com Small Cap +JEH.F genOway Société anonyme Healthcare Biotechnology France Lyon http://www.genoway.com Small Cap +LYS.PA Lysogene S.A. Healthcare Biotechnology France Neuilly-sur-Seine http://www.lysogene.com Small Cap +MDCLF MedinCell S.A. Healthcare Biotechnology France Jacou http://www.medincell.com Small Cap +MEB.F MedinCell S.A. Healthcare Biotechnology France Jacou http://www.medincell.com Small Cap +MEDCL.PA MedinCell S.A. Healthcare Biotechnology France Jacou http://www.medincell.com Small Cap +NANO.PA Nanobiotix S.A. Healthcare Biotechnology France Paris http://www.nanobiotix.com Small Cap +NBTX Nanobiotix S.A. Healthcare Biotechnology France Paris http://www.nanobiotix.com Small Cap +NICXF Nicox S.A. Healthcare Biotechnology France Valbonne http://www.nicox.com Small Cap +NXOA.F Nicox S.A. Healthcare Biotechnology France Valbonne http://www.nicox.com Small Cap +ONXEO.CO Onxeo SA Healthcare Biotechnology France Paris http://www.onxeo.com Small Cap +OSE.PA OSE Immunotherapeutics SA Healthcare Biotechnology France Nantes http://www.ose-immuno.com Small Cap +P0X.F Pharnext SA Healthcare Biotechnology France Issy-les-Moulineaux http://www.pharnext.com Small Cap +P0X.SG Pharnext SA Healthcare Biotechnology France Issy-les-Moulineaux http://www.pharnext.com Small Cap +PNEXF Pharnext SA Healthcare Biotechnology France Issy-les-Moulineaux http://www.pharnext.com Small Cap +POXEL.PA Poxel S.A. Healthcare Biotechnology France Lyon http://www.poxelpharma.com Small Cap +RFM.F Sensorion SA Healthcare Biotechnology France Montpellier http://www.sensorion.com Small Cap +RFM.SG Sensorion SA Healthcare Biotechnology France Montpellier http://www.sensorion.com Small Cap +SIGHT.PA GenSight Biologics S.A. Healthcare Biotechnology France Paris http://www.gensight-biologics.com Small Cap +TGNA.F Transgene SA Healthcare Biotechnology France Illkirch-Graffenstaden http://www.transgene.fr Small Cap +TNG.PA Transgene SA Healthcare Biotechnology France Illkirch-Graffenstaden http://www.transgene.fr Small Cap +TRGNF Transgene SA Healthcare Biotechnology France Illkirch-Graffenstaden http://www.transgene.fr Small Cap +VLA.PA Valneva SE Healthcare Biotechnology France Saint-Herblain http://valneva.com Small Cap +XUP.F Genfit SA Healthcare Biotechnology France Loos http://www.genfit.com Small Cap +XUP.SG Genfit SA Healthcare Biotechnology France Loos http://www.genfit.com Small Cap +XUPB.MU Genfit SA Healthcare Biotechnology France Loos http://www.genfit.com Small Cap +ZVA.F Cellectis S.A. Healthcare Biotechnology France Paris http://www.cellectis.com Small Cap +ZVAA.F Cellectis S.A. Healthcare Biotechnology France Paris http://www.cellectis.com Small Cap diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_financedatabase_view/test_show_equities[kwargs_dict1-False].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_financedatabase_view/test_show_equities[kwargs_dict1-False].txt index 7143aebb6f7..d970245d54e 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_financedatabase_view/test_show_equities[kwargs_dict1-False].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_financedatabase_view/test_show_equities[kwargs_dict1-False].txt @@ -100,5 +100,5 @@ XUP.F Genfit SA Healthcare Biotechnology France XUP.SG Genfit SA Healthcare Biotechnology France Loos http://www.genfit.com Small Cap XUPB.MU Genfit SA Healthcare Biotechnology France Loos http://www.genfit.com Small Cap ZVA.F Cellectis S.A. Healthcare Biotechnology France Paris http://www.cellectis.com Small Cap -ZVAA.F Cellectis S.A. Healthcare Biotechnology France Paris http://www.cellectis.com Small Cap +ZVAA.F Cellectis S.A. Healthcare Biotechnology France Paris http://www.cellectis.com Small Cap diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_finnhub_view/test_past_ipo[future_ipo].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_finnhub_view/test_past_ipo[future_ipo].txt index 071bde2f35c..71462fa9545 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_finnhub_view/test_past_ipo[future_ipo].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_finnhub_view/test_past_ipo[future_ipo].txt @@ -1,26 +1,13 @@ -╒════════════╤═══════════════╤════════════════════════════════════════════════╤════════════════════╤═════════╤═══════════╤══════════╤══════════════════════╕ -│ Future │ Exchange │ Name │ Number of Shares │ Price │ Status │ symbol │ Total Shares Value │ -╞════════════╪═══════════════╪════════════════════════════════════════════════╪════════════════════╪═════════╪═══════════╪══════════╪══════════════════════╡ -│ 2021-12-02 │ NASDAQ Global │ UTA Acquisition Corp │ 20000000.0 │ 10.00 │ priced │ UTAAU │ 200000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-02 │ NASDAQ Global │ ROC Energy Acquisition Corp. │ 18000000.0 │ 10.00 │ priced │ ROCAU │ 180000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-02 │ NASDAQ Global │ Games & Esports Experience Acquisition Corp. │ 17500000.0 │ 10.00 │ priced │ GEEXU │ 175000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-02 │ │ Atlantic Coastal Acquisition Corp. II │ │ │ filed │ ACABU │ 287500000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-02 │ │ Welsbach Technology Metals Acquisition Corp. │ │ │ filed │ WTMAU │ 86250000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ │ Spark Education Ltd │ │ │ withdrawn │ │ │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ NYSE │ PROOF Acquisition Corp I │ 24000000.0 │ 10.00 │ priced │ PACIU │ 240000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ NASDAQ Global │ Roth CH Acquisition V Co. │ 10000000.0 │ 10.00 │ priced │ ROCLU │ 100000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ NASDAQ Global │ Capitalworks Emerging Markets Acquisition Corp │ 20000000.0 │ 10.00 │ priced │ CMCAU │ 200000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ NASDAQ Global │ TLGY Acquisition Corp │ 20000000.0 │ 10.00 │ priced │ TLGYU │ 200000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ │ AP Acquisition Corp │ │ │ filed │ APCAU │ 172500000.0 │ -╘════════════╧═══════════════╧════════════════════════════════════════════════╧════════════════════╧═════════╧═══════════╧══════════╧══════════════════════╛ + Future Exchange Name Number of Shares Price Status symbol Total Shares Value +0 2021-12-02 NASDAQ Global UTA Acquisition Corp 20000000.0 10.00 priced UTAAU 200000000.0 +1 2021-12-02 NASDAQ Global ROC Energy Acquisition Corp. 18000000.0 10.00 priced ROCAU 180000000.0 +2 2021-12-02 NASDAQ Global Games & Esports Experience Acquisition Corp. 17500000.0 10.00 priced GEEXU 175000000.0 +3 2021-12-02 Atlantic Coastal Acquisition Corp. II filed ACABU 287500000.0 +4 2021-12-02 Welsbach Technology Metals Acquisition Corp. filed WTMAU 86250000.0 +5 2021-12-01 Spark Education Ltd withdrawn +6 2021-12-01 NYSE PROOF Acquisition Corp I 24000000.0 10.00 priced PACIU 240000000.0 +7 2021-12-01 NASDAQ Global Roth CH Acquisition V Co. 10000000.0 10.00 priced ROCLU 100000000.0 +8 2021-12-01 NASDAQ Global Capitalworks Emerging Markets Acquisition Corp 20000000.0 10.00 priced CMCAU 200000000.0 +9 2021-12-01 NASDAQ Global TLGY Acquisition Corp 20000000.0 10.00 priced TLGYU 200000000.0 +10 2021-12-01 AP Acquisition Corp filed APCAU 172500000.0 diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_finnhub_view/test_past_ipo[past_ipo].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_finnhub_view/test_past_ipo[past_ipo].txt index 4d4a164f183..7a7bf034eaa 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_finnhub_view/test_past_ipo[past_ipo].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_finnhub_view/test_past_ipo[past_ipo].txt @@ -1,26 +1,13 @@ -╒════════════╤═══════════════╤════════════════════════════════════════════════╤════════════════════╤═════════╤═══════════╤══════════╤══════════════════════╕ -│ Past │ Exchange │ Name │ Number of Shares │ Price │ Status │ symbol │ Total Shares Value │ -╞════════════╪═══════════════╪════════════════════════════════════════════════╪════════════════════╪═════════╪═══════════╪══════════╪══════════════════════╡ -│ 2021-12-02 │ NASDAQ Global │ UTA Acquisition Corp │ 20000000.0 │ 10.00 │ priced │ UTAAU │ 200000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-02 │ NASDAQ Global │ ROC Energy Acquisition Corp. │ 18000000.0 │ 10.00 │ priced │ ROCAU │ 180000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-02 │ NASDAQ Global │ Games & Esports Experience Acquisition Corp. │ 17500000.0 │ 10.00 │ priced │ GEEXU │ 175000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-02 │ │ Atlantic Coastal Acquisition Corp. II │ │ │ filed │ ACABU │ 287500000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-02 │ │ Welsbach Technology Metals Acquisition Corp. │ │ │ filed │ WTMAU │ 86250000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ │ Spark Education Ltd │ │ │ withdrawn │ │ │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ NYSE │ PROOF Acquisition Corp I │ 24000000.0 │ 10.00 │ priced │ PACIU │ 240000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ NASDAQ Global │ Roth CH Acquisition V Co. │ 10000000.0 │ 10.00 │ priced │ ROCLU │ 100000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ NASDAQ Global │ Capitalworks Emerging Markets Acquisition Corp │ 20000000.0 │ 10.00 │ priced │ CMCAU │ 200000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ NASDAQ Global │ TLGY Acquisition Corp │ 20000000.0 │ 10.00 │ priced │ TLGYU │ 200000000.0 │ -├────────────┼───────────────┼────────────────────────────────────────────────┼────────────────────┼─────────┼───────────┼──────────┼──────────────────────┤ -│ 2021-12-01 │ │ AP Acquisition Corp │ │ │ filed │ APCAU │ 172500000.0 │ -╘════════════╧═══════════════╧════════════════════════════════════════════════╧════════════════════╧═════════╧═══════════╧══════════╧══════════════════════╛ + Past Exchange Name Number of Shares Price Status symbol Total Shares Value +0 2021-12-02 NASDAQ Global UTA Acquisition Corp 20000000.0 10.00 priced UTAAU 200000000.0 +1 2021-12-02 NASDAQ Global ROC Energy Acquisition Corp. 18000000.0 10.00 priced ROCAU 180000000.0 +2 2021-12-02 NASDAQ Global Games & Esports Experience Acquisition Corp. 17500000.0 10.00 priced GEEXU 175000000.0 +3 2021-12-02 Atlantic Coastal Acquisition Corp. II filed ACABU 287500000.0 +4 2021-12-02 Welsbach Technology Metals Acquisition Corp. filed WTMAU 86250000.0 +5 2021-12-01 Spark Education Ltd withdrawn +6 2021-12-01 NYSE PROOF Acquisition Corp I 24000000.0 10.00 priced PACIU 240000000.0 +7 2021-12-01 NASDAQ Global Roth CH Acquisition V Co. 10000000.0 10.00 priced ROCLU 100000000.0 +8 2021-12-01 NASDAQ Global Capitalworks Emerging Markets Acquisition Corp 20000000.0 10.00 priced CMCAU 200000000.0 +9 2021-12-01 NASDAQ Global TLGY Acquisition Corp 20000000.0 10.00 priced TLGYU 200000000.0 +10 2021-12-01 AP Acquisition Corp filed APCAU 172500000.0 diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_seeking_alpha_view/test_upcoming_earning_release_dates.txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_seeking_alpha_view/test_upcoming_earning_release_dates.txt index 7754ddf4142..1ec2637343b 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_seeking_alpha_view/test_upcoming_earning_release_dates.txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_seeking_alpha_view/test_upcoming_earning_release_dates.txt @@ -1,14 +1,5 @@ -╒══════╤═══════════════════════════════════╕ -│ │ Earnings on 2021-12-10 │ -╞══════╪═══════════════════════════════════╡ -│ JOUT │ Johnson Outdoors Inc. │ -├──────┼───────────────────────────────────┤ -│ ASO │ Academy Sports and Outdoors, Inc. │ -╘══════╧═══════════════════════════════════╛ - -╒═══════╤═══════════════════════════════════════╕ -│ │ Earnings on 2021-12-12 │ -╞═══════╪═══════════════════════════════════════╡ -│ GMLPP │ Golar LNG Partners LP 8.75% CUM PFD A │ -╘═══════╧═══════════════════════════════════════╛ - + Name +JOUT Johnson Outdoors Inc. +ASO Academy Sports and Outdoors, Inc. + Name +GMLPP Golar LNG Partners LP 8.75% CUM PFD A diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_shortinterest_view/test_hot_penny_stocks.txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_shortinterest_view/test_hot_penny_stocks.txt index e8ad6c3ae9e..772e38353c9 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_shortinterest_view/test_hot_penny_stocks.txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_shortinterest_view/test_hot_penny_stocks.txt @@ -1,8 +1,3 @@ -╒══════╤═════════╤══════════╤══════════════╤═══════════╤════════════╕ -│ │ Price │ Change │ $ Volume │ Volume │ # Trades │ -╞══════╪═════════╪══════════╪══════════════╪═══════════╪════════════╡ -│ ETHE │ $38.48 │ 6.37% │ $276,587,944 │ 7,227,943 │ 25,269 │ -├──────┼─────────┼──────────┼──────────────┼───────────┼────────────┤ -│ GBTC │ $40.69 │ 4.25% │ $219,189,815 │ 5,406,771 │ 18,667 │ -╘══════╧═════════╧══════════╧══════════════╧═══════════╧════════════╛ - + Price Change $ Volume Volume # Trades +ETHE $38.48 6.37% $276,587,944 7,227,943 25,269 +GBTC $40.69 4.25% $219,189,815 5,406,771 18,667 diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_shortinterest_view/test_low_float.txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_shortinterest_view/test_low_float.txt index 4bb5e417ffb..cbc615988f5 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_shortinterest_view/test_low_float.txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_shortinterest_view/test_low_float.txt @@ -1,8 +1,3 @@ -╒══════════╤═══════════════════════╤════════════╤═════════╤══════════╤════════════╤══════════════════╕ -│ Ticker │ Company │ Exchange │ Float │ Outstd │ ShortInt │ Industry │ -╞══════════╪═══════════════════════╪════════════╪═════════╪══════════╪════════════╪══════════════════╡ -│ DIT │ Amcon Distributing Co │ AMEX │ 130K │ 580K │ 1.53% │ Retail (Grocery) │ -├──────────┼───────────────────────┼────────────┼─────────┼──────────┼────────────┼──────────────────┤ -│ SEB │ Seaboard Corp │ AMEX │ 240K │ 1.16M │ 0.67% │ Fish/Livestock │ -╘══════════╧═══════════════════════╧════════════╧═════════╧══════════╧════════════╧══════════════════╛ - + Ticker Company Exchange Float Outstd ShortInt Industry +1 DIT Amcon Distributing Co AMEX 130K 580K 1.53% Retail (Grocery) +2 SEB Seaboard Corp AMEX 240K 1.16M 0.67% Fish/Livestock diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_active].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_active].txt index 29f6ecad4c5..3ac477458e6 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_active].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_active].txt @@ -1,8 +1,4 @@ -╒══════════╤════════════════════╤════════════════════╤══════════╤════════════╤══════════╤═════════════════════╤══════════════╤══════════════════╕ -│ Symbol │ Name │ Price (Intraday) │ Change │ % Change │ Volume │ Avg Vol (3 month) │ Market Cap │ PE Ratio (TTM) │ -╞══════════╪════════════════════╪════════════════════╪══════════╪════════════╪══════════╪═════════════════════╪══════════════╪══════════════════╡ -│ F │ Ford Motor Company │ 20.96 │ 1.39 │ +7.10% │ 92.959M │ 89.354M │ 83.762B │ 29.4 │ -├──────────┼────────────────────┼────────────────────┼──────────┼────────────┼──────────┼─────────────────────┼──────────────┼──────────────────┤ -│ LCID │ Lucid Group, Inc. │ 37.69 │ 1.17 │ +3.19% │ 79.307M │ 72.438M │ 62.043B │ │ -╘══════════╧════════════════════╧════════════════════╧══════════╧════════════╧══════════╧═════════════════════╧══════════════╧══════════════════╛ + Symbol Name Price (Intraday) Change % Change Volume Avg Vol (3 month) Market Cap PE Ratio (TTM) +0 F Ford Motor Company 20.96 1.39 +7.10% 92.959M 89.354M 83.762B 29.4 +1 LCID Lucid Group, Inc. 37.69 1.17 +3.19% 79.307M 72.438M 62.043B diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_asc].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_asc].txt index 419e6e8d103..1ab36cd77c5 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_asc].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_asc].txt @@ -1,8 +1,4 @@ -╒══════════╤════════════════════════╤════════════════════╤══════════╤════════════╤══════════╤═════════════════════╤══════════════╤══════════════════╕ -│ Symbol │ Name │ Price (Intraday) │ Change │ % Change │ Volume │ Avg Vol (3 month) │ Market Cap │ PE Ratio (TTM) │ -╞══════════╪════════════════════════╪════════════════════╪══════════╪════════════╪══════════╪═════════════════════╪══════════════╪══════════════════╡ -│ RIDE │ Lordstown Motors Corp. │ 4.19 │ -0.02 │ -0.48% │ 2.282M │ 10.106M │ 805.448M │ │ -├──────────┼────────────────────────┼────────────────────┼──────────┼────────────┼──────────┼─────────────────────┼──────────────┼──────────────────┤ -│ BGCP │ BGC Partners, Inc. │ 4.58 │ -0.10 │ -2.03% │ 506011 │ 2.615M │ 1.691B │ 39.87 │ -╘══════════╧════════════════════════╧════════════════════╧══════════╧════════════╧══════════╧═════════════════════╧══════════════╧══════════════════╛ + Symbol Name Price (Intraday) Change % Change Volume Avg Vol (3 month) Market Cap PE Ratio (TTM) +0 RIDE Lordstown Motors Corp. 4.190 -0.020 -0.48% 2.282M 10.106M 805.448M +1 BGCP BGC Partners, Inc. 4.585 -0.095 -2.03% 506011 2.615M 1.691B 39.87 diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_gainers].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_gainers].txt index 778204ae5a8..ea0d7b350de 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_gainers].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_gainers].txt @@ -1,8 +1,4 @@ -╒══════════╤═══════════════════════════════╤════════════════════╤══════════╤════════════╤══════════╤═════════════════════╤══════════════╤══════════════════╕ -│ Symbol │ Name │ Price (Intraday) │ Change │ % Change │ Volume │ Avg Vol (3 month) │ Market Cap │ PE Ratio (TTM) │ -╞══════════╪═══════════════════════════════╪════════════════════╪══════════╪════════════╪══════════╪═════════════════════╪══════════════╪══════════════════╡ -│ ORCL │ Oracle Corporation │ 102.68 │ 13.91 │ +15.66% │ 35.427M │ 10.002M │ 280.682B │ 21.75 │ -├──────────┼───────────────────────────────┼────────────────────┼──────────┼────────────┼──────────┼─────────────────────┼──────────────┼──────────────────┤ -│ EPAY │ Bottomline Technologies, Inc. │ 51.44 │ 6.74 │ +15.08% │ 612218 │ 342098 │ 2.324B │ │ -╘══════════╧═══════════════════════════════╧════════════════════╧══════════╧════════════╧══════════╧═════════════════════╧══════════════╧══════════════════╛ + Symbol Name Price (Intraday) Change % Change Volume Avg Vol (3 month) Market Cap PE Ratio (TTM) +0 ORCL Oracle Corporation 102.68 13.91 +15.66% 35.427M 10.002M 280.682B 21.75 +1 EPAY Bottomline Technologies, Inc. 51.44 6.74 +15.08% 612218 342098 2.324B diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_gtech].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_gtech].txt index f90b0d784a7..bbddab34011 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_gtech].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_gtech].txt @@ -1,8 +1,4 @@ -╒══════════╤═══════════════════════╤════════════════════╤══════════╤════════════╤══════════╤═════════════════════╤══════════════╤══════════════════╕ -│ Symbol │ Name │ Price (Intraday) │ Change │ % Change │ Volume │ Avg Vol (3 month) │ Market Cap │ PE Ratio (TTM) │ -╞══════════╪═══════════════════════╪════════════════════╪══════════╪════════════╪══════════╪═════════════════════╪══════════════╪══════════════════╡ -│ AAPL │ Apple Inc. │ 177.75 │ 3.19 │ +1.83% │ 68.982M │ 84.53M │ 2.916T │ 31.68 │ -├──────────┼───────────────────────┼────────────────────┼──────────┼────────────┼──────────┼─────────────────────┼──────────────┼──────────────────┤ -│ AFRM │ Affirm Holdings, Inc. │ 113.51 │ -5.62 │ -4.72% │ 4.266M │ 14.768M │ 31.897B │ │ -╘══════════╧═══════════════════════╧════════════════════╧══════════╧════════════╧══════════╧═════════════════════╧══════════════╧══════════════════╛ + Symbol Name Price (Intraday) Change % Change Volume Avg Vol (3 month) Market Cap PE Ratio (TTM) +0 AAPL Apple Inc. 177.75 3.19 +1.83% 68.982M 84.53M 2.916T 31.68 +1 AFRM Affirm Holdings, Inc. 113.51 -5.62 -4.72% 4.266M 14.768M 31.897B diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_losers].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_losers].txt index 4c32e8ecc09..2bb91449f94 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_losers].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_losers].txt @@ -1,8 +1,4 @@ -╒══════════╤══════════════════════════════════╤════════════════════╤══════════╤════════════╤══════════╤═════════════════════╤══════════════╤══════════════════╕ -│ Symbol │ Name │ Price (Intraday) │ Change │ % Change │ Volume │ Avg Vol (3 month) │ Market Cap │ PE Ratio (TTM) │ -╞══════════╪══════════════════════════════════╪════════════════════╪══════════╪════════════╪══════════╪═════════════════════╪══════════════╪══════════════════╡ -│ EVBG │ Everbridge, Inc. │ 62.79 │ -52.58 │ -45.58% │ 11.552M │ 434143 │ 2.421B │ │ -├──────────┼──────────────────────────────────┼────────────────────┼──────────┼────────────┼──────────┼─────────────────────┼──────────────┼──────────────────┤ -│ GCPEF │ GCL-Poly Energy Holdings Limited │ 0.31 │ -0.09 │ -22.50% │ 302071 │ 148762 │ 7.769B │ │ -╘══════════╧══════════════════════════════════╧════════════════════╧══════════╧════════════╧══════════╧═════════════════════╧══════════════╧══════════════════╛ + Symbol Name Price (Intraday) Change % Change Volume Avg Vol (3 month) Market Cap PE Ratio (TTM) +0 EVBG Everbridge, Inc. 62.79 -52.58 -45.58% 11.552M 434143 2.421B +1 GCPEF GCL-Poly Energy Holdings Limited 0.31 -0.09 -22.50% 302071 148762 7.769B diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_ugs].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_ugs].txt index 361aacdfd9c..620c1e32dc1 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_ugs].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_ugs].txt @@ -1,8 +1,4 @@ -╒══════════╤═════════════════════════════╤════════════════════╤══════════╤════════════╤══════════╤═════════════════════╤══════════════╤══════════════════╕ -│ Symbol │ Name │ Price (Intraday) │ Change │ % Change │ Volume │ Avg Vol (3 month) │ Market Cap │ PE Ratio (TTM) │ -╞══════════╪═════════════════════════════╪════════════════════╪══════════╪════════════╪══════════╪═════════════════════╪══════════════╪══════════════════╡ -│ BAC │ Bank of America Corporation │ 44.38 │ -0.11 │ -0.24% │ 22.108M │ 46.324M │ 363.25B │ 13.29 │ -├──────────┼─────────────────────────────┼────────────────────┼──────────┼────────────┼──────────┼─────────────────────┼──────────────┼──────────────────┤ -│ PFE │ Pfizer Inc. │ 52.72 │ 0.63 │ +1.22% │ 14.668M │ 34.487M │ 295.882B │ 15.06 │ -╘══════════╧═════════════════════════════╧════════════════════╧══════════╧════════════╧══════════╧═════════════════════╧══════════════╧══════════════════╛ + Symbol Name Price (Intraday) Change % Change Volume Avg Vol (3 month) Market Cap PE Ratio (TTM) +0 BAC Bank of America Corporation 44.38 -0.11 -0.24% 22.108M 46.324M 363.25B 13.29 +1 PFE Pfizer Inc. 52.72 0.63 +1.22% 14.668M 34.487M 295.882B 15.06 diff --git a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_ulc].txt b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_ulc].txt index 48496b35e1f..67825df1e2a 100644 --- a/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_ulc].txt +++ b/tests/gamestonk_terminal/stocks/discovery/txt/test_yahoofinance_view/test_call_func[display_ulc].txt @@ -1,8 +1,4 @@ -╒══════════╤══════════════════════════════════════╤════════════════════╤══════════╤════════════╤══════════╤═════════════════════╤══════════════╤══════════════════╕ -│ Symbol │ Name │ Price (Intraday) │ Change │ % Change │ Volume │ Avg Vol (3 month) │ Market Cap │ PE Ratio (TTM) │ -╞══════════╪══════════════════════════════════════╪════════════════════╪══════════╪════════════╪══════════╪═════════════════════╪══════════════╪══════════════════╡ -│ FCX │ Freeport-McMoRan Inc. │ 38.15 │ -0.32 │ -0.83% │ 6.574M │ 20.704M │ 56.022B │ 14.45 │ -├──────────┼──────────────────────────────────────┼────────────────────┼──────────┼────────────┼──────────┼─────────────────────┼──────────────┼──────────────────┤ -│ PBR │ Petróleo Brasileiro S.A. - Petrobras │ 11.22 │ 0.02 │ +0.13% │ 8.534M │ 29.268M │ 73.145B │ 3.00 │ -╘══════════╧══════════════════════════════════════╧════════════════════╧══════════╧════════════╧══════════╧═════════════════════╧══════════════╧══════════════════╛ + Symbol Name Price (Intraday) Change % Change Volume Avg Vol (3 month) Market Cap PE Ratio (TTM) +0 FCX Freeport-McMoRan Inc. 38.15 -0.32 -0.83% 6.574M 20.704M 56.022B 14.45 +1 PBR Petróleo Brasileiro S.A. - Petrobras 11.22 0.02 +0.13% 8.534M 29.268M 73.145B 3.00 diff --git a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_ark_view/test_display_ark_trades_default.txt b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_ark_view/test_display_ark_trades_default.txt index c485041c7de..28a3ae82ac1 100644 --- a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_ark_view/test_display_ark_trades_default.txt +++ b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_ark_view/test_display_ark_trades_default.txt @@ -1,44 +1,23 @@ -╒════════════╤══════════╤══════════╤════════╤═════════════╤═════════════╤═══════════════╕ -│ │ shares │ weight │ fund │ direction │ Close ($) │ Total ($1M) │ -╞════════════╪══════════╪══════════╪════════╪═════════════╪═════════════╪═══════════════╡ -│ 2020-08-24 │ 87142 │ 0.4590 │ ARKQ │ Sell │ 402.84 │ 35.10 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-08-24 │ 118124 │ 0.5760 │ ARKW │ Sell │ 402.84 │ 47.59 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-08-25 │ 556449 │ 0.2440 │ ARKW │ Sell │ 404.67 │ 225.18 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-08-25 │ 313849 │ 0.1490 │ ARKQ │ Sell │ 404.67 │ 127.00 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-08-26 │ 63442 │ 0.1090 │ ARKW │ Sell │ 430.63 │ 27.32 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-08-27 │ 29961 │ 0.1930 │ ARKW │ Sell │ 447.75 │ 13.42 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-08-28 │ 62803 │ 0.1080 │ ARKW │ Sell │ 442.68 │ 27.80 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-08-31 │ 137099 │ 0.2150 │ ARKK │ Sell │ 498.32 │ 68.32 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-08-31 │ 317850 │ 0.4250 │ ARKQ │ Sell │ 498.32 │ 158.39 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-09-08 │ 215593 │ 0.8100 │ ARKQ │ Buy │ 330.21 │ 71.19 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-09-08 │ 227284 │ 0.8400 │ ARKK │ Buy │ 330.21 │ 75.05 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-09-08 │ 211755 │ 0.8000 │ ARKW │ Buy │ 330.21 │ 69.92 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-09-18 │ 85200 │ 0.4400 │ ARKK │ Sell │ 442.15 │ 37.67 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-09-23 │ 142166 │ 0.6770 │ ARKK │ Buy │ 380.36 │ 54.07 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-09-24 │ 55063 │ 0.2396 │ ARKK │ Buy │ 387.79 │ 21.35 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-09-24 │ 19794 │ 0.3054 │ ARKW │ Buy │ 387.79 │ 7.68 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-10-15 │ 26388 │ 0.3963 │ ARKW │ Sell │ 448.88 │ 11.85 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-11-03 │ 43406 │ 0.6339 │ ARKW │ Sell │ 423.90 │ 18.40 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-11-03 │ 152802 │ 0.6503 │ ARKK │ Sell │ 423.90 │ 64.77 │ -├────────────┼──────────┼──────────┼────────┼─────────────┼─────────────┼───────────────┤ -│ 2020-11-16 │ 10926 │ 0.4944 │ ARKQ │ Buy │ 408.09 │ 4.46 │ -╘════════════╧══════════╧══════════╧════════╧═════════════╧═════════════╧═══════════════╛ + shares weight fund direction Close ($) Total ($1M) +Date +2020-08-24 87142 0.4590 ARKQ Sell 402.839996 35.104283 +2020-08-24 118124 0.5760 ARKW Sell 402.839996 47.585072 +2020-08-25 556449 0.2440 ARKW Sell 404.667999 225.177104 +2020-08-25 313849 0.1490 ARKQ Sell 404.667999 127.004647 +2020-08-26 63442 0.1090 ARKW Sell 430.634003 27.320282 +2020-08-27 29961 0.1930 ARKW Sell 447.750000 13.415038 +2020-08-28 62803 0.1080 ARKW Sell 442.679993 27.801632 +2020-08-31 137099 0.2150 ARKK Sell 498.320007 68.319175 +2020-08-31 317850 0.4250 ARKQ Sell 498.320007 158.391014 +2020-09-08 215593 0.8100 ARKQ Buy 330.209991 71.190963 +2020-09-08 227284 0.8400 ARKK Buy 330.209991 75.051448 +2020-09-08 211755 0.8000 ARKW Buy 330.209991 69.923617 +2020-09-18 85200 0.4400 ARKK Sell 442.149994 37.671179 +2020-09-23 142166 0.6770 ARKK Buy 380.359985 54.074258 +2020-09-24 55063 0.2396 ARKK Buy 387.790009 21.352881 +2020-09-24 19794 0.3054 ARKW Buy 387.790009 7.675915 +2020-10-15 26388 0.3963 ARKW Sell 448.880005 11.845046 +2020-11-03 43406 0.6339 ARKW Sell 423.899994 18.399803 +2020-11-03 152802 0.6503 ARKK Sell 423.899994 64.772767 +2020-11-16 10926 0.4944 ARKQ Buy 408.089996 4.458791 diff --git a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_business_insider_view/test_estimates.txt b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_business_insider_view/test_estimates.txt index fd48710c288..acd781739c6 100644 --- a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_business_insider_view/test_estimates.txt +++ b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_business_insider_view/test_estimates.txt @@ -1,86 +1,46 @@ -╒════════════════════════════════╤═════════╤═════════╤═════════╤═════════╕ -│ │ 2022 │ 2023 │ 2024 │ 2025 │ -╞════════════════════════════════╪═════════╪═════════╪═════════╪═════════╡ -│ Revenue │ 75,854 │ 93,809 │ 116,659 │ 122,942 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Dividend │ 0.00 │ 0.00 │ 0.00 │ 0.00 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Dividend Yield (in %) │ - │ - │ - │ - │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ EPS │ 9.16 │ 12.12 │ 14.70 │ 19.69 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ P/E Ratio │ 105.78 │ 87.71 │ 77.90 │ 63.50 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ EBIT │ 10,583 │ 15,806 │ 20,277 │ 24,557 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ EBITDA │ 16,503 │ 22,009 │ 28,597 │ 36,733 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Net Profit │ 10,227 │ 14,083 │ 17,381 │ 20,803 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Net Profit Adjusted │ 10,510 │ 14,255 │ 17,381 │ 21,181 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Pre-Tax Profit │ 8,921 │ 12,420 │ 15,211 │ 17,881 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Net Profit (Adjusted) │ 7,978 │ 10,877 │ 15,353 │ 20,649 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ EPS (Non-GAAP) ex. SOE │ 9.16 │ 12.12 │ 14.70 │ 19.69 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ EPS (GAAP) │ 7.58 │ 10.56 │ 13.34 │ 17.09 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Gross Income │ 19,064 │ 24,957 │ 30,570 │ 35,617 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Cash Flow from Investing │ -6,767 │ -6,527 │ -7,838 │ -8,093 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Cash Flow from Operations │ 13,683 │ 16,594 │ 20,155 │ 22,221 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Cash Flow from Financing │ 226 │ 400 │ 0 │ 0 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Cash Flow per Share │ 12.23 │ 16.70 │ 21.06 │ 25.72 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Free Cash Flow │ 7,424 │ 8,864 │ 11,634 │ 12,858 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Free Cash Flow per Share │ - │ - │ 13.85 │ 16.20 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Book Value per Share │ 37.92 │ 49.29 │ 60.58 │ 78.42 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Net Debt │ -16,189 │ -26,072 │ -34,494 │ -50,273 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Research & Development Exp. │ 3,100 │ 3,546 │ 3,529 │ 3,964 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Capital Expenditure │ 6,595 │ 6,701 │ 7,088 │ 7,160 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Selling, General & Admin. Exp. │ 5,095 │ 5,903 │ 5,936 │ 6,425 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Shareholder’s Equity │ 40,775 │ 52,339 │ 67,421 │ 79,481 │ -├────────────────────────────────┼─────────┼─────────┼─────────┼─────────┤ -│ Total Assets │ 76,319 │ 90,201 │ 101,688 │ 109,156 │ -╘════════════════════════════════╧═════════╧═════════╧═════════╧═════════╛ + 2022 2023 2024 2025 +YEARLY ESTIMATES +Revenue 75,854 93,809 116,659 122,942 +Dividend 0.00 0.00 0.00 0.00 +Dividend Yield (in %) - - - - +EPS 9.16 12.12 14.70 19.69 +P/E Ratio 105.78 87.71 77.90 63.50 +EBIT 10,583 15,806 20,277 24,557 +EBITDA 16,503 22,009 28,597 36,733 +Net Profit 10,227 14,083 17,381 20,803 +Net Profit Adjusted 10,510 14,255 17,381 21,181 +Pre-Tax Profit 8,921 12,420 15,211 17,881 +Net Profit (Adjusted) 7,978 10,877 15,353 20,649 +EPS (Non-GAAP) ex. SOE 9.16 12.12 14.70 19.69 +EPS (GAAP) 7.58 10.56 13.34 17.09 +Gross Income 19,064 24,957 30,570 35,617 +Cash Flow from Investing -6,767 -6,527 -7,838 -8,093 +Cash Flow from Operations 13,683 16,594 20,155 22,221 +Cash Flow from Financing 226 400 0 0 +Cash Flow per Share 12.23 16.70 21.06 25.72 +Free Cash Flow 7,424 8,864 11,634 12,858 +Free Cash Flow per Share - - 13.85 16.20 +Book Value per Share 37.92 49.29 60.58 78.42 +Net Debt -16,189 -26,072 -34,494 -50,273 +Research & Development Exp. 3,100 3,546 3,529 3,964 +Capital Expenditure 6,595 6,701 7,088 7,160 +Selling, General & Admin. Exp. 5,095 5,903 5,936 6,425 +Shareholder’s Equity 40,775 52,339 67,421 79,481 +Total Assets 76,319 90,201 101,688 109,156 -╒══════════════════╤════════════════════╤═══════════════════╤═════════════════╤═════════════════╤═════════════════╕ -│ │ Previous Quarter │ Current Quarter │ Next Quarter │ Current Year │ Next Year │ -╞══════════════════╪════════════════════╪═══════════════════╪═════════════════╪═════════════════╪═════════════════╡ -│ Date │ ending 12/31/21 │ ending 03/31/22 │ ending 06/30/22 │ ending 12/31/22 │ ending 12/31/23 │ -├──────────────────┼────────────────────┼───────────────────┼─────────────────┼─────────────────┼─────────────────┤ -│ No. of Analysts │ 29 │ 17 │ 16 │ 35 │ 25 │ -├──────────────────┼────────────────────┼───────────────────┼─────────────────┼─────────────────┼─────────────────┤ -│ Average Estimate │ 2.129 USD │ 2.018 USD │ 2.272 USD │ 9.160 USD │ 12.118 USD │ -├──────────────────┼────────────────────┼───────────────────┼─────────────────┼─────────────────┼─────────────────┤ -│ Year Ago │ 0.800 USD │ 0.930 USD │ 1.450 USD │ - │ 9.160 USD │ -├──────────────────┼────────────────────┼───────────────────┼─────────────────┼─────────────────┼─────────────────┤ -│ Publish Date │ 1/27/2022 │ 5/4/2022 │ 7/27/2022 │ - │ - │ -╘══════════════════╧════════════════════╧═══════════════════╧═════════════════╧═════════════════╧═════════════════╛ + Previous Quarter Current Quarter Next Quarter Current Year Next Year +QUARTER EARNINGS ESTIMATES +Date ending 12/31/21 ending 03/31/22 ending 06/30/22 ending 12/31/22 ending 12/31/23 +No. of Analysts 29 17 16 35 25 +Average Estimate 2.129 USD 2.018 USD 2.272 USD 9.160 USD 12.118 USD +Year Ago 0.800 USD 0.930 USD 1.450 USD - 9.160 USD +Publish Date 1/27/2022 5/4/2022 7/27/2022 - - -╒══════════════════╤════════════════════╤═══════════════════╤═════════════════╤═════════════════╤═════════════════╕ -│ │ Previous Quarter │ Current Quarter │ Next Quarter │ Current Year │ Next Year │ -╞══════════════════╪════════════════════╪═══════════════════╪═════════════════╪═════════════════╪═════════════════╡ -│ Date │ ending 12/31/21 │ ending 03/31/22 │ ending 06/30/22 │ ending 12/31/22 │ ending 12/31/23 │ -├──────────────────┼────────────────────┼───────────────────┼─────────────────┼─────────────────┼─────────────────┤ -│ No. of Analysts │ 15 │ 9 │ 8 │ 21 │ 14 │ -├──────────────────┼────────────────────┼───────────────────┼─────────────────┼─────────────────┼─────────────────┤ -│ Average Estimate │ 16,233 USD │ 17,482 USD │ 19,541 USD │ 75,854 USD │ 93,809 USD │ -├──────────────────┼────────────────────┼───────────────────┼─────────────────┼─────────────────┼─────────────────┤ -│ Year Ago │ 10,744 USD │ 10,389 USD │ 11,958 USD │ - │ 75,854 USD │ -├──────────────────┼────────────────────┼───────────────────┼─────────────────┼─────────────────┼─────────────────┤ -│ Publish Date │ 1/27/2022 │ 5/4/2022 │ 7/27/2022 │ - │ - │ -╘══════════════════╧════════════════════╧═══════════════════╧═════════════════╧═════════════════╧═════════════════╛ + Previous Quarter Current Quarter Next Quarter Current Year Next Year +QUARTER REVENUES ESTIMATES +Date ending 12/31/21 ending 03/31/22 ending 06/30/22 ending 12/31/22 ending 12/31/23 +No. of Analysts 15 9 8 21 14 +Average Estimate 16,233 USD 17,482 USD 19,541 USD 75,854 USD 93,809 USD +Year Ago 10,744 USD 10,389 USD 11,958 USD - 75,854 USD +Publish Date 1/27/2022 5/4/2022 7/27/2022 - - diff --git a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_business_insider_view/test_price_target_from_analysts_raw.txt b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_business_insider_view/test_price_target_from_analysts_raw.txt index 05a53a602cc..c5e189e1e86 100644 --- a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_business_insider_view/test_price_target_from_analysts_raw.txt +++ b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_business_insider_view/test_price_target_from_analysts_raw.txt @@ -1,194 +1,98 @@ -╒════════════╤════════════════════════════════╤══════════╤════════════════╕ -│ │ Company │ Rating │ Price Target │ -╞════════════╪════════════════════════════════╪══════════╪════════════════╡ -│ 2022-01-05 │ Mizuho │ BUY │ 1300.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2022-01-03 │ J.P. Morgan │ SELL │ 295.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2022-01-03 │ Deutsche Bank │ BUY │ 1200.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-12-31 │ Deutsche Bank │ BUY │ 1200.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-12-28 │ Argus Research Company │ BUY │ 1313.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-12-08 │ New Street Research │ BUY │ 1580.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-12-07 │ UBS │ HOLD │ 1000.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-11-19 │ Wedbush Morgan Securities Inc. │ BUY │ 1400.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-10-28 │ Piper Sandler │ BUY │ 1300.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-10-27 │ Goldman Sachs │ BUY │ 1125.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-10-21 │ Mizuho │ BUY │ 950.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-10-21 │ ROTH Capital Partners, LLC │ HOLD │ 250.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-10-21 │ Capital Depesche │ BUY │ 1040.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-10-21 │ Wedbush Morgan Securities Inc. │ BUY │ 1100.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-10-21 │ Credit Suisse │ HOLD │ 830.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-10-21 │ Wells Fargo & Co │ HOLD │ 860.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-10-14 │ Barclays Capital │ SELL │ 300.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-10-08 │ Capital Depesche │ BUY │ 940.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-09-23 │ Tudor Pickering │ SELL │ 537.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-07-27 │ Wells Fargo & Co │ HOLD │ 660.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-07-27 │ Goldman Sachs │ BUY │ 875.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-07-27 │ Capital Depesche │ BUY │ 768.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-07-27 │ Mizuho │ BUY │ 825.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-07-07 │ J.P. Morgan │ SELL │ 160.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-06-29 │ UBS │ HOLD │ 660.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-06-14 │ Capital Depesche │ BUY │ 812.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-05-24 │ Wells Fargo & Co │ HOLD │ 590.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-04-27 │ Goldman Sachs │ BUY │ 860.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-04-27 │ Credit Suisse │ HOLD │ 800.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-04-27 │ Capital Depesche │ BUY │ 974.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-04-23 │ Morgan Stanley │ BUY │ 900.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-04-20 │ Mizuho │ BUY │ 820.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-04-12 │ Capital Depesche │ BUY │ 1071.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-04-05 │ Wedbush Morgan Securities Inc. │ BUY │ 1000.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-04-05 │ J.P. Morgan │ SELL │ 155.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-03-11 │ Mizuho │ BUY │ 775.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-03-09 │ New Street │ BUY │ 900.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-02-02 │ Morgan Stanley │ BUY │ 880.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-02-01 │ Piper Sandler │ BUY │ 1200.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-28 │ Credit Suisse │ HOLD │ 800.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-28 │ ROTH Capital Partners, LLC │ HOLD │ 150.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-28 │ Deutsche Bank │ BUY │ 900.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-28 │ J.P. Morgan │ SELL │ 135.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-25 │ Baird Patrick & Co │ BUY │ 728.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-22 │ J.P. Morgan │ SELL │ 125.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-20 │ Oppenheimer & Co. Inc. │ BUY │ 1036.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-15 │ Wedbush Morgan Securities Inc. │ HOLD │ 950.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-11 │ Credit Suisse │ HOLD │ 800.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-08 │ Evercore │ HOLD │ 650.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-07 │ RBC Capital Markets │ HOLD │ 700.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-06 │ Morgan Stanley │ BUY │ 810.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-05 │ Exane BNP Paribas │ SELL │ 340.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2021-01-04 │ J.P. Morgan │ SELL │ 105.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-12-19 │ CFRA │ HOLD │ 750.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-12-10 │ New Street │ HOLD │ 578.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-12-09 │ J.P. Morgan │ SELL │ 90.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-11-23 │ Wedbush Morgan Securities Inc. │ HOLD │ 560.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-11-18 │ Morgan Stanley │ BUY │ 540.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-11-17 │ Bank of America Merrill Lynch │ HOLD │ 500.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-10-27 │ Citigroup Corp. │ SELL │ 137.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-10-23 │ Morgan Stanley │ HOLD │ 360.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-10-22 │ Capital Depesche │ HOLD │ 419.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-10-22 │ JMP Securities LLC │ BUY │ 516.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-10-22 │ Baird Patrick & Co │ BUY │ 488.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-10-19 │ Wedbush Morgan Securities Inc. │ HOLD │ 500.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-10-16 │ Morgan Stanley │ HOLD │ 333.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-10-14 │ Goldman Sachs │ HOLD │ 450.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-10-13 │ Citigroup Corp. │ SELL │ 117.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-10-08 │ New Street │ BUY │ 578.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-09-23 │ Deutsche Bank │ BUY │ 500.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-09-23 │ Baird Patrick & Co │ HOLD │ 360.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-09-23 │ Capital Depesche │ HOLD │ 377.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-09-18 │ Piper Sandler │ BUY │ 515.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-09-18 │ Wedbush Morgan Securities Inc. │ HOLD │ 475.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-09-16 │ Deutsche Bank │ HOLD │ 400.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-09-16 │ Credit Suisse │ HOLD │ 400.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-09-11 │ UBS │ HOLD │ 325.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-09-04 │ Oppenheimer & Co. Inc. │ BUY │ 451.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-09-02 │ Bank of America Merrill Lynch │ HOLD │ 550.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-08-31 │ Argus Research Company │ BUY │ 566.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-08-31 │ Wedbush Morgan Securities Inc. │ HOLD │ 380.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-08-17 │ Wedbush Morgan Securities Inc. │ HOLD │ 1900.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-08-14 │ Morgan Stanley │ HOLD │ 1360.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-08-14 │ Bank of America Merrill Lynch │ HOLD │ 1750.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-08-04 │ Citigroup Corp. │ SELL │ 550.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-07-29 │ Morgan Stanley │ SELL │ 1050.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-07-28 │ Bernstein │ SELL │ 900.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-07-24 │ Argus Research Company │ BUY │ 1888.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-07-24 │ Daiwa Securities │ HOLD │ 1650.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-07-23 │ Deutsche Bank │ HOLD │ 1500.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-07-23 │ Oppenheimer & Co. Inc. │ BUY │ 2209.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-07-23 │ Piper Sandler │ BUY │ 2400.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-07-23 │ Goldman Sachs │ HOLD │ 1475.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-07-23 │ Capital Depesche │ HOLD │ 1623.00 │ -├────────────┼────────────────────────────────┼──────────┼────────────────┤ -│ 2020-07-23 │ RBC Capital Markets │ SELL │ 850.00 │ -╘════════════╧════════════════════════════════╧══════════╧════════════════╛ + Company Rating Price Target +Date +2022-01-05 Mizuho BUY 1300.0 +2022-01-03 J.P. Morgan SELL 295.0 +2022-01-03 Deutsche Bank BUY 1200.0 +2021-12-31 Deutsche Bank BUY 1200.0 +2021-12-28 Argus Research Company BUY 1313.0 +2021-12-08 New Street Research BUY 1580.0 +2021-12-07 UBS HOLD 1000.0 +2021-11-19 Wedbush Morgan Securities Inc. BUY 1400.0 +2021-10-28 Piper Sandler BUY 1300.0 +2021-10-27 Goldman Sachs BUY 1125.0 +2021-10-21 Mizuho BUY 950.0 +2021-10-21 ROTH Capital Partners, LLC HOLD 250.0 +2021-10-21 Capital Depesche BUY 1040.0 +2021-10-21 Wedbush Morgan Securities Inc. BUY 1100.0 +2021-10-21 Credit Suisse HOLD 830.0 +2021-10-21 Wells Fargo & Co HOLD 860.0 +2021-10-14 Barclays Capital SELL 300.0 +2021-10-08 Capital Depesche BUY 940.0 +2021-09-23 Tudor Pickering SELL 537.0 +2021-07-27 Wells Fargo & Co HOLD 660.0 +2021-07-27 Goldman Sachs BUY 875.0 +2021-07-27 Capital Depesche BUY 768.0 +2021-07-27 Mizuho BUY 825.0 +2021-07-07 J.P. Morgan SELL 160.0 +2021-06-29 UBS HOLD 660.0 +2021-06-14 Capital Depesche BUY 812.0 +2021-05-24 Wells Fargo & Co HOLD 590.0 +2021-04-27 Goldman Sachs BUY 860.0 +2021-04-27 Credit Suisse HOLD 800.0 +2021-04-27 Capital Depesche BUY 974.0 +2021-04-23 Morgan Stanley BUY 900.0 +2021-04-20 Mizuho BUY 820.0 +2021-04-12 Capital Depesche BUY 1071.0 +2021-04-05 Wedbush Morgan Securities Inc. BUY 1000.0 +2021-04-05 J.P. Morgan SELL 155.0 +2021-03-11 Mizuho BUY 775.0 +2021-03-09 New Street BUY 900.0 +2021-02-02 Morgan Stanley BUY 880.0 +2021-02-01 Piper Sandler BUY 1200.0 +2021-01-28 Credit Suisse HOLD 800.0 +2021-01-28 ROTH Capital Partners, LLC HOLD 150.0 +2021-01-28 Deutsche Bank BUY 900.0 +2021-01-28 J.P. Morgan SELL 135.0 +2021-01-25 Baird Patrick & Co BUY 728.0 +2021-01-22 J.P. Morgan SELL 125.0 +2021-01-20 Oppenheimer & Co. Inc. BUY 1036.0 +2021-01-15 Wedbush Morgan Securities Inc. HOLD 950.0 +2021-01-11 Credit Suisse HOLD 800.0 +2021-01-08 Evercore HOLD 650.0 +2021-01-07 RBC Capital Markets HOLD 700.0 +2021-01-06 Morgan Stanley BUY 810.0 +2021-01-05 Exane BNP Paribas SELL 340.0 +2021-01-04 J.P. Morgan SELL 105.0 +2020-12-19 CFRA HOLD 750.0 +2020-12-10 New Street HOLD 578.0 +2020-12-09 J.P. Morgan SELL 90.0 +2020-11-23 Wedbush Morgan Securities Inc. HOLD 560.0 +2020-11-18 Morgan Stanley BUY 540.0 +2020-11-17 Bank of America Merrill Lynch HOLD 500.0 +2020-10-27 Citigroup Corp. SELL 137.0 +2020-10-23 Morgan Stanley HOLD 360.0 +2020-10-22 Capital Depesche HOLD 419.0 +2020-10-22 JMP Securities LLC BUY 516.0 +2020-10-22 Baird Patrick & Co BUY 488.0 +2020-10-19 Wedbush Morgan Securities Inc. HOLD 500.0 +2020-10-16 Morgan Stanley HOLD 333.0 +2020-10-14 Goldman Sachs HOLD 450.0 +2020-10-13 Citigroup Corp. SELL 117.0 +2020-10-08 New Street BUY 578.0 +2020-09-23 Deutsche Bank BUY 500.0 +2020-09-23 Baird Patrick & Co HOLD 360.0 +2020-09-23 Capital Depesche HOLD 377.0 +2020-09-18 Piper Sandler BUY 515.0 +2020-09-18 Wedbush Morgan Securities Inc. HOLD 475.0 +2020-09-16 Deutsche Bank HOLD 400.0 +2020-09-16 Credit Suisse HOLD 400.0 +2020-09-11 UBS HOLD 325.0 +2020-09-04 Oppenheimer & Co. Inc. BUY 451.0 +2020-09-02 Bank of America Merrill Lynch HOLD 550.0 +2020-08-31 Argus Research Company BUY 566.0 +2020-08-31 Wedbush Morgan Securities Inc. HOLD 380.0 +2020-08-17 Wedbush Morgan Securities Inc. HOLD 1900.0 +2020-08-14 Morgan Stanley HOLD 1360.0 +2020-08-14 Bank of America Merrill Lynch HOLD 1750.0 +2020-08-04 Citigroup Corp. SELL 550.0 +2020-07-29 Morgan Stanley SELL 1050.0 +2020-07-28 Bernstein SELL 900.0 +2020-07-24 Argus Research Company BUY 1888.0 +2020-07-24 Daiwa Securities HOLD 1650.0 +2020-07-23 Deutsche Bank HOLD 1500.0 +2020-07-23 Oppenheimer & Co. Inc. BUY 2209.0 +2020-07-23 Piper Sandler BUY 2400.0 +2020-07-23 Goldman Sachs HOLD 1475.0 +2020-07-23 Capital Depesche HOLD 1623.0 +2020-07-23 RBC Capital Markets SELL 850.0 diff --git a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_finnhub_view/test_rating_over_time.txt b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_finnhub_view/test_rating_over_time.txt index 90a4f6cacf2..4bf1e4ad500 100644 --- a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_finnhub_view/test_rating_over_time.txt +++ b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_finnhub_view/test_rating_over_time.txt @@ -1,24 +1,12 @@ -╒════════════╤═══════════════╤════════╤════════╤═══════╤══════════════╕ -│ period │ Strong Sell │ Sell │ Hold │ Buy │ Strong Buy │ -╞════════════╪═══════════════╪════════╪════════╪═══════╪══════════════╡ -│ 2021-11-01 │ 4 │ 6 │ 13 │ 10 │ 13 │ -├────────────┼───────────────┼────────┼────────┼───────┼──────────────┤ -│ 2021-10-01 │ 4 │ 6 │ 14 │ 9 │ 13 │ -├────────────┼───────────────┼────────┼────────┼───────┼──────────────┤ -│ 2021-09-01 │ 3 │ 5 │ 14 │ 9 │ 13 │ -├────────────┼───────────────┼────────┼────────┼───────┼──────────────┤ -│ 2021-08-01 │ 3 │ 5 │ 16 │ 9 │ 11 │ -├────────────┼───────────────┼────────┼────────┼───────┼──────────────┤ -│ 2021-07-01 │ 4 │ 5 │ 15 │ 9 │ 10 │ -├────────────┼───────────────┼────────┼────────┼───────┼──────────────┤ -│ 2021-06-01 │ 4 │ 6 │ 14 │ 9 │ 10 │ -├────────────┼───────────────┼────────┼────────┼───────┼──────────────┤ -│ 2021-05-01 │ 4 │ 7 │ 13 │ 8 │ 11 │ -├────────────┼───────────────┼────────┼────────┼───────┼──────────────┤ -│ 2021-04-01 │ 4 │ 6 │ 15 │ 8 │ 9 │ -├────────────┼───────────────┼────────┼────────┼───────┼──────────────┤ -│ 2021-03-01 │ 4 │ 6 │ 14 │ 8 │ 9 │ -├────────────┼───────────────┼────────┼────────┼───────┼──────────────┤ -│ 2021-02-01 │ 4 │ 6 │ 15 │ 7 │ 9 │ -╘════════════╧═══════════════╧════════╧════════╧═══════╧══════════════╛ + period Strong Sell Sell Hold Buy Strong Buy +0 2021-11-01 4 6 13 10 13 +1 2021-10-01 4 6 14 9 13 +2 2021-09-01 3 5 14 9 13 +3 2021-08-01 3 5 16 9 11 +4 2021-07-01 4 5 15 9 10 +5 2021-06-01 4 6 14 9 10 +6 2021-05-01 4 7 13 8 11 +7 2021-04-01 4 6 15 8 9 +8 2021-03-01 4 6 14 8 9 +9 2021-02-01 4 6 15 7 9 diff --git a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_finviz_view/test_analyst.txt b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_finviz_view/test_analyst.txt index 47676100212..68bd4faa5e3 100644 --- a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_finviz_view/test_analyst.txt +++ b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_finviz_view/test_analyst.txt @@ -1,14 +1,8 @@ -╒════════════╤═════════════════════════════╤═════════════════╤══════════════╤═══════════════╤═════════════╕ -│ │ category │ analyst │ rating │ target_from │ target_to │ -╞════════════╪═════════════════════════════╪═════════════════╪══════════════╪═══════════════╪═════════════╡ -│ 2021-11-08 │ [yellow]Reiterated[/yellow] │ Jefferies │ Buy │ 950.00 │ 1400.00 │ -├────────────┼─────────────────────────────┼─────────────────┼──────────────┼───────────────┼─────────────┤ -│ 2021-10-25 │ [yellow]Reiterated[/yellow] │ Morgan Stanley │ Overweight │ 900.00 │ 1200.00 │ -├────────────┼─────────────────────────────┼─────────────────┼──────────────┼───────────────┼─────────────┤ -│ 2021-10-21 │ [yellow]Reiterated[/yellow] │ Wells Fargo │ Equal Weight │ 660.00 │ 860.00 │ -├────────────┼─────────────────────────────┼─────────────────┼──────────────┼───────────────┼─────────────┤ -│ 2021-10-21 │ [yellow]Reiterated[/yellow] │ Wedbush │ Outperform │ 1000.00 │ 1100.00 │ -├────────────┼─────────────────────────────┼─────────────────┼──────────────┼───────────────┼─────────────┤ -│ 2021-10-21 │ [yellow]Reiterated[/yellow] │ Robert W. Baird │ Outperform │ 764.00 │ 888.00 │ -╘════════════╧═════════════════════════════╧═════════════════╧══════════════╧═══════════════╧═════════════╛ + category analyst rating target_from target_to +date +2021-11-08 [yellow]Reiterated[/yellow] Jefferies Buy 950.0 1400.0 +2021-10-25 [yellow]Reiterated[/yellow] Morgan Stanley Overweight 900.0 1200.0 +2021-10-21 [yellow]Reiterated[/yellow] Wells Fargo Equal Weight 660.0 860.0 +2021-10-21 [yellow]Reiterated[/yellow] Wedbush Outperform 1000.0 1100.0 +2021-10-21 [yellow]Reiterated[/yellow] Robert W. Baird Outperform 764.0 888.0 diff --git a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_fmp_view/test_rating.txt b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_fmp_view/test_rating.txt index 0e4f0628dff..f4438803260 100644 --- a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_fmp_view/test_rating.txt +++ b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_fmp_view/test_rating.txt @@ -1,14 +1,8 @@ -╒════════════╤════════════╤════════════╤═════════╤═════════╤══════╤════════════╤════════════╕ -│ │ Rating │ DCF │ ROE │ ROA │ DE │ PE │ PB │ -╞════════════╪════════════╪════════════╪═════════╪═════════╪══════╪════════════╪════════════╡ -│ 2021-11-16 │ Strong Buy │ Strong Buy │ Neutral │ Neutral │ Buy │ Strong Buy │ Strong Buy │ -├────────────┼────────────┼────────────┼─────────┼─────────┼──────┼────────────┼────────────┤ -│ 2021-11-15 │ Strong Buy │ Strong Buy │ Neutral │ Neutral │ Buy │ Strong Buy │ Strong Buy │ -├────────────┼────────────┼────────────┼─────────┼─────────┼──────┼────────────┼────────────┤ -│ 2021-11-12 │ Strong Buy │ Strong Buy │ Neutral │ Neutral │ Buy │ Strong Buy │ Strong Buy │ -├────────────┼────────────┼────────────┼─────────┼─────────┼──────┼────────────┼────────────┤ -│ 2021-11-11 │ Strong Buy │ Strong Buy │ Neutral │ Neutral │ Buy │ Strong Buy │ Strong Buy │ -├────────────┼────────────┼────────────┼─────────┼─────────┼──────┼────────────┼────────────┤ -│ 2021-11-10 │ Strong Buy │ Strong Buy │ Neutral │ Neutral │ Buy │ Strong Buy │ Strong Buy │ -╘════════════╧════════════╧════════════╧═════════╧═════════╧══════╧════════════╧════════════╛ + ratingRecommendation ratingDetailsDCFRecommendation ratingDetailsROERecommendation ratingDetailsROARecommendation ratingDetailsDERecommendation ratingDetailsPERecommendation ratingDetailsPBRecommendation +date +2021-11-16 Strong Buy Strong Buy Neutral Neutral Buy Strong Buy Strong Buy +2021-11-15 Strong Buy Strong Buy Neutral Neutral Buy Strong Buy Strong Buy +2021-11-12 Strong Buy Strong Buy Neutral Neutral Buy Strong Buy Strong Buy +2021-11-11 Strong Buy Strong Buy Neutral Neutral Buy Strong Buy Strong Buy +2021-11-10 Strong Buy Strong Buy Neutral Neutral Buy Strong Buy Strong Buy diff --git a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_marketwatch_view/test_analyst.txt b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_marketwatch_view/test_analyst.txt index 863e04b7f26..7a9929320c4 100644 --- a/tests/gamestonk_terminal/stocks/due_diligence/txt/test_marketwatch_view/test_analyst.txt +++ b/tests/gamestonk_terminal/stocks/due_diligence/txt/test_marketwatch_view/test_analyst.txt @@ -1,14 +1,8 @@ -╒════════════╤═════════════════╤════════╤═══════════════════╤═══════════╤═══════════════════════════════════════════════════════════════════════════════════════╕ -│ │ Document Date │ Type │ Category │ Amended │ Link │ -╞════════════╪═════════════════╪════════╪═══════════════════╪═══════════╪═══════════════════════════════════════════════════════════════════════════════════════╡ -│ 10/25/2021 │ 09/30/2021 │ 10-Q │ Quarterly Reports │ │ https://www.marketwatch.com/investing/stock/tsla/financials/secfilings?docid=15297229 │ -├────────────┼─────────────────┼────────┼───────────────────┼───────────┼───────────────────────────────────────────────────────────────────────────────────────┤ -│ 10/20/2021 │ 10/20/2021 │ 8-K │ Special Events │ │ https://www.marketwatch.com/investing/stock/tsla/financials/secfilings?docid=15291361 │ -├────────────┼─────────────────┼────────┼───────────────────┼───────────┼───────────────────────────────────────────────────────────────────────────────────────┤ -│ 10/13/2021 │ 10/07/2021 │ 8-K │ Special Events │ │ https://www.marketwatch.com/investing/stock/tsla/financials/secfilings?docid=15279680 │ -├────────────┼─────────────────┼────────┼───────────────────┼───────────┼───────────────────────────────────────────────────────────────────────────────────────┤ -│ 10/04/2021 │ 10/02/2021 │ 8-K │ Special Events │ │ https://www.marketwatch.com/investing/stock/tsla/financials/secfilings?docid=15262104 │ -├────────────┼─────────────────┼────────┼───────────────────┼───────────┼───────────────────────────────────────────────────────────────────────────────────────┤ -│ 08/30/2021 │ 08/27/2021 │ 8-K │ Special Events │ │ https://www.marketwatch.com/investing/stock/tsla/financials/secfilings?docid=15199500 │ -╘════════════╧═════════════════╧════════╧═══════════════════╧═══════════╧═══════════════════════════════════════════════════════════════════════════════════════╛ + Document Date Type Category Amended Link +Filing Date +10/25/2021 09/30/2021 10-Q Quarterly Reports https://www.marketwatch.com/investing/stock/tsla/financials/secfilings?docid=15297229 +10/20/2021 10/20/2021 8-K Special Events https://www.marketwatch.com/investing/stock/tsla/financials/secfilings?docid=15291361 +10/13/2021 10/07/2021 8-K Special Events https://www.marketwatch.com/investing/stock/tsla/financials/secfilings?docid=15279680 +10/04/2021 10/02/2021 8-K Special Events https://www.marketwatch.com/investing/stock/tsla/financials/secfilings?docid=15262104 +08/30/2021 08/27/2021 8-K Special Events https://www.marketwatch.com/investing/stock/tsla/financials/secfilings?docid=15199500 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/test_fmp_view.py b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/test_fmp_view.py index c1245390cae..5e6410704b6 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/test_fmp_view.py +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/test_fmp_view.py @@ -7,6 +7,7 @@ import pytest from gamestonk_terminal.stocks.fundamental_analysis.financial_modeling_prep import ( fmp_view, ) +from gamestonk_terminal import helper_funcs @pytest.fixture(scope="module") @@ -77,5 +78,5 @@ def test_valinvest_score(): [True, False], ) def test_check_output(func, kwargs_dict, monkeypatch, use_tab): - monkeypatch.setattr(fmp_view.gtff, "USE_TABULATE_DF", use_tab) + monkeypatch.setattr(helper_funcs.gtff, "USE_TABULATE_DF", use_tab) getattr(fmp_view, func)(**kwargs_dict) diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[False-display_profile-kwargs_dict0].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[False-display_profile-kwargs_dict0].txt index 0e815d9f632..4f09beb8be9 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[False-display_profile-kwargs_dict0].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[False-display_profile-kwargs_dict0].txt @@ -1,3 +1,4 @@ + 0 symbol PM price 89.38 beta 0.858701 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[False-display_quote-kwargs_dict1].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[False-display_quote-kwargs_dict1].txt index fbe0f115b2a..3c704c976a2 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[False-display_quote-kwargs_dict1].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[False-display_quote-kwargs_dict1].txt @@ -1,3 +1,4 @@ + 0 Symbol PM Name Philip Morris International Inc. Price 89.38 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt index 31970e27b0f..f7a493c343c 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt @@ -1,106 +1,54 @@ -╒═════════════════════════════════════════════╤═════════════════════╤═════════════════════╤═════════════════════╤═════════════════════╤═════════════════════╕ -│ │ 2016 │ 2017 │ 2018 │ 2019 │ 2020 │ -╞═════════════════════════════════════════════╪═════════════════════╪═════════════════════╪═════════════════════╪═════════════════════╪═════════════════════╡ -│ Reported currency │ USD │ USD │ USD │ USD │ USD │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Cik │ 1.413 M │ 1.413 M │ 1.413 M │ 1.413 M │ 1.413 M │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Filling date │ 2017-02-14 │ 2018-02-13 │ 2019-02-07 │ 2020-02-07 │ 2021-02-09 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Accepted date │ 2017-02-14 08:22:52 │ 2018-02-13 08:07:16 │ 2019-02-07 15:09:20 │ 2020-02-07 06:47:13 │ 2021-02-09 16:20:37 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Calendar year │ 2.016 K │ 2.017 K │ 2.018 K │ 2.019 K │ 2.020 K │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Period │ FY │ FY │ FY │ FY │ FY │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Cash and cash equivalents │ 4.239 B │ 8.447 B │ 6.593 B │ 6.861 B │ 7.280 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Short term investments │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Cash and short term investments │ 4.239 B │ 8.447 B │ 6.593 B │ 6.861 B │ 7.280 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Net receivables │ 3.499 B │ 3.738 B │ 3.564 B │ 3.717 B │ 3.761 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Inventory │ 9.017 B │ 8.806 B │ 8.804 B │ 9.235 B │ 9.591 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other current assets │ 853 M │ 603 M │ 481 M │ 701 M │ 860 M │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total current assets │ 17.608 B │ 21.594 B │ 19.442 B │ 20.514 B │ 21.492 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Property plant equipment net │ 6.064 B │ 7.271 B │ 7.201 B │ 6.631 B │ 6.365 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Goodwill │ 7.324 B │ 7.666 B │ 7.189 B │ 5.858 B │ 5.964 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Intangible assets │ 2.470 B │ 2.432 B │ 2.278 B │ 2.113 B │ 2.019 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Goodwill and intangible assets │ 9.794 B │ 10.098 B │ 9.467 B │ 7.971 B │ 7.983 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Long term investments │ 1.011 B │ 1.074 B │ 1.269 B │ 4.635 B │ 4.798 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Tax assets │ 859 M │ 1.007 B │ 977 M │ 1.153 B │ 1.410 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other non current assets │ 1.515 B │ 1.924 B │ 1.445 B │ 1.971 B │ 2.767 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total non current assets │ 19.243 B │ 21.374 B │ 20.359 B │ 22.361 B │ 23.323 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other assets │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total assets │ 36.851 B │ 42.968 B │ 39.801 B │ 42.875 B │ 44.815 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Account payables │ 1.666 B │ 2.242 B │ 2.068 B │ 2.299 B │ 2.780 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Short term debt │ 3.216 B │ 3.005 B │ 4.784 B │ 4.389 B │ 3.368 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Tax payables │ 0 │ 0 │ 0 │ 0 │ 7.494 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Deferred revenue │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other current liabilities │ 11.585 B │ 10.715 B │ 10.339 B │ 12.145 B │ 13.467 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total current liabilities │ 16.467 B │ 15.962 B │ 17.191 B │ 18.833 B │ 19.615 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Long term debt │ 25.851 B │ 31.334 B │ 26.975 B │ 26.656 B │ 28.168 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Deferred revenue non current │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Deferred tax liabilities non current │ 1.897 B │ 799 M │ 898 M │ 908 M │ 684 M │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other non current liabilities │ 3.536 B │ 5.103 B │ 5.476 B │ 6.077 B │ 6.979 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total non current liabilities │ 31.284 B │ 37.236 B │ 33.349 B │ 33.641 B │ 35.831 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other liabilities │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Capital lease obligations │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total liabilities │ 47.751 B │ 53.198 B │ 50.540 B │ 52.474 B │ 55.446 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Preferred stock │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Common stock │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Retained earnings │ 30.397 B │ 29.859 B │ 31.014 B │ 30.987 B │ 31.638 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Accumulated other comprehensive income loss │ -9.559 B │ -8.535 B │ -10.111 B │ -9.363 B │ -11.181 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Othertotal stockholders equity │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total stockholders equity │ -12.688 B │ -12.086 B │ -12.459 B │ -11.577 B │ -12.567 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total liabilities and stockholders equity │ 35.063 B │ 41.112 B │ 38.081 B │ 40.897 B │ 42.879 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Minority interest │ 1.788 B │ 1.856 B │ 1.720 B │ 1.978 B │ 1.936 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total equity │ -10.900 B │ -10.230 B │ -10.739 B │ -9.599 B │ -10.631 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total liabilities and total equity │ 36.851 B │ 42.968 B │ 39.801 B │ 42.875 B │ 44.815 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total investments │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total debt │ 29.067 B │ 34.339 B │ 31.759 B │ 31.045 B │ 31.536 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Net debt │ 24.828 B │ 25.892 B │ 25.166 B │ 24.184 B │ 24.256 B │ -╘═════════════════════════════════════════════╧═════════════════════╧═════════════════════╧═════════════════════╧═════════════════════╧═════════════════════╛ +Fiscal Date Ending 2016 2017 2018 2019 2020 +Reported currency USD USD USD USD USD +Cik 1.413 M 1.413 M 1.413 M 1.413 M 1.413 M +Filling date 2017-02-14 2018-02-13 2019-02-07 2020-02-07 2021-02-09 +Accepted date 2017-02-14 08:22:52 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 +Calendar year 2.016 K 2.017 K 2.018 K 2.019 K 2.020 K +Period FY FY FY FY FY +Cash and cash equivalents 4.239 B 8.447 B 6.593 B 6.861 B 7.280 B +Short term investments 0 0 0 0 0 +Cash and short term investments 4.239 B 8.447 B 6.593 B 6.861 B 7.280 B +Net receivables 3.499 B 3.738 B 3.564 B 3.717 B 3.761 B +Inventory 9.017 B 8.806 B 8.804 B 9.235 B 9.591 B +Other current assets 853 M 603 M 481 M 701 M 860 M +Total current assets 17.608 B 21.594 B 19.442 B 20.514 B 21.492 B +Property plant equipment net 6.064 B 7.271 B 7.201 B 6.631 B 6.365 B +Goodwill 7.324 B 7.666 B 7.189 B 5.858 B 5.964 B +Intangible assets 2.470 B 2.432 B 2.278 B 2.113 B 2.019 B +Goodwill and intangible assets 9.794 B 10.098 B 9.467 B 7.971 B 7.983 B +Long term investments 1.011 B 1.074 B 1.269 B 4.635 B 4.798 B +Tax assets 859 M 1.007 B 977 M 1.153 B 1.410 B +Other non current assets 1.515 B 1.924 B 1.445 B 1.971 B 2.767 B +Total non current assets 19.243 B 21.374 B 20.359 B 22.361 B 23.323 B +Other assets 0 0 0 0 0 +Total assets 36.851 B 42.968 B 39.801 B 42.875 B 44.815 B +Account payables 1.666 B 2.242 B 2.068 B 2.299 B 2.780 B +Short term debt 3.216 B 3.005 B 4.784 B 4.389 B 3.368 B +Tax payables 0 0 0 0 7.494 B +Deferred revenue 0 0 0 0 0 +Other current liabilities 11.585 B 10.715 B 10.339 B 12.145 B 13.467 B +Total current liabilities 16.467 B 15.962 B 17.191 B 18.833 B 19.615 B +Long term debt 25.851 B 31.334 B 26.975 B 26.656 B 28.168 B +Deferred revenue non current 0 0 0 0 0 +Deferred tax liabilities non current 1.897 B 799 M 898 M 908 M 684 M +Other non current liabilities 3.536 B 5.103 B 5.476 B 6.077 B 6.979 B +Total non current liabilities 31.284 B 37.236 B 33.349 B 33.641 B 35.831 B +Other liabilities 0 0 0 0 0 +Capital lease obligations 0 0 0 0 0 +Total liabilities 47.751 B 53.198 B 50.540 B 52.474 B 55.446 B +Preferred stock 0 0 0 0 0 +Common stock 0 0 0 0 0 +Retained earnings 30.397 B 29.859 B 31.014 B 30.987 B 31.638 B +Accumulated other comprehensive income loss -9.559 B -8.535 B -10.111 B -9.363 B -11.181 B +Othertotal stockholders equity 0 0 0 0 0 +Total stockholders equity -12.688 B -12.086 B -12.459 B -11.577 B -12.567 B +Total liabilities and stockholders equity 35.063 B 41.112 B 38.081 B 40.897 B 42.879 B +Minority interest 1.788 B 1.856 B 1.720 B 1.978 B 1.936 B +Total equity -10.900 B -10.230 B -10.739 B -9.599 B -10.631 B +Total liabilities and total equity 36.851 B 42.968 B 39.801 B 42.875 B 44.815 B +Total investments 0 0 0 0 0 +Total debt 29.067 B 34.339 B 31.759 B 31.045 B 31.536 B +Net debt 24.828 B 25.892 B 25.166 B 24.184 B 24.256 B Final link Fiscal Date Ending diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt index a36420e39c1..42ef20fcf00 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt @@ -1,78 +1,40 @@ -╒════════════════════════════════════════════════╤═════════════════════╤═════════════════════╤═════════════════════╤═════════════════════╤═════════════════════╕ -│ │ 2016 │ 2017 │ 2018 │ 2019 │ 2020 │ -╞════════════════════════════════════════════════╪═════════════════════╪═════════════════════╪═════════════════════╪═════════════════════╪═════════════════════╡ -│ Reported currency │ USD │ USD │ USD │ USD │ USD │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Cik │ 1.413 M │ 1.413 M │ 1.413 M │ 1.413 M │ 1.413 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Filling date │ 2017-02-14 │ 2018-02-13 │ 2019-02-07 │ 2020-02-07 │ 2021-02-09 │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Accepted date │ 2017-02-14 08:22:52 │ 2018-02-13 08:07:16 │ 2019-02-07 15:09:20 │ 2020-02-07 06:47:13 │ 2021-02-09 16:20:37 │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Calendar year │ 2.016 K │ 2.017 K │ 2.018 K │ 2.019 K │ 2.020 K │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Period │ FY │ FY │ FY │ FY │ FY │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Net income │ 6.967 B │ 6.035 B │ 7.911 B │ 7.185 B │ 8.592 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Depreciation and amortization │ 743 M │ 875 M │ 989 M │ 964 M │ 981 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Deferred income tax │ 182 M │ -501 M │ -100 M │ -141 M │ -143 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Stock based compensation │ 0 │ 0 │ 0 │ 0 │ 0 │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Change in working capital │ 723 M │ 4.491 B │ -3.381 B │ -570 M │ 128 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Accounts receivables │ -1.009 B │ -92 M │ 53 M │ -331 M │ 0 │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Inventory │ -695 M │ 730 M │ -613 M │ -548 M │ -165 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Accounts payables │ 373 M │ 425 M │ -51 M │ 451 M │ 406 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other working capital │ 1.141 B │ 5.632 B │ 2.251 B │ 1.681 B │ -139 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other non cash items │ -538 M │ -1.988 B │ 4.059 B │ 2.652 B │ 254 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Net cash provided by operating activities │ 8.077 B │ 8.912 B │ 9.478 B │ 10.090 B │ 9.812 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Investments in property plant and equipment │ -1.172 B │ -1.548 B │ -1.436 B │ -852 M │ 0 │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Acquisitions net │ 0 │ 0 │ 0 │ -1.346 B │ -47 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Purchases of investments │ 0 │ 0 │ 0 │ 0 │ 0 │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Sales maturities of investments │ 0 │ 0 │ 0 │ 0 │ 0 │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other investing activites │ 204 M │ -1.466 B │ 438 M │ 387 M │ -1.107 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Net cash used for investing activites │ -968 M │ -3.014 B │ -998 M │ -1.811 B │ -1.154 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Debt repayment │ -2.405 B │ -4.312 B │ -2.484 B │ -5.351 B │ -4.114 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Common stock issued │ 0 │ 0 │ 0 │ 0 │ 0 │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Common stock repurchased │ 0 │ 0 │ 0 │ 0 │ 0 │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Dividends paid │ -6.378 B │ -6.520 B │ -6.885 B │ -7.161 B │ -7.364 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other financing activites │ 3.370 B │ 8.063 B │ -282 M │ 4.451 B │ 2.982 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Net cash used provided by financing activities │ -5.413 B │ -2.769 B │ -9.651 B │ -8.061 B │ -8.496 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Effect of forex changes on cash │ -874 M │ 1.079 B │ -685 M │ 27 M │ 258 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Net change in cash │ 822 M │ 4.208 B │ -1.856 B │ 245 M │ 420 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Cash at end of period │ 4.239 B │ 8.447 B │ 6.620 B │ 6.865 B │ 7.285 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Cash at beginning of period │ 3.417 B │ 4.239 B │ 8.476 B │ 6.620 B │ 6.865 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Operating cash flow │ 8.077 B │ 8.912 B │ 9.478 B │ 10.090 B │ 9.812 B │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Capital expenditure │ -1.172 B │ -1.548 B │ -1.436 B │ -852 M │ -602 M │ -├────────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Free cash flow │ 6.905 B │ 7.364 B │ 8.042 B │ 9.238 B │ 9.210 B │ -╘════════════════════════════════════════════════╧═════════════════════╧═════════════════════╧═════════════════════╧═════════════════════╧═════════════════════╛ +Fiscal Date Ending 2016 2017 2018 2019 2020 +Reported currency USD USD USD USD USD +Cik 1.413 M 1.413 M 1.413 M 1.413 M 1.413 M +Filling date 2017-02-14 2018-02-13 2019-02-07 2020-02-07 2021-02-09 +Accepted date 2017-02-14 08:22:52 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 +Calendar year 2.016 K 2.017 K 2.018 K 2.019 K 2.020 K +Period FY FY FY FY FY +Net income 6.967 B 6.035 B 7.911 B 7.185 B 8.592 B +Depreciation and amortization 743 M 875 M 989 M 964 M 981 M +Deferred income tax 182 M -501 M -100 M -141 M -143 M +Stock based compensation 0 0 0 0 0 +Change in working capital 723 M 4.491 B -3.381 B -570 M 128 M +Accounts receivables -1.009 B -92 M 53 M -331 M 0 +Inventory -695 M 730 M -613 M -548 M -165 M +Accounts payables 373 M 425 M -51 M 451 M 406 M +Other working capital 1.141 B 5.632 B 2.251 B 1.681 B -139 M +Other non cash items -538 M -1.988 B 4.059 B 2.652 B 254 M +Net cash provided by operating activities 8.077 B 8.912 B 9.478 B 10.090 B 9.812 B +Investments in property plant and equipment -1.172 B -1.548 B -1.436 B -852 M 0 +Acquisitions net 0 0 0 -1.346 B -47 M +Purchases of investments 0 0 0 0 0 +Sales maturities of investments 0 0 0 0 0 +Other investing activites 204 M -1.466 B 438 M 387 M -1.107 B +Net cash used for investing activites -968 M -3.014 B -998 M -1.811 B -1.154 B +Debt repayment -2.405 B -4.312 B -2.484 B -5.351 B -4.114 B +Common stock issued 0 0 0 0 0 +Common stock repurchased 0 0 0 0 0 +Dividends paid -6.378 B -6.520 B -6.885 B -7.161 B -7.364 B +Other financing activites 3.370 B 8.063 B -282 M 4.451 B 2.982 B +Net cash used provided by financing activities -5.413 B -2.769 B -9.651 B -8.061 B -8.496 B +Effect of forex changes on cash -874 M 1.079 B -685 M 27 M 258 M +Net change in cash 822 M 4.208 B -1.856 B 245 M 420 M +Cash at end of period 4.239 B 8.447 B 6.620 B 6.865 B 7.285 B +Cash at beginning of period 3.417 B 4.239 B 8.476 B 6.620 B 6.865 B +Operating cash flow 8.077 B 8.912 B 9.478 B 10.090 B 9.812 B +Capital expenditure -1.172 B -1.548 B -1.436 B -852 M -602 M +Free cash flow 6.905 B 7.364 B 8.042 B 9.238 B 9.210 B Final link Fiscal Date Ending diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_discounted_cash_flow-kwargs_dict3].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_discounted_cash_flow-kwargs_dict3].txt index 2137b215f8e..b871375d539 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_discounted_cash_flow-kwargs_dict3].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_discounted_cash_flow-kwargs_dict3].txt @@ -1,8 +1,5 @@ -╒═════════════╤════════════╤════════════╤════════════╤════════════╤════════════╕ -│ Date │ 2017-12-31 │ 2018-12-31 │ 2019-12-31 │ 2020-12-31 │ 2021-12-04 │ -├─────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤ -│ Stock price │ 107.940 │ 74.480 │ 84.330 │ 79.650 │ 89.380 │ -├─────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤ -│ DCF │ 113.383 │ 78.720 │ 88.742 │ 84.326 │ 94.053 │ -╘═════════════╧════════════╧════════════╧════════════╧════════════╧════════════╛ +Fiscal Date Ending 2017 2018 2019 2020 2021 +Date 2017-12-31 2018-12-31 2019-12-31 2020-12-31 2021-12-04 +Stock price 107.940 74.480 84.330 79.650 89.380 +DCF 113.383 78.720 88.742 84.326 94.053 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_enterprise-kwargs_dict2].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_enterprise-kwargs_dict2].txt index fc2d818b695..6841e3404c0 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_enterprise-kwargs_dict2].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_enterprise-kwargs_dict2].txt @@ -1,18 +1,9 @@ -╒═════════════════════════════════╤═══════════╤═══════════╤═══════════╤═══════════╤══════════╕ -│ │ 2017 │ 2018 │ 2019 │ 2020 │ 2021 │ -╞═════════════════════════════════╪═══════════╪═══════════╪═══════════╪═══════════╪══════════╡ -│ Symbol │ PM │ PM │ PM │ PM │ PM │ -├─────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼──────────┤ -│ Stock price │ 107.940 │ 74.480 │ 84.330 │ 79.650 │ 97.450 │ -├─────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼──────────┤ -│ Number of shares │ 1.552 B │ 1.555 B │ 1.555 B │ 1.557 B │ 0 │ -├─────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼──────────┤ -│ Market capitalization │ 167.523 B │ 115.816 B │ 131.133 B │ 124.015 B │ 0 │ -├─────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼──────────┤ -│ Minus cash and cash equivalents │ 8.447 B │ 6.593 B │ 6.861 B │ 7.280 B │ 4.491 B │ -├─────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼──────────┤ -│ Add total debt │ 34.339 B │ 31.759 B │ 31.045 B │ 31.536 B │ 3.337 B │ -├─────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼──────────┤ -│ Enterprise value │ 193.415 B │ 140.982 B │ 155.317 B │ 148.271 B │ -1.154 B │ -╘═════════════════════════════════╧═══════════╧═══════════╧═══════════╧═══════════╧══════════╛ +Fiscal Date Ending 2017 2018 2019 2020 2021 +Symbol PM PM PM PM PM +Stock price 107.940 74.480 84.330 79.650 97.450 +Number of shares 1.552 B 1.555 B 1.555 B 1.557 B 0 +Market capitalization 167.523 B 115.816 B 131.133 B 124.015 B 0 +Minus cash and cash equivalents 8.447 B 6.593 B 6.861 B 7.280 B 4.491 B +Add total debt 34.339 B 31.759 B 31.045 B 31.536 B 3.337 B +Enterprise value 193.415 B 140.982 B 155.317 B 148.271 B -1.154 B diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_financial_ratios-kwargs_dict8].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_financial_ratios-kwargs_dict8].txt index 1d34bd09be8..5bcf3702270 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_financial_ratios-kwargs_dict8].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_financial_ratios-kwargs_dict8].txt @@ -1,114 +1,57 @@ -╒══════════════════════════════════════════╤═════════╤═════════╤═════════╤═════════╤═════════╕ -│ │ 2016 │ 2017 │ 2018 │ 2019 │ 2020 │ -╞══════════════════════════════════════════╪═════════╪═════════╪═════════╪═════════╪═════════╡ -│ Period │ FY │ FY │ FY │ FY │ FY │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Current ratio │ 1.069 │ 1.353 │ 1.131 │ 1.089 │ 1.096 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Quick ratio │ 0.470 │ 0.763 │ 0.591 │ 0.562 │ 0.563 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Cash ratio │ 0.257 │ 0.529 │ 0.384 │ 0.364 │ 0.371 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Days of sales outstanding │ 47.860 │ 47.460 │ 43.911 │ 45.519 │ 47.842 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Days of inventory outstanding │ 350.464 │ 308.109 │ 298.704 │ 320.629 │ 365.839 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Operating cycle │ 398.323 │ 355.568 │ 342.615 │ 366.149 │ 413.681 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Days of payables outstanding │ 64.752 │ 78.444 │ 70.164 │ 79.819 │ 106.040 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Cash conversion cycle │ 333.571 │ 277.124 │ 272.452 │ 286.330 │ 307.640 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Gross profit margin │ 0.648 │ 0.637 │ 0.637 │ 0.647 │ 0.667 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Operating profit margin │ 0.405 │ 0.400 │ 0.383 │ 0.350 │ 0.403 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Pretax profit margin │ 0.372 │ 0.368 │ 0.360 │ 0.331 │ 0.382 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Net profit margin │ 0.261 │ 0.210 │ 0.267 │ 0.241 │ 0.281 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Effective tax rate │ 0.279 │ 0.407 │ 0.229 │ 0.232 │ 0.217 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Return on assets │ 0.189 │ 0.140 │ 0.199 │ 0.168 │ 0.180 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Return on equity │ -0.549 │ -0.499 │ -0.635 │ -0.621 │ -0.641 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Return on capital employed │ 0.531 │ 0.426 │ 0.501 │ 0.434 │ 0.459 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Net income per EBT │ 0.702 │ 0.570 │ 0.741 │ 0.728 │ 0.736 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Ebt per ebit │ 0.918 │ 0.921 │ 0.941 │ 0.945 │ 0.947 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Ebit per revenue │ 0.405 │ 0.400 │ 0.383 │ 0.350 │ 0.403 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Debt ratio │ 1.296 │ 1.238 │ 1.270 │ 1.224 │ 1.237 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Debt equity ratio │ -3.763 │ -4.402 │ -4.057 │ -4.533 │ -4.412 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Long term debt to capitalization │ 1.964 │ 1.628 │ 1.858 │ 1.768 │ 1.806 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Total debt to capitalization │ 1.775 │ 1.543 │ 1.646 │ 1.595 │ 1.663 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Interest coverage │ 10.117 │ 10.495 │ 13.258 │ 13.118 │ 15.894 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Cash flow to debt ratio │ 0.278 │ 0.260 │ 0.298 │ 0.325 │ 0.311 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Company equity multiplier │ -2.904 │ -3.555 │ -3.195 │ -3.703 │ -3.566 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Receivables turnover │ 7.626 │ 7.691 │ 8.312 │ 8.019 │ 7.629 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Payables turnover │ 5.637 │ 4.653 │ 5.202 │ 4.573 │ 3.442 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Inventory turnover │ 1.041 │ 1.185 │ 1.222 │ 1.138 │ 0.998 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Fixed asset turnover │ 4.401 │ 3.954 │ 4.114 │ 4.495 │ 4.508 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Asset turnover │ 0.724 │ 0.669 │ 0.744 │ 0.695 │ 0.640 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Operating cash flow per share │ 5.208 │ 5.742 │ 6.095 │ 6.489 │ 6.302 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Free cash flow per share │ 4.452 │ 4.745 │ 5.172 │ 5.941 │ 5.915 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Cash per share │ 2.733 │ 5.443 │ 4.240 │ 4.412 │ 4.676 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Payout ratio │ 0.915 │ 1.080 │ 0.870 │ 0.997 │ 0.914 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Operating cash flow sales ratio │ 0.303 │ 0.310 │ 0.320 │ 0.339 │ 0.342 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Free cash flow operating cash flow ratio │ 0.855 │ 0.826 │ 0.848 │ 0.916 │ 0.939 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Cash flow coverage ratios │ 0.278 │ 0.260 │ 0.298 │ 0.325 │ 0.311 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Short term coverage ratios │ 2.512 │ 2.966 │ 1.981 │ 2.299 │ 2.913 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Capital expenditure coverage ratio │ -6.892 │ -5.757 │ -6.600 │ -11.843 │ -16.299 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Dividend paid and capex coverage ratio │ 1.551 │ 1.792 │ 1.739 │ 1.599 │ 1.451 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Dividend payout ratio │ 0.915 │ 1.080 │ 0.870 │ 0.997 │ 0.914 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Price book value ratio │ -11.730 │ -13.861 │ -9.296 │ -11.327 │ -9.868 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Price to book ratio │ -11.730 │ -13.861 │ -9.296 │ -11.327 │ -9.868 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Price to sales ratio │ 5.577 │ 5.827 │ 3.909 │ 4.400 │ 4.322 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Price earnings ratio │ 21.363 │ 27.759 │ 14.640 │ 18.251 │ 15.394 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Price to free cash flows ratio │ 21.555 │ 22.749 │ 14.401 │ 14.195 │ 13.465 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Price to operating cash flows ratio │ 18.427 │ 18.797 │ 12.219 │ 12.996 │ 12.639 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Price cash flow ratio │ 18.427 │ 18.797 │ 12.219 │ 12.996 │ 12.639 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Price earnings to growth ratio │ 15.737 │ -2.103 │ 0.478 │ -2.018 │ 1.319 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Price sales ratio │ 5.577 │ 5.827 │ 3.909 │ 4.400 │ 4.322 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Dividend yield │ 0.043 │ 0.039 │ 0.059 │ 0.055 │ 0.059 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Enterprise value multiple │ 15.965 │ 16.781 │ 12.484 │ 15.021 │ 12.211 │ -├──────────────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ -│ Price fair value │ -11.730 │ -13.861 │ -9.296 │ -11.327 │ -9.868 │ -╘══════════════════════════════════════════╧═════════╧═════════╧═════════╧═════════╧═════════╛ +Fiscal Date Ending 2016 2017 2018 2019 2020 +Period FY FY FY FY FY +Current ratio 1.069 1.353 1.131 1.089 1.096 +Quick ratio 0.470 0.763 0.591 0.562 0.563 +Cash ratio 0.257 0.529 0.384 0.364 0.371 +Days of sales outstanding 47.860 47.460 43.911 45.519 47.842 +Days of inventory outstanding 350.464 308.109 298.704 320.629 365.839 +Operating cycle 398.323 355.568 342.615 366.149 413.681 +Days of payables outstanding 64.752 78.444 70.164 79.819 106.040 +Cash conversion cycle 333.571 277.124 272.452 286.330 307.640 +Gross profit margin 0.648 0.637 0.637 0.647 0.667 +Operating profit margin 0.405 0.400 0.383 0.350 0.403 +Pretax profit margin 0.372 0.368 0.360 0.331 0.382 +Net profit margin 0.261 0.210 0.267 0.241 0.281 +Effective tax rate 0.279 0.407 0.229 0.232 0.217 +Return on assets 0.189 0.140 0.199 0.168 0.180 +Return on equity -0.549 -0.499 -0.635 -0.621 -0.641 +Return on capital employed 0.531 0.426 0.501 0.434 0.459 +Net income per EBT 0.702 0.570 0.741 0.728 0.736 +Ebt per ebit 0.918 0.921 0.941 0.945 0.947 +Ebit per revenue 0.405 0.400 0.383 0.350 0.403 +Debt ratio 1.296 1.238 1.270 1.224 1.237 +Debt equity ratio -3.763 -4.402 -4.057 -4.533 -4.412 +Long term debt to capitalization 1.964 1.628 1.858 1.768 1.806 +Total debt to capitalization 1.775 1.543 1.646 1.595 1.663 +Interest coverage 10.117 10.495 13.258 13.118 15.894 +Cash flow to debt ratio 0.278 0.260 0.298 0.325 0.311 +Company equity multiplier -2.904 -3.555 -3.195 -3.703 -3.566 +Receivables turnover 7.626 7.691 8.312 8.019 7.629 +Payables turnover 5.637 4.653 5.202 4.573 3.442 +Inventory turnover 1.041 1.185 1.222 1.138 0.998 +Fixed asset turnover 4.401 3.954 4.114 4.495 4.508 +Asset turnover 0.724 0.669 0.744 0.695 0.640 +Operating cash flow per share 5.208 5.742 6.095 6.489 6.302 +Free cash flow per share 4.452 4.745 5.172 5.941 5.915 +Cash per share 2.733 5.443 4.240 4.412 4.676 +Payout ratio 0.915 1.080 0.870 0.997 0.914 +Operating cash flow sales ratio 0.303 0.310 0.320 0.339 0.342 +Free cash flow operating cash flow ratio 0.855 0.826 0.848 0.916 0.939 +Cash flow coverage ratios 0.278 0.260 0.298 0.325 0.311 +Short term coverage ratios 2.512 2.966 1.981 2.299 2.913 +Capital expenditure coverage ratio -6.892 -5.757 -6.600 -11.843 -16.299 +Dividend paid and capex coverage ratio 1.551 1.792 1.739 1.599 1.451 +Dividend payout ratio 0.915 1.080 0.870 0.997 0.914 +Price book value ratio -11.730 -13.861 -9.296 -11.327 -9.868 +Price to book ratio -11.730 -13.861 -9.296 -11.327 -9.868 +Price to sales ratio 5.577 5.827 3.909 4.400 4.322 +Price earnings ratio 21.363 27.759 14.640 18.251 15.394 +Price to free cash flows ratio 21.555 22.749 14.401 14.195 13.465 +Price to operating cash flows ratio 18.427 18.797 12.219 12.996 12.639 +Price cash flow ratio 18.427 18.797 12.219 12.996 12.639 +Price earnings to growth ratio 15.737 -2.103 0.478 -2.018 1.319 +Price sales ratio 5.577 5.827 3.909 4.400 4.322 +Dividend yield 0.043 0.039 0.059 0.055 0.059 +Enterprise value multiple 15.965 16.781 12.484 15.021 12.211 +Price fair value -11.730 -13.861 -9.296 -11.327 -9.868 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_financial_statement_growth-kwargs_dict9].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_financial_statement_growth-kwargs_dict9].txt index 0259c527be1..86b55e1cece 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_financial_statement_growth-kwargs_dict9].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_financial_statement_growth-kwargs_dict9].txt @@ -1,74 +1,37 @@ -╒══════════════════════════════════════════════╤═════════╤════════╤════════╤════════╤════════╕ -│ │ 2016 │ 2017 │ 2018 │ 2019 │ 2020 │ -╞══════════════════════════════════════════════╪═════════╪════════╪════════╪════════╪════════╡ -│ Period │ FY │ FY │ FY │ FY │ FY │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Revenue growth │ -0.004 │ 0.077 │ 0.031 │ 0.006 │ -0.037 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Gross profit growth │ -0.008 │ 0.059 │ 0.030 │ 0.023 │ -0.009 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Ebitgrowth │ 0.012 │ 0.064 │ -0.015 │ -0.079 │ 0.108 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Operating income growth │ 0.012 │ 0.064 │ -0.015 │ -0.079 │ 0.108 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Net income growth │ 0.014 │ -0.134 │ 0.311 │ -0.092 │ 0.121 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Epsgrowth │ 0.014 │ -0.132 │ 0.306 │ -0.090 │ 0.117 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Epsdiluted growth │ 0.014 │ -0.133 │ 0.307 │ -0.091 │ 0.117 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Weighted average shares growth │ 0.001 │ 0.001 │ 0.002 │ 0 │ 0.001 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Weighted average shares diluted growth │ 0.001 │ 0.001 │ 0.001 │ 0.001 │ 0.001 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Dividendsper share growth │ 0.019 │ 0.022 │ 0.054 │ 0.040 │ 0.027 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Operating cash flow growth │ 0.027 │ 0.103 │ 0.064 │ 0.065 │ -0.028 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Free cash flow growth │ 0 │ 0.066 │ 0.092 │ 0.149 │ -0.003 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Ten y revenue growth per share │ -0.248 │ 0.707 │ 0.533 │ 0.488 │ 0.246 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Five y revenue growth per share │ -0.026 │ -0.001 │ -0.010 │ 0.008 │ 0.065 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Three y revenue growth per share │ -0.106 │ -0.026 │ 0.101 │ 0.114 │ -0.005 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Ten y operating c f growth per share │ 0.761 │ 1.159 │ 0.589 │ 0.599 │ 0.228 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Five y operating c f growth per share │ -0.129 │ 0.031 │ -0.025 │ 0.313 │ 0.241 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Three y operating c f growth per share │ -0.167 │ 0.162 │ 0.200 │ 0.246 │ 0.097 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Ten y net income growth per share │ 0.542 │ 0.356 │ 0.527 │ 0.416 │ 0.311 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Five y net income growth per share │ -0.079 │ -0.252 │ -0.038 │ -0.034 │ 0.166 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Three y net income growth per share │ -0.150 │ -0.187 │ 0.147 │ 0.029 │ 0.331 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Ten y shareholders equity growth per share │ -2.209 │ -2.062 │ -3.209 │ -3.531 │ -5.234 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Five y shareholders equity growth per share │ -63.908 │ 2.791 │ 0.673 │ -0.077 │ -0.056 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Three y shareholders equity growth per share │ 0.709 │ -0.034 │ -0.063 │ -0.090 │ 0.036 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Ten y dividendper share growth per share │ 2.120 │ 0.345 │ 0.803 │ 1.068 │ 0.966 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Five y dividendper share growth per share │ 0.512 │ 0.315 │ 0.256 │ 0.195 │ 0.172 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Three y dividendper share growth per share │ 0.166 │ 0.090 │ 0.097 │ 0.120 │ 0.126 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Receivables growth │ 0.260 │ 0.068 │ -0.047 │ 0.043 │ 0.012 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Inventory growth │ 0.064 │ -0.023 │ -0.000 │ 0.049 │ 0.039 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Asset growth │ 0.085 │ 0.166 │ -0.074 │ 0.077 │ 0.045 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Book valueper share growth │ -0.043 │ -0.048 │ 0.029 │ -0.071 │ 0.084 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Debt growth │ 0.021 │ 0.181 │ -0.075 │ -0.022 │ 0.016 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Rdexpense growth │ 0 │ 0 │ 0 │ 0 │ 0 │ -├──────────────────────────────────────────────┼─────────┼────────┼────────┼────────┼────────┤ -│ Sgaexpenses growth │ -0.038 │ 0.050 │ 0.108 │ 0.179 │ -0.989 │ -╘══════════════════════════════════════════════╧═════════╧════════╧════════╧════════╧════════╛ +Fiscal Date Ending 2016 2017 2018 2019 2020 +Period FY FY FY FY FY +Revenue growth -0.004 0.077 0.031 0.006 -0.037 +Gross profit growth -0.008 0.059 0.030 0.023 -0.009 +Ebitgrowth 0.012 0.064 -0.015 -0.079 0.108 +Operating income growth 0.012 0.064 -0.015 -0.079 0.108 +Net income growth 0.014 -0.134 0.311 -0.092 0.121 +Epsgrowth 0.014 -0.132 0.306 -0.090 0.117 +Epsdiluted growth 0.014 -0.133 0.307 -0.091 0.117 +Weighted average shares growth 0.001 0.001 0.002 0 0.001 +Weighted average shares diluted growth 0.001 0.001 0.001 0.001 0.001 +Dividendsper share growth 0.019 0.022 0.054 0.040 0.027 +Operating cash flow growth 0.027 0.103 0.064 0.065 -0.028 +Free cash flow growth 0 0.066 0.092 0.149 -0.003 +Ten y revenue growth per share -0.248 0.707 0.533 0.488 0.246 +Five y revenue growth per share -0.026 -0.001 -0.010 0.008 0.065 +Three y revenue growth per share -0.106 -0.026 0.101 0.114 -0.005 +Ten y operating c f growth per share 0.761 1.159 0.589 0.599 0.228 +Five y operating c f growth per share -0.129 0.031 -0.025 0.313 0.241 +Three y operating c f growth per share -0.167 0.162 0.200 0.246 0.097 +Ten y net income growth per share 0.542 0.356 0.527 0.416 0.311 +Five y net income growth per share -0.079 -0.252 -0.038 -0.034 0.166 +Three y net income growth per share -0.150 -0.187 0.147 0.029 0.331 +Ten y shareholders equity growth per share -2.209 -2.062 -3.209 -3.531 -5.234 +Five y shareholders equity growth per share -63.908 2.791 0.673 -0.077 -0.056 +Three y shareholders equity growth per share 0.709 -0.034 -0.063 -0.090 0.036 +Ten y dividendper share growth per share 2.120 0.345 0.803 1.068 0.966 +Five y dividendper share growth per share 0.512 0.315 0.256 0.195 0.172 +Three y dividendper share growth per share 0.166 0.090 0.097 0.120 0.126 +Receivables growth 0.260 0.068 -0.047 0.043 0.012 +Inventory growth 0.064 -0.023 -0.000 0.049 0.039 +Asset growth 0.085 0.166 -0.074 0.077 0.045 +Book valueper share growth -0.043 -0.048 0.029 -0.071 0.084 +Debt growth 0.021 0.181 -0.075 -0.022 0.016 +Rdexpense growth 0 0 0 0 0 +Sgaexpenses growth -0.038 0.050 0.108 0.179 -0.989 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_income_statement-kwargs_dict4].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_income_statement-kwargs_dict4].txt index 90cbf1ddc69..bf4899519f0 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_income_statement-kwargs_dict4].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_income_statement-kwargs_dict4].txt @@ -1,74 +1,38 @@ -╒═════════════════════════════════════════════╤═════════════════════╤═════════════════════╤═════════════════════╤═════════════════════╤═════════════════════╕ -│ │ 2016 │ 2017 │ 2018 │ 2019 │ 2020 │ -╞═════════════════════════════════════════════╪═════════════════════╪═════════════════════╪═════════════════════╪═════════════════════╪═════════════════════╡ -│ Reported currency │ USD │ USD │ USD │ USD │ USD │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Cik │ 1.413 M │ 1.413 M │ 1.413 M │ 1.413 M │ 1.413 M │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Filling date │ 2017-02-14 │ 2018-02-13 │ 2019-02-07 │ 2020-02-07 │ 2021-02-09 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Accepted date │ 2017-02-14 08:22:52 │ 2018-02-13 08:07:16 │ 2019-02-07 15:09:20 │ 2020-02-07 06:47:13 │ 2021-02-09 16:20:37 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Calendar year │ 2.016 K │ 2.017 K │ 2.018 K │ 2.019 K │ 2.020 K │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Period │ FY │ FY │ FY │ FY │ FY │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Revenue │ 26.685 B │ 28.748 B │ 29.625 B │ 29.805 B │ 28.694 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Cost of revenue │ 9.391 B │ 10.432 B │ 10.758 B │ 10.513 B │ 9.569 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Gross profit │ 17.294 B │ 18.316 B │ 18.867 B │ 19.292 B │ 19.125 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Gross profit ratio │ 0.648 │ 0.637 │ 0.637 │ 0.647 │ 0.667 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Research and development expenses │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ General and administrative expenses │ 6.405 B │ 6.725 B │ 7.449 B │ 8.784 B │ 97 M │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Selling and marketing expenses │ 0 │ 0 │ 0 │ 0 │ 7.384 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Selling general and administrative expenses │ 6.479 B │ 6.813 B │ 7.531 B │ 8.850 B │ 7.481 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Other expenses │ 0 │ 0 │ 0 │ 0 │ 73 M │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Operating expenses │ 6.479 B │ 6.813 B │ 7.531 B │ 8.850 B │ 7.554 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Cost and expenses │ 15.870 B │ 17.245 B │ 18.289 B │ 19.363 B │ 17.123 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Interest income │ 178 M │ 182 M │ 190 M │ 226 M │ 110 M │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Interest expense │ 1.069 B │ 1.096 B │ 855 M │ 796 M │ 728 M │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Depreciation and amortization │ 74 M │ 88 M │ 82 M │ 66 M │ 981 M │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Ebitda │ 10.878 B │ 11.526 B │ 11.293 B │ 10.340 B │ 12.142 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Ebitdaratio │ 0.408 │ 0.401 │ 0.381 │ 0.347 │ 0.423 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Operating income │ 10.815 B │ 11.503 B │ 11.336 B │ 10.442 B │ 11.571 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Operating income ratio │ 0.405 │ 0.400 │ 0.383 │ 0.350 │ 0.382 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Total other income expenses net │ 891 M │ 914 M │ 665 M │ 570 M │ 618 M │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Income before tax │ 9.924 B │ 10.589 B │ 10.671 B │ 9.872 B │ 10.953 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Income before tax ratio │ 0.372 │ 0.368 │ 0.360 │ 0.331 │ 0.382 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Income tax expense │ 2.768 B │ 4.307 B │ 2.445 B │ 2.293 B │ 2.377 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Net income │ 6.967 B │ 6.035 B │ 7.911 B │ 7.185 B │ 8.056 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Net income ratio │ 0.261 │ 0.210 │ 0.267 │ 0.241 │ 0.281 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Eps │ 4.480 │ 3.889 │ 5.080 │ 4.621 │ 5.160 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Epsdiluted │ 4.480 │ 3.886 │ 5.080 │ 4.618 │ 5.160 │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Weighted average shs out │ 1.551 B │ 1.552 B │ 1.555 B │ 1.555 B │ 1.557 B │ -├─────────────────────────────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┼─────────────────────┤ -│ Weighted average shs out dil │ 1.551 B │ 1.553 B │ 1.555 B │ 1.556 B │ 1.558 B │ -╘═════════════════════════════════════════════╧═════════════════════╧═════════════════════╧═════════════════════╧═════════════════════╧═════════════════════╛ +Fiscal Date Ending 2016 2017 2018 2019 2020 +Reported currency USD USD USD USD USD +Cik 1.413 M 1.413 M 1.413 M 1.413 M 1.413 M +Filling date 2017-02-14 2018-02-13 2019-02-07 2020-02-07 2021-02-09 +Accepted date 2017-02-14 08:22:52 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 +Calendar year 2.016 K 2.017 K 2.018 K 2.019 K 2.020 K +Period FY FY FY FY FY +Revenue 26.685 B 28.748 B 29.625 B 29.805 B 28.694 B +Cost of revenue 9.391 B 10.432 B 10.758 B 10.513 B 9.569 B +Gross profit 17.294 B 18.316 B 18.867 B 19.292 B 19.125 B +Gross profit ratio 0.648 0.637 0.637 0.647 0.667 +Research and development expenses 0 0 0 0 0 +General and administrative expenses 6.405 B 6.725 B 7.449 B 8.784 B 97 M +Selling and marketing expenses 0 0 0 0 7.384 B +Selling general and administrative expenses 6.479 B 6.813 B 7.531 B 8.850 B 7.481 B +Other expenses 0 0 0 0 73 M +Operating expenses 6.479 B 6.813 B 7.531 B 8.850 B 7.554 B +Cost and expenses 15.870 B 17.245 B 18.289 B 19.363 B 17.123 B +Interest income 178 M 182 M 190 M 226 M 110 M +Interest expense 1.069 B 1.096 B 855 M 796 M 728 M +Depreciation and amortization 74 M 88 M 82 M 66 M 981 M +Ebitda 10.878 B 11.526 B 11.293 B 10.340 B 12.142 B +Ebitdaratio 0.408 0.401 0.381 0.347 0.423 +Operating income 10.815 B 11.503 B 11.336 B 10.442 B 11.571 B +Operating income ratio 0.405 0.400 0.383 0.350 0.382 +Total other income expenses net 891 M 914 M 665 M 570 M 618 M +Income before tax 9.924 B 10.589 B 10.671 B 9.872 B 10.953 B +Income before tax ratio 0.372 0.368 0.360 0.331 0.382 +Income tax expense 2.768 B 4.307 B 2.445 B 2.293 B 2.377 B +Net income 6.967 B 6.035 B 7.911 B 7.185 B 8.056 B +Net income ratio 0.261 0.210 0.267 0.241 0.281 +Eps 4.480 3.889 5.080 4.621 5.160 +Epsdiluted 4.480 3.886 5.080 4.618 5.160 +Weighted average shs out 1.551 B 1.552 B 1.555 B 1.555 B 1.557 B +Weighted average shs out dil 1.551 B 1.553 B 1.555 B 1.556 B 1.558 B Final link Fiscal Date Ending diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_key_metrics-kwargs_dict7].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_key_metrics-kwargs_dict7].txt index dceabdc2a61..452c4b76308 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_key_metrics-kwargs_dict7].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_key_metrics-kwargs_dict7].txt @@ -1,120 +1,60 @@ -╒═════════════════════════════════════════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╕ -│ │ 2016 │ 2017 │ 2018 │ 2019 │ 2020 │ -╞═════════════════════════════════════════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╡ -│ Period │ FY │ FY │ FY │ FY │ FY │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Revenue per share │ 17.205 │ 18.523 │ 19.051 │ 19.167 │ 18.429 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Net income per share │ 4.492 │ 3.889 │ 5.087 │ 4.621 │ 5.174 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Operating cash flow per share │ 5.208 │ 5.742 │ 6.095 │ 6.489 │ 6.302 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Free cash flow per share │ 4.452 │ 4.745 │ 5.172 │ 5.941 │ 5.915 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Cash per share │ 2.733 │ 5.443 │ 4.240 │ 4.412 │ 4.676 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Book value per share │ -8.181 │ -7.787 │ -8.012 │ -7.445 │ -8.071 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Tangible book value per share │ -13.342 │ -13.098 │ -12.994 │ -11.299 │ -11.955 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Shareholders equity per share │ -8.181 │ -7.787 │ -8.012 │ -7.445 │ -8.071 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Interest debt per share │ 19.430 │ 22.832 │ 20.974 │ 20.477 │ 20.722 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Market cap │ 148.834 B │ 167.523 B │ 115.816 B │ 131.133 B │ 124.015 B │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Enterprise value │ 173.662 B │ 193.415 B │ 140.982 B │ 155.317 B │ 148.271 B │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Pe ratio │ 21.363 │ 27.759 │ 14.640 │ 18.251 │ 15.394 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Price to sales ratio │ 5.577 │ 5.827 │ 3.909 │ 4.400 │ 4.322 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Pocfratio │ 18.427 │ 18.797 │ 12.219 │ 12.996 │ 12.639 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Pfcf ratio │ 21.555 │ 22.749 │ 14.401 │ 14.195 │ 13.465 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Pb ratio │ -11.730 │ -13.861 │ -9.296 │ -11.327 │ -9.868 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Ptb ratio │ -11.730 │ -13.861 │ -9.296 │ -11.327 │ -9.868 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Ev to sales │ 6.508 │ 6.728 │ 4.759 │ 5.211 │ 5.167 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Enterprise value over EBITDA │ 15.965 │ 16.781 │ 12.484 │ 15.021 │ 12.211 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Ev to operating cash flow │ 21.501 │ 21.703 │ 14.875 │ 15.393 │ 15.111 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Ev to free cash flow │ 25.150 │ 26.265 │ 17.531 │ 16.813 │ 16.099 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Earnings yield │ 0.047 │ 0.036 │ 0.068 │ 0.055 │ 0.065 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Free cash flow yield │ 0.046 │ 0.044 │ 0.069 │ 0.070 │ 0.074 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Debt to equity │ -2.037 │ -2.593 │ -2.165 │ -2.302 │ -2.241 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Debt to assets │ 1.296 │ 1.238 │ 1.270 │ 1.224 │ 1.237 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Net debt to EBITDA │ 2.282 │ 2.246 │ 2.228 │ 2.339 │ 1.998 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Current ratio │ 1.069 │ 1.353 │ 1.131 │ 1.089 │ 1.096 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Interest coverage │ 10.117 │ 10.495 │ 13.258 │ 13.118 │ 15.894 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Income quality │ 1.159 │ 1.477 │ 1.198 │ 1.404 │ 1.218 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Dividend yield │ 0.043 │ 0.039 │ 0.059 │ 0.055 │ 0.059 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Payout ratio │ 0.915 │ 1.080 │ 0.870 │ 0.997 │ 0.914 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Sales general and administrative to revenue │ 0.240 │ 0.234 │ 0.251 │ 0.295 │ 0.003 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Research and ddevelopement to revenue │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Intangibles to total assets │ 0.266 │ 0.235 │ 0.238 │ 0.186 │ 0.178 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Capex to operating cash flow │ -0.145 │ -0.174 │ -0.152 │ -0.084 │ -0.061 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Capex to revenue │ -0.044 │ -0.054 │ -0.048 │ -0.029 │ -0.021 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Capex to depreciation │ -1.577 │ -1.769 │ -1.452 │ -0.884 │ -0.614 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Stock based compensation to revenue │ 0 │ 0 │ 0 │ 0 │ 0 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Graham number │ 28.754 │ 26.102 │ 30.284 │ 27.821 │ 30.653 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Roic │ 0.531 │ 0.426 │ 0.501 │ 0.434 │ 0.459 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Return on tangible assets │ 0.257 │ 0.184 │ 0.261 │ 0.206 │ 0.219 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Graham net net │ -23.455 │ -24.191 │ -23.712 │ -24.571 │ -26.044 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Working capital │ 1.141 B │ 5.632 B │ 2.251 B │ 1.681 B │ 1.877 B │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Tangible asset value │ -20.694 B │ -20.328 B │ -20.206 B │ -17.570 B │ -18.614 B │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Net current asset value │ -30.143 B │ -31.604 B │ -31.098 B │ -31.960 B │ -33.954 B │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Invested capital │ -2.291 │ -2.841 │ -2.549 │ -2.682 │ -2.509 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Average receivables │ 3.608 B │ 3.728 B │ 3.640 B │ 3.717 B │ 3.739 B │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Average payables │ 1.982 B │ 2.271 B │ 2.183 B │ 2.299 B │ 2.539 B │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Average inventory │ 9.126 B │ 9.021 B │ 9.020 B │ 9.235 B │ 9.413 B │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Days sales outstanding │ 47.860 │ 47.460 │ 43.911 │ 45.519 │ 47.842 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Days payables outstanding │ 64.752 │ 78.444 │ 70.164 │ 79.819 │ 106.040 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Days of inventory on hand │ 350.464 │ 308.109 │ 298.704 │ 320.629 │ 365.839 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Receivables turnover │ 7.626 │ 7.691 │ 8.312 │ 8.019 │ 7.629 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Payables turnover │ 5.637 │ 4.653 │ 5.202 │ 4.573 │ 3.442 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Inventory turnover │ 1.041 │ 1.185 │ 1.222 │ 1.138 │ 0.998 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Roe │ -0.549 │ -0.499 │ -0.635 │ -0.621 │ -0.641 │ -├─────────────────────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┤ -│ Capex per share │ -0.756 │ -0.997 │ -0.923 │ -0.548 │ -0.387 │ -╘═════════════════════════════════════════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╛ +Fiscal Date Ending 2016 2017 2018 2019 2020 +Period FY FY FY FY FY +Revenue per share 17.205 18.523 19.051 19.167 18.429 +Net income per share 4.492 3.889 5.087 4.621 5.174 +Operating cash flow per share 5.208 5.742 6.095 6.489 6.302 +Free cash flow per share 4.452 4.745 5.172 5.941 5.915 +Cash per share 2.733 5.443 4.240 4.412 4.676 +Book value per share -8.181 -7.787 -8.012 -7.445 -8.071 +Tangible book value per share -13.342 -13.098 -12.994 -11.299 -11.955 +Shareholders equity per share -8.181 -7.787 -8.012 -7.445 -8.071 +Interest debt per share 19.430 22.832 20.974 20.477 20.722 +Market cap 148.834 B 167.523 B 115.816 B 131.133 B 124.015 B +Enterprise value 173.662 B 193.415 B 140.982 B 155.317 B 148.271 B +Pe ratio 21.363 27.759 14.640 18.251 15.394 +Price to sales ratio 5.577 5.827 3.909 4.400 4.322 +Pocfratio 18.427 18.797 12.219 12.996 12.639 +Pfcf ratio 21.555 22.749 14.401 14.195 13.465 +Pb ratio -11.730 -13.861 -9.296 -11.327 -9.868 +Ptb ratio -11.730 -13.861 -9.296 -11.327 -9.868 +Ev to sales 6.508 6.728 4.759 5.211 5.167 +Enterprise value over EBITDA 15.965 16.781 12.484 15.021 12.211 +Ev to operating cash flow 21.501 21.703 14.875 15.393 15.111 +Ev to free cash flow 25.150 26.265 17.531 16.813 16.099 +Earnings yield 0.047 0.036 0.068 0.055 0.065 +Free cash flow yield 0.046 0.044 0.069 0.070 0.074 +Debt to equity -2.037 -2.593 -2.165 -2.302 -2.241 +Debt to assets 1.296 1.238 1.270 1.224 1.237 +Net debt to EBITDA 2.282 2.246 2.228 2.339 1.998 +Current ratio 1.069 1.353 1.131 1.089 1.096 +Interest coverage 10.117 10.495 13.258 13.118 15.894 +Income quality 1.159 1.477 1.198 1.404 1.218 +Dividend yield 0.043 0.039 0.059 0.055 0.059 +Payout ratio 0.915 1.080 0.870 0.997 0.914 +Sales general and administrative to revenue 0.240 0.234 0.251 0.295 0.003 +Research and ddevelopement to revenue 0 0 0 0 0 +Intangibles to total assets 0.266 0.235 0.238 0.186 0.178 +Capex to operating cash flow -0.145 -0.174 -0.152 -0.084 -0.061 +Capex to revenue -0.044 -0.054 -0.048 -0.029 -0.021 +Capex to depreciation -1.577 -1.769 -1.452 -0.884 -0.614 +Stock based compensation to revenue 0 0 0 0 0 +Graham number 28.754 26.102 30.284 27.821 30.653 +Roic 0.531 0.426 0.501 0.434 0.459 +Return on tangible assets 0.257 0.184 0.261 0.206 0.219 +Graham net net -23.455 -24.191 -23.712 -24.571 -26.044 +Working capital 1.141 B 5.632 B 2.251 B 1.681 B 1.877 B +Tangible asset value -20.694 B -20.328 B -20.206 B -17.570 B -18.614 B +Net current asset value -30.143 B -31.604 B -31.098 B -31.960 B -33.954 B +Invested capital -2.291 -2.841 -2.549 -2.682 -2.509 +Average receivables 3.608 B 3.728 B 3.640 B 3.717 B 3.739 B +Average payables 1.982 B 2.271 B 2.183 B 2.299 B 2.539 B +Average inventory 9.126 B 9.021 B 9.020 B 9.235 B 9.413 B +Days sales outstanding 47.860 47.460 43.911 45.519 47.842 +Days payables outstanding 64.752 78.444 70.164 79.819 106.040 +Days of inventory on hand 350.464 308.109 298.704 320.629 365.839 +Receivables turnover 7.626 7.691 8.312 8.019 7.629 +Payables turnover 5.637 4.653 5.202 4.573 3.442 +Inventory turnover 1.041 1.185 1.222 1.138 0.998 +Roe -0.549 -0.499 -0.635 -0.621 -0.641 +Capex per share -0.756 -0.997 -0.923 -0.548 -0.387 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_profile-kwargs_dict0].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_profile-kwargs_dict0].txt index 8a2595e19c4..4f09beb8be9 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_profile-kwargs_dict0].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_profile-kwargs_dict0].txt @@ -1,72 +1,38 @@ -╒═══════════════════╤══════════════════════════════════╕ -│ symbol │ PM │ -├───────────────────┼──────────────────────────────────┤ -│ price │ 89.38 │ -├───────────────────┼──────────────────────────────────┤ -│ beta │ 0.858701 │ -├───────────────────┼──────────────────────────────────┤ -│ volAvg │ 4520317 │ -├───────────────────┼──────────────────────────────────┤ -│ mktCap │ 139149459456 │ -├───────────────────┼──────────────────────────────────┤ -│ lastDiv │ 4.8500000000000005 │ -├───────────────────┼──────────────────────────────────┤ -│ range │ 78.34-106.51 │ -├───────────────────┼──────────────────────────────────┤ -│ changes │ 1.5400009 │ -├───────────────────┼──────────────────────────────────┤ -│ companyName │ Philip Morris International Inc. │ -├───────────────────┼──────────────────────────────────┤ -│ currency │ USD │ -├───────────────────┼──────────────────────────────────┤ -│ cik │ 0001413329 │ -├───────────────────┼──────────────────────────────────┤ -│ isin │ US7181721090 │ -├───────────────────┼──────────────────────────────────┤ -│ cusip │ 718172109 │ -├───────────────────┼──────────────────────────────────┤ -│ exchange │ New York Stock Exchange │ -├───────────────────┼──────────────────────────────────┤ -│ exchangeShortName │ NYSE │ -├───────────────────┼──────────────────────────────────┤ -│ industry │ Tobacco │ -├───────────────────┼──────────────────────────────────┤ -│ website │ http://www.pmi.com │ -├───────────────────┼──────────────────────────────────┤ -│ ceo │ Mr. Andre Calantzopoulos │ -├───────────────────┼──────────────────────────────────┤ -│ sector │ Consumer Defensive │ -├───────────────────┼──────────────────────────────────┤ -│ country │ US │ -├───────────────────┼──────────────────────────────────┤ -│ fullTimeEmployees │ 71000 │ -├───────────────────┼──────────────────────────────────┤ -│ phone │ 19176632000 │ -├───────────────────┼──────────────────────────────────┤ -│ address │ 120 Park Ave │ -├───────────────────┼──────────────────────────────────┤ -│ city │ New York City │ -├───────────────────┼──────────────────────────────────┤ -│ state │ NEW YORK │ -├───────────────────┼──────────────────────────────────┤ -│ zip │ 10017-5592 │ -├───────────────────┼──────────────────────────────────┤ -│ dcfDiff │ 2.12 │ -├───────────────────┼──────────────────────────────────┤ -│ dcf │ 94.0527 │ -├───────────────────┼──────────────────────────────────┤ -│ ipoDate │ 2008-03-17 │ -├───────────────────┼──────────────────────────────────┤ -│ defaultImage │ False │ -├───────────────────┼──────────────────────────────────┤ -│ isEtf │ False │ -├───────────────────┼──────────────────────────────────┤ -│ isActivelyTrading │ True │ -├───────────────────┼──────────────────────────────────┤ -│ isAdr │ False │ -├───────────────────┼──────────────────────────────────┤ -│ isFund │ False │ -╘═══════════════════╧══════════════════════════════════╛ + 0 +symbol PM +price 89.38 +beta 0.858701 +volAvg 4520317 +mktCap 139149459456 +lastDiv 4.85 +range 78.34-106.51 +changes 1.540001 +companyName Philip Morris International Inc. +currency USD +cik 0001413329 +isin US7181721090 +cusip 718172109 +exchange New York Stock Exchange +exchangeShortName NYSE +industry Tobacco +website http://www.pmi.com +ceo Mr. Andre Calantzopoulos +sector Consumer Defensive +country US +fullTimeEmployees 71000 +phone 19176632000 +address 120 Park Ave +city New York City +state NEW YORK +zip 10017-5592 +dcfDiff 2.12 +dcf 94.0527 +ipoDate 2008-03-17 +defaultImage False +isEtf False +isActivelyTrading True +isAdr False +isFund False Image: https://financialmodelingprep.com/image-stock/PM.png diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_quote-kwargs_dict1].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_quote-kwargs_dict1].txt index 3dad095ba78..57b662f66b9 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_quote-kwargs_dict1].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/financial_modeling_prep/txt/test_fmp_view/test_check_output[True-display_quote-kwargs_dict1].txt @@ -1,46 +1,24 @@ -╒═══════════════════════╤══════════════════════════════════╕ -│ Symbol │ PM │ -├───────────────────────┼──────────────────────────────────┤ -│ Name │ Philip Morris International Inc. │ -├───────────────────────┼──────────────────────────────────┤ -│ Price │ 89.38 │ -├───────────────────────┼──────────────────────────────────┤ -│ Changes percentage │ 1.7531886 │ -├───────────────────────┼──────────────────────────────────┤ -│ Change │ 1.5400009 │ -├───────────────────────┼──────────────────────────────────┤ -│ Day low │ 87.95 │ -├───────────────────────┼──────────────────────────────────┤ -│ Day high │ 89.51 │ -├───────────────────────┼──────────────────────────────────┤ -│ Year high │ 106.51 │ -├───────────────────────┼──────────────────────────────────┤ -│ Year low │ 78.34 │ -├───────────────────────┼──────────────────────────────────┤ -│ Market cap │ 139.149 B │ -├───────────────────────┼──────────────────────────────────┤ -│ Price avg50 │ 94.4176 │ -├───────────────────────┼──────────────────────────────────┤ -│ Price avg200 │ 95.7881 │ -├───────────────────────┼──────────────────────────────────┤ -│ Volume │ 7.368 M │ -├───────────────────────┼──────────────────────────────────┤ -│ Avg volume │ 4520317 │ -├───────────────────────┼──────────────────────────────────┤ -│ Exchange │ NYSE │ -├───────────────────────┼──────────────────────────────────┤ -│ Open │ 88.63 │ -├───────────────────────┼──────────────────────────────────┤ -│ Previous close │ 87.84 │ -├───────────────────────┼──────────────────────────────────┤ -│ Eps │ 5.74 │ -├───────────────────────┼──────────────────────────────────┤ -│ Pe │ 15.571428 │ -├───────────────────────┼──────────────────────────────────┤ -│ Earnings announcement │ 2022-02-02 13:30:00 │ -├───────────────────────┼──────────────────────────────────┤ -│ Shares outstanding │ 1.557 B │ -├───────────────────────┼──────────────────────────────────┤ -│ Timestamp │ 1638620741 │ -╘═══════════════════════╧══════════════════════════════════╛ + 0 +Symbol PM +Name Philip Morris International Inc. +Price 89.38 +Changes percentage 1.753189 +Change 1.540001 +Day low 87.95 +Day high 89.51 +Year high 106.51 +Year low 78.34 +Market cap 139.149 B +Price avg50 94.4176 +Price avg200 95.7881 +Volume 7.368 M +Avg volume 4520317 +Exchange NYSE +Open 88.63 +Previous close 87.84 +Eps 5.74 +Pe 15.571428 +Earnings announcement 2022-02-02 13:30:00 +Shares outstanding 1.557 B +Timestamp 1638620741 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/test_av_view.py b/tests/gamestonk_terminal/stocks/fundamental_analysis/test_av_view.py index 917b35fd70d..48a16a2272f 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/test_av_view.py +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/test_av_view.py @@ -7,6 +7,7 @@ import pytest # IMPORTATION INTERNAL from gamestonk_terminal.stocks.fundamental_analysis import av_view +from gamestonk_terminal import helper_funcs @pytest.fixture(scope="module") @@ -71,7 +72,7 @@ def vcr_config(): [True, False], ) def test_check_output(func, kwargs_dict, monkeypatch, use_tab): - monkeypatch.setattr(av_view.gtff, "USE_TABULATE_DF", use_tab) + monkeypatch.setattr(helper_funcs.gtff, "USE_TABULATE_DF", use_tab) getattr(av_view, func)(**kwargs_dict) diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/test_business_insider_view.py b/tests/gamestonk_terminal/stocks/fundamental_analysis/test_business_insider_view.py index 74dfaedb872..5b964caaa4b 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/test_business_insider_view.py +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/test_business_insider_view.py @@ -5,6 +5,7 @@ import pytest # IMPORTATION INTERNAL from gamestonk_terminal.stocks.fundamental_analysis import business_insider_view +from gamestonk_terminal import helper_funcs @pytest.fixture(scope="module") @@ -21,5 +22,5 @@ def vcr_config(): [True, False], ) def test_display_management(monkeypatch, use_tab): - monkeypatch.setattr(business_insider_view.gtff, "USE_TABULATE_DF", use_tab) + monkeypatch.setattr(helper_funcs.gtff, "USE_TABULATE_DF", use_tab) business_insider_view.display_management(ticker="TSLA", export="") diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/test_finviz_view.py b/tests/gamestonk_terminal/stocks/fundamental_analysis/test_finviz_view.py index 7d2baa7515c..1af8312b1db 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/test_finviz_view.py +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/test_finviz_view.py @@ -6,6 +6,7 @@ import pytest # IMPORTATION INTERNAL from gamestonk_terminal.stocks.fundamental_analysis import finviz_view +from gamestonk_terminal import helper_funcs @pytest.mark.vcr @@ -18,6 +19,6 @@ def test_display_screen_data(mocker, use_tab): # REMOVE FINVIZ STOCK_PAGE CACHE mocker.patch.object(target=finviz.main_func, attribute="STOCK_PAGE", new={}) mocker.patch.object( - target=finviz_view.gtff, attribute="USE_TABULATE_DF", new=use_tab + target=helper_funcs.gtff, attribute="USE_TABULATE_DF", new=use_tab ) finviz_view.display_screen_data(ticker="TSLA", export="") diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_earnings-kwargs_dict8].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_earnings-kwargs_dict8].txt index 26376b762a5..6b452e491a1 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_earnings-kwargs_dict8].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_earnings-kwargs_dict8].txt @@ -1,7 +1,7 @@ -Fiscal Date Ending 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 -Reported Date 2021-10-20 2021-07-26 2021-04-26 2021-01-27 2020-10-21 -Reported EPS 1.86 1.45 0.93 0.8 0.76 -Estimated EPS 1.6143 0.9789 0.7787 1.0514 0.6042 -Surprise 0.2457 0.4711 0.1513 -0.2514 0.1558 -Surprise Percentage 15.2202 48.1254 19.4298 -23.911 25.7862 + Fiscal Date Ending Reported Date Reported EPS Estimated EPS Surprise Surprise Percentage +0 2021-09-30 2021-10-20 1.86 1.6143 0.2457 15.2202 +1 2021-06-30 2021-07-26 1.45 0.9789 0.4711 48.1254 +2 2021-03-31 2021-04-26 0.93 0.7787 0.1513 19.4298 +3 2020-12-31 2021-01-27 0.8 1.0514 -0.2514 -23.911 +4 2020-09-30 2020-10-21 0.76 0.6042 0.1558 25.7862 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_earnings-kwargs_dict9].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_earnings-kwargs_dict9].txt index 24cb1a86763..860d2945c68 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_earnings-kwargs_dict9].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_earnings-kwargs_dict9].txt @@ -1,3 +1,7 @@ -Fiscal Date Ending 2021-09-30 2020-12-31 2019-12-31 2018-12-31 2017-12-31 -Reported EPS 4.24 2.2241 -0.0192 -0.316 -1.724 + Fiscal Date Ending Reported EPS +0 2021-09-30 4.24 +1 2020-12-31 2.2241 +2 2019-12-31 -0.0192 +3 2018-12-31 -0.316 +4 2017-12-31 -1.724 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_key-kwargs_dict1].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_key-kwargs_dict1].txt index 9295e79f04d..6584dc5ab96 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_key-kwargs_dict1].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_key-kwargs_dict1].txt @@ -1,3 +1,4 @@ + 0 Market capitalization 1.100 T EBITDA 7.267 B EPS 3.062 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_overview-kwargs_dict0].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_overview-kwargs_dict0].txt index e00955e7378..8d1ecc1939c 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_overview-kwargs_dict0].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[False-display_overview-kwargs_dict0].txt @@ -1,3 +1,4 @@ + 0 Symbol TSLA Asset type Common Stock Name Tesla Inc diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt index 44495e01441..1bfe34b8582 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt @@ -1,78 +1,39 @@ -╒════════════════════════════════════════╤══════════════╤══════════════╤══════════════╤══════════════╤══════════════╕ -│ │ 2020-09-30 │ 2020-12-31 │ 2021-03-31 │ 2021-06-30 │ 2021-09-30 │ -╞════════════════════════════════════════╪══════════════╪══════════════╪══════════════╪══════════════╪══════════════╡ -│ reportedCurrency │ USD │ USD │ USD │ USD │ USD │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalAssets │ 45.691 B │ 52.148 B │ 52.972 B │ 55.146 B │ 57.834 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalCurrentAssets │ 21.744 B │ 26.717 B │ 24.705 B │ 24.693 B │ 25.002 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ cashAndCashEquivalentsAtCarryingValue │ 14.531 B │ 19.384 B │ 17.141 B │ 16.229 B │ 16.065 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ cashAndShortTermInvestments │ 14.531 B │ 19.384 B │ 17.141 B │ 16.229 B │ 16.095 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ inventory │ 4.218 B │ 4.101 B │ 4.132 B │ 4.733 B │ 5.199 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ currentNetReceivables │ 1.766 B │ 1.895 B │ 1.900 B │ 2.140 B │ 1.973 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalNonCurrentAssets │ 15.478 B │ 18.134 B │ 17.884 B │ 19.781 B │ 21.886 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ propertyPlantEquipment │ 11.848 B │ 12.747 B │ 13.868 B │ 15.665 B │ 17.298 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ accumulatedDepreciationAmortizationPPE │ 4.814 B │ 5.117 B │ 5.389 B │ 5.824 B │ 6.232 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ intangibleAssets │ 521 M │ 520 M │ 505 M │ 486 M │ 470 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ intangibleAssetsExcludingGoodwill │ 318 M │ 313 M │ 299 M │ 283 M │ 269 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ goodwill │ 203 M │ 207 M │ 206 M │ 203 M │ 201 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ investments │ None │ None │ None │ None │ 30 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ longTermInvestments │ None │ None │ None │ None │ None │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ shortTermInvestments │ None │ None │ None │ None │ 30 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ otherCurrentAssets │ 1.238 B │ 1.346 B │ 1.542 B │ 1.602 B │ 1.746 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ otherNonCurrrentAssets │ 1.436 B │ 1.536 B │ 1.587 B │ 1.626 B │ 1.854 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalLiabilities │ 28.143 B │ 28.418 B │ 28.507 B │ 28.896 B │ 29.340 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalCurrentLiabilities │ 13.302 B │ 14.248 B │ 14.877 B │ 16.371 B │ 18.051 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ currentAccountsPayable │ 4.958 B │ 6.051 B │ 6.648 B │ 7.558 B │ 8.260 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ deferredRevenue │ 4.221 B │ 4.668 B │ 4.886 B │ 5.141 B │ 5.386 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ currentDebt │ 2.766 B │ 1.758 B │ 1.415 B │ 1.082 B │ 1.207 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ shortTermDebt │ 2.406 B │ 1.384 B │ 1.011 B │ 634 M │ 698 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalNonCurrentLiabilities │ 6.514 B │ 6.962 B │ 6.941 B │ 7.054 B │ 7.479 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ capitalLeaseObligations │ 1.131 B │ 1.094 B │ 1.034 B │ 993 M │ 999 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ longTermDebt │ 9.428 B │ 8.462 B │ 8.019 B │ 6.878 B │ 5.439 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ currentLongTermDebt │ 2.766 B │ 2.132 B │ 1.415 B │ 1.082 B │ 1.716 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ longTermDebtNoncurrent │ None │ None │ None │ None │ None │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ shortLongTermDebtTotal │ 11.834 B │ 9.846 B │ 9.030 B │ 7.512 B │ 6.137 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ otherCurrentLiabilities │ 173 M │ 264 M │ 273 M │ 292 M │ 301 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ otherNonCurrentLiabilities │ 3.049 B │ 3.330 B │ 3.283 B │ 3.336 B │ 3.486 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalShareholderEquity │ 16.031 B │ 22.225 B │ 23.017 B │ 24.804 B │ 27.053 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ treasuryStock │ None │ None │ None │ None │ None │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ retainedEarnings │ -5.669 B │ -5.399 B │ -4.750 B │ -3.608 B │ -1.990 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ commonStock │ 1 M │ 1 M │ 1 M │ 1 M │ 1 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ commonStockSharesOutstanding │ 948 M │ 960 M │ 963 M │ 984 M │ 1.004 B │ -╘════════════════════════════════════════╧══════════════╧══════════════╧══════════════╧══════════════╧══════════════╛ +fiscalDateEnding 2020-09-30 2020-12-31 2021-03-31 2021-06-30 2021-09-30 +reportedCurrency USD USD USD USD USD +totalAssets 45.691 B 52.148 B 52.972 B 55.146 B 57.834 B +totalCurrentAssets 21.744 B 26.717 B 24.705 B 24.693 B 25.002 B +cashAndCashEquivalentsAtCarryingValue 14.531 B 19.384 B 17.141 B 16.229 B 16.065 B +cashAndShortTermInvestments 14.531 B 19.384 B 17.141 B 16.229 B 16.095 B +inventory 4.218 B 4.101 B 4.132 B 4.733 B 5.199 B +currentNetReceivables 1.766 B 1.895 B 1.900 B 2.140 B 1.973 B +totalNonCurrentAssets 15.478 B 18.134 B 17.884 B 19.781 B 21.886 B +propertyPlantEquipment 11.848 B 12.747 B 13.868 B 15.665 B 17.298 B +accumulatedDepreciationAmortizationPPE 4.814 B 5.117 B 5.389 B 5.824 B 6.232 B +intangibleAssets 521 M 520 M 505 M 486 M 470 M +intangibleAssetsExcludingGoodwill 318 M 313 M 299 M 283 M 269 M +goodwill 203 M 207 M 206 M 203 M 201 M +investments None None None None 30 M +longTermInvestments None None None None None +shortTermInvestments None None None None 30 M +otherCurrentAssets 1.238 B 1.346 B 1.542 B 1.602 B 1.746 B +otherNonCurrrentAssets 1.436 B 1.536 B 1.587 B 1.626 B 1.854 B +totalLiabilities 28.143 B 28.418 B 28.507 B 28.896 B 29.340 B +totalCurrentLiabilities 13.302 B 14.248 B 14.877 B 16.371 B 18.051 B +currentAccountsPayable 4.958 B 6.051 B 6.648 B 7.558 B 8.260 B +deferredRevenue 4.221 B 4.668 B 4.886 B 5.141 B 5.386 B +currentDebt 2.766 B 1.758 B 1.415 B 1.082 B 1.207 B +shortTermDebt 2.406 B 1.384 B 1.011 B 634 M 698 M +totalNonCurrentLiabilities 6.514 B 6.962 B 6.941 B 7.054 B 7.479 B +capitalLeaseObligations 1.131 B 1.094 B 1.034 B 993 M 999 M +longTermDebt 9.428 B 8.462 B 8.019 B 6.878 B 5.439 B +currentLongTermDebt 2.766 B 2.132 B 1.415 B 1.082 B 1.716 B +longTermDebtNoncurrent None None None None None +shortLongTermDebtTotal 11.834 B 9.846 B 9.030 B 7.512 B 6.137 B +otherCurrentLiabilities 173 M 264 M 273 M 292 M 301 M +otherNonCurrentLiabilities 3.049 B 3.330 B 3.283 B 3.336 B 3.486 B +totalShareholderEquity 16.031 B 22.225 B 23.017 B 24.804 B 27.053 B +treasuryStock None None None None None +retainedEarnings -5.669 B -5.399 B -4.750 B -3.608 B -1.990 B +commonStock 1 M 1 M 1 M 1 M 1 M +commonStockSharesOutstanding 948 M 960 M 963 M 984 M 1.004 B diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt index c905e68ddf3..d1839e6c903 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt @@ -1,78 +1,39 @@ -╒════════════════════════════════════════╤══════════════╤══════════════╤══════════════╤══════════════╤══════════════╕ -│ │ 2016-12-31 │ 2017-12-31 │ 2018-12-31 │ 2019-12-31 │ 2020-12-31 │ -╞════════════════════════════════════════╪══════════════╪══════════════╪══════════════╪══════════════╪══════════════╡ -│ reportedCurrency │ USD │ USD │ USD │ USD │ USD │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalAssets │ 22.664 B │ 28.655 B │ 29.740 B │ 34.309 B │ 52.148 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalCurrentAssets │ 6.260 B │ 6.571 B │ 8.307 B │ 12.103 B │ 26.717 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ cashAndCashEquivalentsAtCarryingValue │ 3.393 B │ 3.368 B │ 3.686 B │ 6.268 B │ 19.384 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ cashAndShortTermInvestments │ 3.393 B │ 3.368 B │ 3.686 B │ 6.268 B │ 19.384 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ inventory │ 2.067 B │ 2.264 B │ 3.113 B │ 3.552 B │ 4.101 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ currentNetReceivables │ 499.142 M │ 515.381 M │ 949.022 M │ 1.324 B │ 1.895 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalNonCurrentAssets │ 7.350 B │ 11.621 B │ 13.072 B │ 15.251 B │ 18.134 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ propertyPlantEquipment │ 5.983 B │ 10.028 B │ 11.330 B │ 10.396 B │ 12.747 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ accumulatedDepreciationAmortizationPPE │ 997.485 M │ 1.724 B │ 2.699 B │ 3.734 B │ 5.117 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ intangibleAssets │ 376.145 M │ 421.739 M │ 350 M │ 537 M │ 520 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ intangibleAssetsExcludingGoodwill │ 376.145 M │ 361.502 M │ 282 M │ 339 M │ 313 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ goodwill │ None │ 60.237 M │ 68 M │ 198 M │ 207 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ investments │ None │ None │ None │ None │ None │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ longTermInvestments │ 506.302 M │ 456.652 M │ 421.548 M │ 1 M │ None │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ shortTermInvestments │ 216 K │ 155.323 M │ 192.551 M │ None │ None │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ otherCurrentAssets │ 194.465 M │ 423.688 M │ 558.222 M │ 959 M │ 1.346 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ otherNonCurrrentAssets │ 216.751 M │ 273.123 M │ 572 M │ 1.470 B │ 1.536 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalLiabilities │ 16.750 B │ 23.023 B │ 23.427 B │ 26.199 B │ 28.418 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalCurrentLiabilities │ 5.827 B │ 7.675 B │ 9.993 B │ 10.667 B │ 14.248 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ currentAccountsPayable │ 1.860 B │ 2.390 B │ 3.405 B │ 3.771 B │ 6.051 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ deferredRevenue │ 1.615 B │ 2.193 B │ 2.504 B │ 3.842 B │ 4.668 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ currentDebt │ 1.115 B │ 799.849 M │ 2.222 B │ 1.399 B │ 1.758 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ shortTermDebt │ 130.441 M │ 3.300 M │ 2.711 B │ 785 M │ 1.384 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalNonCurrentLiabilities │ 8.640 B │ 13.083 B │ 13.164 B │ 6.050 B │ 6.962 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ capitalLeaseObligations │ 1.460 B │ 1.801 B │ 1.856 B │ 1.232 B │ 1.094 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ longTermDebt │ 5.892 B │ 8.829 B │ 8.411 B │ 10.402 B │ 8.462 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ currentLongTermDebt │ 984.211 M │ 796.549 M │ 2.568 B │ 228 M │ 2.132 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ longTermDebtNoncurrent │ None │ None │ None │ None │ None │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ shortLongTermDebtTotal │ 6.022 B │ 8.832 B │ 8.410 B │ 11.187 B │ 9.846 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ otherCurrentLiabilities │ 84.492 M │ 130.565 M │ 372 M │ 260 M │ 264 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ otherNonCurrentLiabilities │ 1.891 B │ 2.443 B │ 2.710 B │ 2.691 B │ 3.330 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalShareholderEquity │ 4.753 B │ 4.237 B │ 4.923 B │ 6.618 B │ 22.225 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ treasuryStock │ None │ None │ None │ None │ None │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ retainedEarnings │ -2.997 B │ -4.974 B │ -5.318 B │ -6.083 B │ -5.399 B │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ commonStock │ 161 K │ 169 K │ 0 │ 1 M │ 1 M │ -├────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ commonStockSharesOutstanding │ 161.561 M │ 168.797 M │ 172.603 M │ 181 M │ 960 M │ -╘════════════════════════════════════════╧══════════════╧══════════════╧══════════════╧══════════════╧══════════════╛ +fiscalDateEnding 2016-12-31 2017-12-31 2018-12-31 2019-12-31 2020-12-31 +reportedCurrency USD USD USD USD USD +totalAssets 22.664 B 28.655 B 29.740 B 34.309 B 52.148 B +totalCurrentAssets 6.260 B 6.571 B 8.307 B 12.103 B 26.717 B +cashAndCashEquivalentsAtCarryingValue 3.393 B 3.368 B 3.686 B 6.268 B 19.384 B +cashAndShortTermInvestments 3.393 B 3.368 B 3.686 B 6.268 B 19.384 B +inventory 2.067 B 2.264 B 3.113 B 3.552 B 4.101 B +currentNetReceivables 499.142 M 515.381 M 949.022 M 1.324 B 1.895 B +totalNonCurrentAssets 7.350 B 11.621 B 13.072 B 15.251 B 18.134 B +propertyPlantEquipment 5.983 B 10.028 B 11.330 B 10.396 B 12.747 B +accumulatedDepreciationAmortizationPPE 997.485 M 1.724 B 2.699 B 3.734 B 5.117 B +intangibleAssets 376.145 M 421.739 M 350 M 537 M 520 M +intangibleAssetsExcludingGoodwill 376.145 M 361.502 M 282 M 339 M 313 M +goodwill None 60.237 M 68 M 198 M 207 M +investments None None None None None +longTermInvestments 506.302 M 456.652 M 421.548 M 1 M None +shortTermInvestments 216 K 155.323 M 192.551 M None None +otherCurrentAssets 194.465 M 423.688 M 558.222 M 959 M 1.346 B +otherNonCurrrentAssets 216.751 M 273.123 M 572 M 1.470 B 1.536 B +totalLiabilities 16.750 B 23.023 B 23.427 B 26.199 B 28.418 B +totalCurrentLiabilities 5.827 B 7.675 B 9.993 B 10.667 B 14.248 B +currentAccountsPayable 1.860 B 2.390 B 3.405 B 3.771 B 6.051 B +deferredRevenue 1.615 B 2.193 B 2.504 B 3.842 B 4.668 B +currentDebt 1.115 B 799.849 M 2.222 B 1.399 B 1.758 B +shortTermDebt 130.441 M 3.300 M 2.711 B 785 M 1.384 B +totalNonCurrentLiabilities 8.640 B 13.083 B 13.164 B 6.050 B 6.962 B +capitalLeaseObligations 1.460 B 1.801 B 1.856 B 1.232 B 1.094 B +longTermDebt 5.892 B 8.829 B 8.411 B 10.402 B 8.462 B +currentLongTermDebt 984.211 M 796.549 M 2.568 B 228 M 2.132 B +longTermDebtNoncurrent None None None None None +shortLongTermDebtTotal 6.022 B 8.832 B 8.410 B 11.187 B 9.846 B +otherCurrentLiabilities 84.492 M 130.565 M 372 M 260 M 264 M +otherNonCurrentLiabilities 1.891 B 2.443 B 2.710 B 2.691 B 3.330 B +totalShareholderEquity 4.753 B 4.237 B 4.923 B 6.618 B 22.225 B +treasuryStock None None None None None +retainedEarnings -2.997 B -4.974 B -5.318 B -6.083 B -5.399 B +commonStock 161 K 169 K 0 1 M 1 M +commonStockSharesOutstanding 161.561 M 168.797 M 172.603 M 181 M 960 M diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt index 3ae260d61a6..fe7e39618ca 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt @@ -1,60 +1,30 @@ -╒═══════════════════════════════════════════════════════════╤══════════════╤══════════════╤══════════════╤══════════════╤══════════════╕ -│ │ 2020-09-30 │ 2020-12-31 │ 2021-03-31 │ 2021-06-30 │ 2021-09-30 │ -╞═══════════════════════════════════════════════════════════╪══════════════╪══════════════╪══════════════╪══════════════╪══════════════╡ -│ reportedCurrency │ USD │ USD │ USD │ USD │ USD │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ operatingCashflow │ 2.400 B │ 3.019 B │ 1.641 B │ 2.124 B │ 3.147 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ paymentsForOperatingActivities │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromOperatingActivities │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInOperatingLiabilities │ 1.424 B │ 1.774 B │ 857 M │ 1.061 B │ 1.545 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInOperatingAssets │ 459 M │ 122 M │ -441 M │ 1.831 B │ 964 M │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ depreciationDepletionAndAmortization │ 455 M │ 875 M │ 426 M │ 462 M │ 496 M │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ capitalExpenditures │ 1.010 B │ 1.156 B │ 2.848 B │ 1.505 B │ 1.819 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInReceivables │ 314 M │ 102 M │ -24 M │ 307 M │ -135 M │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInInventory │ 67 M │ -180 M │ -106 M │ 793 M │ 488 M │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ profitLoss │ 369 M │ 296 M │ 464 M │ 1.178 B │ 1.659 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ cashflowFromInvestment │ -1.039 B │ -1.047 B │ -2.582 B │ -1.515 B │ -1.855 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ cashflowFromFinancing │ 4.450 B │ 2.692 B │ -1.016 B │ -1.549 B │ -1.381 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromRepaymentsOfShortTermDebt │ 0 │ 0 │ 0 │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ paymentsForRepurchaseOfCommonStock │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ paymentsForRepurchaseOfEquity │ 0 │ 0 │ 0 │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ paymentsForRepurchaseOfPreferredStock │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ dividendPayout │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ dividendPayoutCommonStock │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ dividendPayoutPreferredStock │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromIssuanceOfCommonStock │ 4.973 B │ 4.987 B │ 0 │ 0 │ 0 │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet │ 0 │ 0 │ 0 │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromIssuanceOfPreferredStock │ 0 │ 0 │ 0 │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromRepurchaseOfEquity │ 5.117 B │ 5.043 B │ 183 M │ 70 M │ 192 M │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromSaleOfTreasuryStock │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInCashAndCashEquivalents │ 772 M │ 2.066 B │ -1.957 B │ 1.639 B │ 2.154 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInExchangeRate │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ netIncome │ 331 M │ 270 M │ 438 M │ 1.142 B │ 1.618 B │ -╘═══════════════════════════════════════════════════════════╧══════════════╧══════════════╧══════════════╧══════════════╧══════════════╛ +fiscalDateEnding 2020-09-30 2020-12-31 2021-03-31 2021-06-30 2021-09-30 +reportedCurrency USD USD USD USD USD +operatingCashflow 2.400 B 3.019 B 1.641 B 2.124 B 3.147 B +paymentsForOperatingActivities None None None None None +proceedsFromOperatingActivities None None None None None +changeInOperatingLiabilities 1.424 B 1.774 B 857 M 1.061 B 1.545 B +changeInOperatingAssets 459 M 122 M -441 M 1.831 B 964 M +depreciationDepletionAndAmortization 455 M 875 M 426 M 462 M 496 M +capitalExpenditures 1.010 B 1.156 B 2.848 B 1.505 B 1.819 B +changeInReceivables 314 M 102 M -24 M 307 M -135 M +changeInInventory 67 M -180 M -106 M 793 M 488 M +profitLoss 369 M 296 M 464 M 1.178 B 1.659 B +cashflowFromInvestment -1.039 B -1.047 B -2.582 B -1.515 B -1.855 B +cashflowFromFinancing 4.450 B 2.692 B -1.016 B -1.549 B -1.381 B +proceedsFromRepaymentsOfShortTermDebt 0 0 0 None None +paymentsForRepurchaseOfCommonStock None None None None None +paymentsForRepurchaseOfEquity 0 0 0 None None +paymentsForRepurchaseOfPreferredStock None None None None None +dividendPayout None None None None None +dividendPayoutCommonStock None None None None None +dividendPayoutPreferredStock None None None None None +proceedsFromIssuanceOfCommonStock 4.973 B 4.987 B 0 0 0 +proceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet 0 0 0 None None +proceedsFromIssuanceOfPreferredStock 0 0 0 None None +proceedsFromRepurchaseOfEquity 5.117 B 5.043 B 183 M 70 M 192 M +proceedsFromSaleOfTreasuryStock None None None None None +changeInCashAndCashEquivalents 772 M 2.066 B -1.957 B 1.639 B 2.154 B +changeInExchangeRate None None None None None +netIncome 331 M 270 M 438 M 1.142 B 1.618 B diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict7].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict7].txt index f56c5bffff6..4ab0c1e7d5d 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict7].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict7].txt @@ -1,60 +1,30 @@ -╒═══════════════════════════════════════════════════════════╤══════════════╤══════════════╤══════════════╤══════════════╤══════════════╕ -│ │ 2016-12-31 │ 2017-12-31 │ 2018-12-31 │ 2019-12-31 │ 2020-12-31 │ -╞═══════════════════════════════════════════════════════════╪══════════════╪══════════════╪══════════════╪══════════════╪══════════════╡ -│ reportedCurrency │ USD │ USD │ USD │ USD │ USD │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ operatingCashflow │ -123.829 M │ -61 M │ 2.098 B │ 2.405 B │ 5.943 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ paymentsForOperatingActivities │ 55.078 M │ 248.266 M │ 443.545 M │ 1.009 B │ 1.115 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromOperatingActivities │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInOperatingLiabilities │ 1.271 B │ 639.372 M │ 2.289 B │ 1.592 B │ 2.918 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInOperatingAssets │ 209.112 M │ 275.569 M │ 1.602 B │ 969 M │ 1.669 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ depreciationDepletionAndAmortization │ 477.300 M │ 769.300 M │ 1.269 B │ 1.901 B │ 2.149 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ capitalExpenditures │ 1.281 B │ 3.415 B │ 2.101 B │ 1.332 B │ 3.167 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInReceivables │ 213.097 M │ 24.635 M │ 496.732 M │ 367 M │ 652 M │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInInventory │ 632.867 M │ 179 M │ 1.023 B │ 429 M │ 422 M │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ profitLoss │ -773.046 M │ -2.241 B │ -1.063 B │ -775 M │ 862 M │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ cashflowFromInvestment │ -1.081 B │ -4.196 B │ -2.337 B │ -1.436 B │ -3.132 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ cashflowFromFinancing │ 3.744 B │ 4.415 B │ 574 M │ 1.529 B │ 9.973 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromRepaymentsOfShortTermDebt │ 769.709 M │ 511.321 M │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ paymentsForRepurchaseOfCommonStock │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ paymentsForRepurchaseOfEquity │ None │ 230.385 M │ 11 K │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ paymentsForRepurchaseOfPreferredStock │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ dividendPayout │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ dividendPayoutCommonStock │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ dividendPayoutPreferredStock │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromIssuanceOfCommonStock │ 1.702 B │ 400 M │ None │ 848 M │ 12.269 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromIssuanceOfPreferredStock │ None │ 52.883 M │ None │ 174 M │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromRepurchaseOfEquity │ 1.866 B │ 481.789 M │ 295.711 M │ 1.285 B │ 12.686 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ proceedsFromSaleOfTreasuryStock │ None │ None │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInCashAndCashEquivalents │ 2.196 B │ -25.302 M │ 334.129 M │ 2.498 B │ 12.784 B │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ changeInExchangeRate │ -7.409 M │ 39.455 M │ None │ None │ None │ -├───────────────────────────────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ netIncome │ -674.914 M │ -1.962 B │ -976 M │ -862 M │ 721 M │ -╘═══════════════════════════════════════════════════════════╧══════════════╧══════════════╧══════════════╧══════════════╧══════════════╛ +fiscalDateEnding 2016-12-31 2017-12-31 2018-12-31 2019-12-31 2020-12-31 +reportedCurrency USD USD USD USD USD +operatingCashflow -123.829 M -61 M 2.098 B 2.405 B 5.943 B +paymentsForOperatingActivities 55.078 M 248.266 M 443.545 M 1.009 B 1.115 B +proceedsFromOperatingActivities None None None None None +changeInOperatingLiabilities 1.271 B 639.372 M 2.289 B 1.592 B 2.918 B +changeInOperatingAssets 209.112 M 275.569 M 1.602 B 969 M 1.669 B +depreciationDepletionAndAmortization 477.300 M 769.300 M 1.269 B 1.901 B 2.149 B +capitalExpenditures 1.281 B 3.415 B 2.101 B 1.332 B 3.167 B +changeInReceivables 213.097 M 24.635 M 496.732 M 367 M 652 M +changeInInventory 632.867 M 179 M 1.023 B 429 M 422 M +profitLoss -773.046 M -2.241 B -1.063 B -775 M 862 M +cashflowFromInvestment -1.081 B -4.196 B -2.337 B -1.436 B -3.132 B +cashflowFromFinancing 3.744 B 4.415 B 574 M 1.529 B 9.973 B +proceedsFromRepaymentsOfShortTermDebt 769.709 M 511.321 M None None None +paymentsForRepurchaseOfCommonStock None None None None None +paymentsForRepurchaseOfEquity None 230.385 M 11 K None None +paymentsForRepurchaseOfPreferredStock None None None None None +dividendPayout None None None None None +dividendPayoutCommonStock None None None None None +dividendPayoutPreferredStock None None None None None +proceedsFromIssuanceOfCommonStock 1.702 B 400 M None 848 M 12.269 B +proceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet None None None None None +proceedsFromIssuanceOfPreferredStock None 52.883 M None 174 M None +proceedsFromRepurchaseOfEquity 1.866 B 481.789 M 295.711 M 1.285 B 12.686 B +proceedsFromSaleOfTreasuryStock None None None None None +changeInCashAndCashEquivalents 2.196 B -25.302 M 334.129 M 2.498 B 12.784 B +changeInExchangeRate -7.409 M 39.455 M None None None +netIncome -674.914 M -1.962 B -976 M -862 M 721 M diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_earnings-kwargs_dict8].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_earnings-kwargs_dict8].txt index 5c929957bd6..6b452e491a1 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_earnings-kwargs_dict8].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_earnings-kwargs_dict8].txt @@ -1,14 +1,7 @@ -╒══════════════════════╤═════════════════╤════════════════╤═════════════════╤════════════╤═══════════════════════╕ -│ Fiscal Date Ending │ Reported Date │ Reported EPS │ Estimated EPS │ Surprise │ Surprise Percentage │ -╞══════════════════════╪═════════════════╪════════════════╪═════════════════╪════════════╪═══════════════════════╡ -│ 2021-09-30 │ 2021-10-20 │ 1.86 │ 1.6143 │ 0.2457 │ 15.2202 │ -├──────────────────────┼─────────────────┼────────────────┼─────────────────┼────────────┼───────────────────────┤ -│ 2021-06-30 │ 2021-07-26 │ 1.45 │ 0.9789 │ 0.4711 │ 48.1254 │ -├──────────────────────┼─────────────────┼────────────────┼─────────────────┼────────────┼───────────────────────┤ -│ 2021-03-31 │ 2021-04-26 │ 0.93 │ 0.7787 │ 0.1513 │ 19.4298 │ -├──────────────────────┼─────────────────┼────────────────┼─────────────────┼────────────┼───────────────────────┤ -│ 2020-12-31 │ 2021-01-27 │ 0.8 │ 1.0514 │ -0.2514 │ -23.911 │ -├──────────────────────┼─────────────────┼────────────────┼─────────────────┼────────────┼───────────────────────┤ -│ 2020-09-30 │ 2020-10-21 │ 0.76 │ 0.6042 │ 0.1558 │ 25.7862 │ -╘══════════════════════╧═════════════════╧════════════════╧═════════════════╧════════════╧═══════════════════════╛ + Fiscal Date Ending Reported Date Reported EPS Estimated EPS Surprise Surprise Percentage +0 2021-09-30 2021-10-20 1.86 1.6143 0.2457 15.2202 +1 2021-06-30 2021-07-26 1.45 0.9789 0.4711 48.1254 +2 2021-03-31 2021-04-26 0.93 0.7787 0.1513 19.4298 +3 2020-12-31 2021-01-27 0.8 1.0514 -0.2514 -23.911 +4 2020-09-30 2020-10-21 0.76 0.6042 0.1558 25.7862 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_earnings-kwargs_dict9].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_earnings-kwargs_dict9].txt index a3848217e53..860d2945c68 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_earnings-kwargs_dict9].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_earnings-kwargs_dict9].txt @@ -1,14 +1,7 @@ -╒══════════════════════╤════════════════╕ -│ Fiscal Date Ending │ Reported EPS │ -╞══════════════════════╪════════════════╡ -│ 2021-09-30 │ 4.24 │ -├──────────────────────┼────────────────┤ -│ 2020-12-31 │ 2.2241 │ -├──────────────────────┼────────────────┤ -│ 2019-12-31 │ -0.0192 │ -├──────────────────────┼────────────────┤ -│ 2018-12-31 │ -0.316 │ -├──────────────────────┼────────────────┤ -│ 2017-12-31 │ -1.724 │ -╘══════════════════════╧════════════════╛ + Fiscal Date Ending Reported EPS +0 2021-09-30 4.24 +1 2020-12-31 2.2241 +2 2019-12-31 -0.0192 +3 2018-12-31 -0.316 +4 2017-12-31 -1.724 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict2].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict2].txt index 8ee507b8685..c4d3526deaf 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict2].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict2].txt @@ -1,54 +1,27 @@ -╒═══════════════════════════════════╤══════════════╤══════════════╤══════════════╤══════════════╤══════════════╕ -│ │ 2020-09-30 │ 2020-12-31 │ 2021-03-31 │ 2021-06-30 │ 2021-09-30 │ -╞═══════════════════════════════════╪══════════════╪══════════════╪══════════════╪══════════════╪══════════════╡ -│ reportedCurrency │ USD │ USD │ USD │ USD │ USD │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ grossProfit │ 2.063 B │ 2.066 B │ 2.215 B │ 2.884 B │ 3.660 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalRevenue │ 8.771 B │ 10.744 B │ 10.389 B │ 11.958 B │ 13.757 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ costOfRevenue │ 6.708 B │ 8.678 B │ 8.174 B │ 9.074 B │ 10.097 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ costofGoodsAndServicesSold │ 52 M │ 149 M │ 75 M │ 36 M │ 35 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ operatingIncome │ 809 M │ 575 M │ 594 M │ 1.312 B │ 2.004 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ sellingGeneralAndAdministrative │ 888 M │ 969 M │ 1.056 B │ 973 M │ 994 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ researchAndDevelopment │ 366 M │ 522 M │ 666 M │ 576 M │ 611 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ operatingExpenses │ 1.254 B │ 1.491 B │ 1.621 B │ 1.572 B │ 1.656 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ investmentIncomeNet │ 6 M │ 6 M │ 10 M │ 11 M │ 10 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ netInterestIncome │ -163 M │ -246 M │ -99 M │ -75 M │ -126 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ interestIncome │ 6 M │ 6 M │ 10 M │ 11 M │ 10 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ interestExpense │ 163 M │ 246 M │ 99 M │ 75 M │ 126 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ nonInterestIncome │ -161 M │ -125 M │ -2 M │ 1 M │ -7 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ otherNonOperatingIncome │ -97 M │ 44 M │ 28 M │ 45 M │ -6 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ depreciation │ 403 M │ 440 M │ 424 M │ 461 M │ 495 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ depreciationAndAmortization │ 584 M │ 618 M │ 621 M │ 681 M │ 761 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ incomeBeforeTax │ 517 M │ 353 M │ 507 M │ 1.257 B │ 1.841 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ incomeTaxExpense │ 186 M │ 83 M │ 69 M │ 115 M │ 223 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ interestAndDebtExpense │ 163 M │ 351 M │ 99 M │ 75 M │ 126 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ netIncomeFromContinuingOperations │ 369 M │ 2.066 B │ 464 M │ 1.178 B │ 1.659 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ comprehensiveIncomeNetOfTax │ 496 M │ 508 M │ 218 M │ 1.205 B │ 1.532 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ ebit │ 680 M │ 599 M │ 606 M │ 1.332 B │ 1.967 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ ebitda │ 1.264 B │ 1.186 B │ 1.227 B │ 2.013 B │ 2.728 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ netIncome │ 331 M │ 270 M │ 438 M │ 1.142 B │ 1.618 B │ -╘═══════════════════════════════════╧══════════════╧══════════════╧══════════════╧══════════════╧══════════════╛ +fiscalDateEnding 2020-09-30 2020-12-31 2021-03-31 2021-06-30 2021-09-30 +reportedCurrency USD USD USD USD USD +grossProfit 2.063 B 2.066 B 2.215 B 2.884 B 3.660 B +totalRevenue 8.771 B 10.744 B 10.389 B 11.958 B 13.757 B +costOfRevenue 6.708 B 8.678 B 8.174 B 9.074 B 10.097 B +costofGoodsAndServicesSold 52 M 149 M 75 M 36 M 35 M +operatingIncome 809 M 575 M 594 M 1.312 B 2.004 B +sellingGeneralAndAdministrative 888 M 969 M 1.056 B 973 M 994 M +researchAndDevelopment 366 M 522 M 666 M 576 M 611 M +operatingExpenses 1.254 B 1.491 B 1.621 B 1.572 B 1.656 B +investmentIncomeNet 6 M 6 M 10 M 11 M 10 M +netInterestIncome -163 M -246 M -99 M -75 M -126 M +interestIncome 6 M 6 M 10 M 11 M 10 M +interestExpense 163 M 246 M 99 M 75 M 126 M +nonInterestIncome -161 M -125 M -2 M 1 M -7 M +otherNonOperatingIncome -97 M 44 M 28 M 45 M -6 M +depreciation 403 M 440 M 424 M 461 M 495 M +depreciationAndAmortization 584 M 618 M 621 M 681 M 761 M +incomeBeforeTax 517 M 353 M 507 M 1.257 B 1.841 B +incomeTaxExpense 186 M 83 M 69 M 115 M 223 M +interestAndDebtExpense 163 M 351 M 99 M 75 M 126 M +netIncomeFromContinuingOperations 369 M 2.066 B 464 M 1.178 B 1.659 B +comprehensiveIncomeNetOfTax 496 M 508 M 218 M 1.205 B 1.532 B +ebit 680 M 599 M 606 M 1.332 B 1.967 B +ebitda 1.264 B 1.186 B 1.227 B 2.013 B 2.728 B +netIncome 331 M 270 M 438 M 1.142 B 1.618 B diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict3].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict3].txt index 5ca0fb5e1e2..b39d98a32ec 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict3].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict3].txt @@ -1,54 +1,27 @@ -╒═══════════════════════════════════╤══════════════╤══════════════╤══════════════╤══════════════╤══════════════╕ -│ │ 2016-12-31 │ 2017-12-31 │ 2018-12-31 │ 2019-12-31 │ 2020-12-31 │ -╞═══════════════════════════════════╪══════════════╪══════════════╪══════════════╪══════════════╪══════════════╡ -│ reportedCurrency │ USD │ USD │ USD │ USD │ USD │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ grossProfit │ 1.599 B │ 2.223 B │ 4.042 B │ 4.069 B │ 6.630 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ totalRevenue │ 7.000 B │ 11.759 B │ 21.461 B │ 24.578 B │ 31.536 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ costOfRevenue │ 5.401 B │ 9.536 B │ 17.419 B │ 20.509 B │ 24.906 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ costofGoodsAndServicesSold │ 4.560 B │ 7.797 B │ 85.272 M │ 193 M │ 289 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ operatingIncome │ -667.340 M │ -1.632 B │ -388 M │ -69 M │ 1.994 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ sellingGeneralAndAdministrative │ 1.432 B │ 2.477 B │ 2.835 B │ 2.646 B │ 3.145 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ researchAndDevelopment │ 834.408 M │ 1.378 B │ 1.460 B │ 1.343 B │ 1.491 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ operatingExpenses │ 2.267 B │ 3.855 B │ 4.430 B │ 4.138 B │ 4.636 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ investmentIncomeNet │ 8.530 M │ 19.686 M │ 24.533 M │ 44 M │ 30 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ netInterestIncome │ -198.810 M │ -471.259 M │ -663.071 M │ -685 M │ -748 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ interestIncome │ None │ -259 K │ -71 K │ 44 M │ 30 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ interestExpense │ 198.810 M │ 471 M │ 663 M │ 685 M │ 748 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ nonInterestIncome │ 756.309 M │ 948.469 M │ 22.185 B │ -98 M │ -336 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ otherNonOperatingIncome │ 111.272 M │ -125 M │ 22 M │ 45 M │ -122 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ depreciation │ 477.300 M │ 769 M │ 1.110 B │ 1.370 B │ 1.570 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ depreciationAndAmortization │ 947.099 M │ 1.636 B │ 66 M │ 343 M │ 399 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ incomeBeforeTax │ -648.216 M │ -1.930 B │ -918 M │ -752 M │ 1.013 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ incomeTaxExpense │ 26.698 M │ 32 M │ 58 M │ 110 M │ 292 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ interestAndDebtExpense │ 198.810 M │ 471.259 M │ 663.071 M │ 685 M │ 853 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ netIncomeFromContinuingOperations │ -773.046 M │ -2.241 B │ -1.063 B │ -775 M │ 862 M │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ comprehensiveIncomeNetOfTax │ -695.098 M │ -1.905 B │ -1.018 B │ -890 M │ 1.120 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ ebit │ -449.406 M │ -1.459 B │ -255 M │ -67 M │ 1.761 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ ebitda │ 497.693 M │ 177.003 M │ -189 M │ 276 M │ 2.160 B │ -├───────────────────────────────────┼──────────────┼──────────────┼──────────────┼──────────────┼──────────────┤ -│ netIncome │ -674.914 M │ -1.962 B │ -976 M │ -862 M │ 721 M │ -╘═══════════════════════════════════╧══════════════╧══════════════╧══════════════╧══════════════╧══════════════╛ +fiscalDateEnding 2016-12-31 2017-12-31 2018-12-31 2019-12-31 2020-12-31 +reportedCurrency USD USD USD USD USD +grossProfit 1.599 B 2.223 B 4.042 B 4.069 B 6.630 B +totalRevenue 7.000 B 11.759 B 21.461 B 24.578 B 31.536 B +costOfRevenue 5.401 B 9.536 B 17.419 B 20.509 B 24.906 B +costofGoodsAndServicesSold 4.560 B 7.797 B 85.272 M 193 M 289 M +operatingIncome -667.340 M -1.632 B -388 M -69 M 1.994 B +sellingGeneralAndAdministrative 1.432 B 2.477 B 2.835 B 2.646 B 3.145 B +researchAndDevelopment 834.408 M 1.378 B 1.460 B 1.343 B 1.491 B +operatingExpenses 2.267 B 3.855 B 4.430 B 4.138 B 4.636 B +investmentIncomeNet 8.530 M 19.686 M 24.533 M 44 M 30 M +netInterestIncome -198.810 M -471.259 M -663.071 M -685 M -748 M +interestIncome None -259 K -71 K 44 M 30 M +interestExpense 198.810 M 471 M 663 M 685 M 748 M +nonInterestIncome 756.309 M 948.469 M 22.185 B -98 M -336 M +otherNonOperatingIncome 111.272 M -125 M 22 M 45 M -122 M +depreciation 477.300 M 769 M 1.110 B 1.370 B 1.570 B +depreciationAndAmortization 947.099 M 1.636 B 66 M 343 M 399 M +incomeBeforeTax -648.216 M -1.930 B -918 M -752 M 1.013 B +incomeTaxExpense 26.698 M 32 M 58 M 110 M 292 M +interestAndDebtExpense 198.810 M 471.259 M 663.071 M 685 M 853 M +netIncomeFromContinuingOperations -773.046 M -2.241 B -1.063 B -775 M 862 M +comprehensiveIncomeNetOfTax -695.098 M -1.905 B -1.018 B -890 M 1.120 B +ebit -449.406 M -1.459 B -255 M -67 M 1.761 B +ebitda 497.693 M 177.003 M -189 M 276 M 2.160 B +netIncome -674.914 M -1.962 B -976 M -862 M 721 M diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_key-kwargs_dict1].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_key-kwargs_dict1].txt index bb697d4f2b6..6584dc5ab96 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_key-kwargs_dict1].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_key-kwargs_dict1].txt @@ -1,26 +1,14 @@ -╒══════════════════════════╤═════════╕ -│ Market capitalization │ 1.100 T │ -├──────────────────────────┼─────────┤ -│ EBITDA │ 7.267 B │ -├──────────────────────────┼─────────┤ -│ EPS │ 3.062 │ -├──────────────────────────┼─────────┤ -│ PE ratio │ 353.84 │ -├──────────────────────────┼─────────┤ -│ PEG ratio │ 2.904 │ -├──────────────────────────┼─────────┤ -│ Price to book ratio │ 40.65 │ -├──────────────────────────┼─────────┤ -│ Return on equity TTM │ 0.156 │ -├──────────────────────────┼─────────┤ -│ Price to sales ratio TTM │ 23.24 │ -├──────────────────────────┼─────────┤ -│ Dividend yield │ 0 │ -├──────────────────────────┼─────────┤ -│ 50 day moving average │ 969.6 │ -├──────────────────────────┼─────────┤ -│ Analyst target price │ 836.72 │ -├──────────────────────────┼─────────┤ -│ Beta │ 2.009 │ -╘══════════════════════════╧═════════╛ + 0 +Market capitalization 1.100 T +EBITDA 7.267 B +EPS 3.062 +PE ratio 353.84 +PEG ratio 2.904 +Price to book ratio 40.65 +Return on equity TTM 0.156 +Price to sales ratio TTM 23.24 +Dividend yield 0 +50 day moving average 969.6 +Analyst target price 836.72 +Beta 2.009 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_overview-kwargs_dict0].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_overview-kwargs_dict0].txt index 8cc73c99e7c..8d1ecc1939c 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_overview-kwargs_dict0].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_overview-kwargs_dict0].txt @@ -1,94 +1,49 @@ -╒═══════════════════════════════╤═══════════════════════════════════════╕ -│ Symbol │ TSLA │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Asset type │ Common Stock │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Name │ Tesla Inc │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ C i k │ 1318605 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Exchange │ NASDAQ │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Currency │ USD │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Country │ USA │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Sector │ MANUFACTURING │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Industry │ MOTOR VEHICLES & PASSENGER CAR BODIES │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Address │ 3500 DEER CREEK RD, PALO ALTO, CA, US │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Fiscal year end │ December │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Latest quarter │ 2021-09-30 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Market capitalization │ 1.100 T │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ EBITDA │ 7.267 B │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ PE ratio │ 353.84 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ PEG ratio │ 2.904 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Book value │ 26.95 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Dividend per share │ None │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Dividend yield │ 0 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ EPS │ 3.062 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Revenue per share TTM │ 48.27 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Profit margin │ 0.074 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Operating margin TTM │ 0.0979 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Return on assets TTM │ 0.0554 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Return on equity TTM │ 0.156 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Revenue TTM │ 46.848 B │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Gross profit TTM │ 6.630 B │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Diluted EPS TTM │ 3.062 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Quarterly earnings growth YOY │ 4.333 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Quarterly revenue growth YOY │ 0.568 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Analyst target price │ 836.72 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Trailing PE │ 353.84 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Forward PE │ 133.33 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Price to sales ratio TTM │ 23.24 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Price to book ratio │ 40.65 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ EV to revenue │ 23.35 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ EV to EBITDA │ 149.54 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Beta │ 2.009 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ 52 week high │ 1243.49 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ 52 week low │ 539.49 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ 50 day moving average │ 969.6 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ 200 day moving average │ 747.41 │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Shares outstanding │ 1.004 B │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Dividend date │ None │ -├───────────────────────────────┼───────────────────────────────────────┤ -│ Ex dividend date │ None │ -╘═══════════════════════════════╧═══════════════════════════════════════╛ + 0 +Symbol TSLA +Asset type Common Stock +Name Tesla Inc +C i k 1318605 +Exchange NASDAQ +Currency USD +Country USA +Sector MANUFACTURING +Industry MOTOR VEHICLES & PASSENGER CAR BODIES +Address 3500 DEER CREEK RD, PALO ALTO, CA, US +Fiscal year end December +Latest quarter 2021-09-30 +Market capitalization 1.100 T +EBITDA 7.267 B +PE ratio 353.84 +PEG ratio 2.904 +Book value 26.95 +Dividend per share None +Dividend yield 0 +EPS 3.062 +Revenue per share TTM 48.27 +Profit margin 0.074 +Operating margin TTM 0.0979 +Return on assets TTM 0.0554 +Return on equity TTM 0.156 +Revenue TTM 46.848 B +Gross profit TTM 6.630 B +Diluted EPS TTM 3.062 +Quarterly earnings growth YOY 4.333 +Quarterly revenue growth YOY 0.568 +Analyst target price 836.72 +Trailing PE 353.84 +Forward PE 133.33 +Price to sales ratio TTM 23.24 +Price to book ratio 40.65 +EV to revenue 23.35 +EV to EBITDA 149.54 +Beta 2.009 +52 week high 1243.49 +52 week low 539.49 +50 day moving average 969.6 +200 day moving average 747.41 +Shares outstanding 1.004 B +Dividend date None +Ex dividend date None Company Description: diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_business_insider_view/test_display_management[False].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_business_insider_view/test_display_management[False].txt index 52d8bafcf7a..940e67d54a4 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_business_insider_view/test_display_management[False].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_business_insider_view/test_display_management[False].txt @@ -1,17 +1,17 @@ - Title Info Insider Activity -Name -Robyn M. Denholm Chairman http://www.google.com/search?q=Robyn%20M.%20Denholm%20TSLA - -Vaibhav Taneja Chief Accounting Officer http://www.google.com/search?q=Vaibhav%20Taneja%20TSLA - -Kimbal Musk Director http://www.google.com/search?q=Kimbal%20Musk%20TSLA - -Peter Badenfleth-Hansen Director-EMEA Business Development http://www.google.com/search?q=Peter%20Badenfleth-Hansen%20TSLA - -Hiromichi Mizuno Independent Director http://www.google.com/search?q=Hiromichi%20Mizuno%20TSLA - -Ira M. Ehrenpreis Independent Director http://www.google.com/search?q=Ira%20M.%20Ehrenpreis%20TSLA - -James Rupert Murdoch Independent Director http://www.google.com/search?q=James%20Rupert%20Murdoch%20TSLA - -Kathleen Wilson-Thompson Independent Director http://www.google.com/search?q=Kathleen%20Wilson-Thompson%20TSLA - -Lawrence Joseph Ellison Independent Director http://www.google.com/search?q=Lawrence%20Joseph%20Ellison%20TSLA - -Zachary J. Kirkhorn Master of Coin http://www.google.com/search?q=Zachary%20J.%20Kirkhorn%20TSLA - -Andrew Baglino SVP-Powertrain & Energy Engineering http://www.google.com/search?q=Andrew%20Baglino%20TSLA - -Martin Viecha Senior Director-Investor Relations http://www.google.com/search?q=Martin%20Viecha%20TSLA - -Elon Reeve Musk Technoking of Tesla http://www.google.com/search?q=Elon%20Reeve%20Musk%20TSLA https://markets.businessinsider.com/stocks/insideractivitytrader/musk-elon-831665 -Yaron Klein Treasurer http://www.google.com/search?q=Yaron%20Klein%20TSLA - + Title Info Insider Activity +Name +Robyn M. Denholm Chairman http://www.google.com/search?q\n=Robyn%20M.%20Denholm%20TSLA - +Vaibhav Taneja Chief Accounting Officer http://www.google.com/search?q\n=Vaibhav%20Taneja%20TSLA - +Kimbal Musk Director http://www.google.com/search?q\n=Kimbal%20Musk%20TSLA - +Peter Badenfleth-Hansen Director-EMEA Business\nDevelopment http://www.google.com/search?q\n=Peter%20Badenfleth-\nHansen%20TSLA - +Hiromichi Mizuno Independent Director http://www.google.com/search?q\n=Hiromichi%20Mizuno%20TSLA - +Ira M. Ehrenpreis Independent Director http://www.google.com/search?q\n=Ira%20M.%20Ehrenpreis%20TSLA - +James Rupert Murdoch Independent Director http://www.google.com/search?q\n=James%20Rupert%20Murdoch%20TS\nLA - +Kathleen Wilson-Thompson Independent Director http://www.google.com/search?q\n=Kathleen%20Wilson-\nThompson%20TSLA - +Lawrence Joseph Ellison Independent Director http://www.google.com/search?q\n=Lawrence%20Joseph%20Ellison%2\n0TSLA - +Zachary J. Kirkhorn Master of Coin http://www.google.com/search?q\n=Zachary%20J.%20Kirkhorn%20TSL\nA - +Andrew Baglino SVP-Powertrain & Energy\nEngineering http://www.google.com/search?q\n=Andrew%20Baglino%20TSLA - +Martin Viecha Senior Director-Investor\nRelations http://www.google.com/search?q\n=Martin%20Viecha%20TSLA - +Elon Reeve Musk Technoking of Tesla http://www.google.com/search?q\n=Elon%20Reeve%20Musk%20TSLA https://markets.businessinside\nr.com/stocks/insideractivitytr\nader/musk-elon-831665 +Yaron Klein Treasurer http://www.google.com/search?q\n=Yaron%20Klein%20TSLA - diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_business_insider_view/test_display_management[True].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_business_insider_view/test_display_management[True].txt index 46490a40d55..940e67d54a4 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_business_insider_view/test_display_management[True].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_business_insider_view/test_display_management[True].txt @@ -1,52 +1,17 @@ -╒══════════════════════════╤══════════════════════════╤════════════════════════════════╤════════════════════════════════╕ -│ Name │ Title │ Info │ Insider Activity │ -╞══════════════════════════╪══════════════════════════╪════════════════════════════════╪════════════════════════════════╡ -│ Robyn M. Denholm │ Chairman │ http://www.google.com/search?q │ - │ -│ │ │ =Robyn%20M.%20Denholm%20TSLA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Vaibhav Taneja │ Chief Accounting Officer │ http://www.google.com/search?q │ - │ -│ │ │ =Vaibhav%20Taneja%20TSLA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Kimbal Musk │ Director │ http://www.google.com/search?q │ - │ -│ │ │ =Kimbal%20Musk%20TSLA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Peter Badenfleth-Hansen │ Director-EMEA Business │ http://www.google.com/search?q │ - │ -│ │ Development │ =Peter%20Badenfleth- │ │ -│ │ │ Hansen%20TSLA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Hiromichi Mizuno │ Independent Director │ http://www.google.com/search?q │ - │ -│ │ │ =Hiromichi%20Mizuno%20TSLA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Ira M. Ehrenpreis │ Independent Director │ http://www.google.com/search?q │ - │ -│ │ │ =Ira%20M.%20Ehrenpreis%20TSLA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ James Rupert Murdoch │ Independent Director │ http://www.google.com/search?q │ - │ -│ │ │ =James%20Rupert%20Murdoch%20TS │ │ -│ │ │ LA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Kathleen Wilson-Thompson │ Independent Director │ http://www.google.com/search?q │ - │ -│ │ │ =Kathleen%20Wilson- │ │ -│ │ │ Thompson%20TSLA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Lawrence Joseph Ellison │ Independent Director │ http://www.google.com/search?q │ - │ -│ │ │ =Lawrence%20Joseph%20Ellison%2 │ │ -│ │ │ 0TSLA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Zachary J. Kirkhorn │ Master of Coin │ http://www.google.com/search?q │ - │ -│ │ │ =Zachary%20J.%20Kirkhorn%20TSL │ │ -│ │ │ A │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Andrew Baglino │ SVP-Powertrain & Energy │ http://www.google.com/search?q │ - │ -│ │ Engineering │ =Andrew%20Baglino%20TSLA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Martin Viecha │ Senior Director-Investor │ http://www.google.com/search?q │ - │ -│ │ Relations │ =Martin%20Viecha%20TSLA │ │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Elon Reeve Musk │ Technoking of Tesla │ http://www.google.com/search?q │ https://markets.businessinside │ -│ │ │ =Elon%20Reeve%20Musk%20TSLA │ r.com/stocks/insideractivitytr │ -│ │ │ │ ader/musk-elon-831665 │ -├──────────────────────────┼──────────────────────────┼────────────────────────────────┼────────────────────────────────┤ -│ Yaron Klein │ Treasurer │ http://www.google.com/search?q │ - │ -│ │ │ =Yaron%20Klein%20TSLA │ │ -╘══════════════════════════╧══════════════════════════╧════════════════════════════════╧════════════════════════════════╛ + Title Info Insider Activity +Name +Robyn M. Denholm Chairman http://www.google.com/search?q\n=Robyn%20M.%20Denholm%20TSLA - +Vaibhav Taneja Chief Accounting Officer http://www.google.com/search?q\n=Vaibhav%20Taneja%20TSLA - +Kimbal Musk Director http://www.google.com/search?q\n=Kimbal%20Musk%20TSLA - +Peter Badenfleth-Hansen Director-EMEA Business\nDevelopment http://www.google.com/search?q\n=Peter%20Badenfleth-\nHansen%20TSLA - +Hiromichi Mizuno Independent Director http://www.google.com/search?q\n=Hiromichi%20Mizuno%20TSLA - +Ira M. Ehrenpreis Independent Director http://www.google.com/search?q\n=Ira%20M.%20Ehrenpreis%20TSLA - +James Rupert Murdoch Independent Director http://www.google.com/search?q\n=James%20Rupert%20Murdoch%20TS\nLA - +Kathleen Wilson-Thompson Independent Director http://www.google.com/search?q\n=Kathleen%20Wilson-\nThompson%20TSLA - +Lawrence Joseph Ellison Independent Director http://www.google.com/search?q\n=Lawrence%20Joseph%20Ellison%2\n0TSLA - +Zachary J. Kirkhorn Master of Coin http://www.google.com/search?q\n=Zachary%20J.%20Kirkhorn%20TSL\nA - +Andrew Baglino SVP-Powertrain & Energy\nEngineering http://www.google.com/search?q\n=Andrew%20Baglino%20TSLA - +Martin Viecha Senior Director-Investor\nRelations http://www.google.com/search?q\n=Martin%20Viecha%20TSLA - +Elon Reeve Musk Technoking of Tesla http://www.google.com/search?q\n=Elon%20Reeve%20Musk%20TSLA https://markets.businessinside\nr.com/stocks/insideractivitytr\nader/musk-elon-831665 +Yaron Klein Treasurer http://www.google.com/search?q\n=Yaron%20Klein%20TSLA - diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_finviz_view/test_display_screen_data[False].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_finviz_view/test_display_screen_data[False].txt index 7f7791a4b9f..3df669efc9b 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_finviz_view/test_display_screen_data[False].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_finviz_view/test_display_screen_data[False].txt @@ -1,4 +1,5 @@ + Values Company Tesla, Inc. Sector Consumer Cyclical Industry Auto Manufacturers diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_finviz_view/test_display_screen_data[True].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_finviz_view/test_display_screen_data[True].txt index c6696e42911..3df669efc9b 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_finviz_view/test_display_screen_data[True].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_finviz_view/test_display_screen_data[True].txt @@ -1,149 +1,76 @@ -╒═══════════════╤════════════════════╕ -│ Company │ Tesla, Inc. │ -├───────────────┼────────────────────┤ -│ Sector │ Consumer Cyclical │ -├───────────────┼────────────────────┤ -│ Industry │ Auto Manufacturers │ -├───────────────┼────────────────────┤ -│ Country │ USA │ -├───────────────┼────────────────────┤ -│ Index │ S&P 500 │ -├───────────────┼────────────────────┤ -│ P/E │ 346.84 │ -├───────────────┼────────────────────┤ -│ EPS (ttm) │ 3.08 │ -├───────────────┼────────────────────┤ -│ Insider Own │ 0.20% │ -├───────────────┼────────────────────┤ -│ Shs Outstand │ 963.33M │ -├───────────────┼────────────────────┤ -│ Perf Week │ -2.38% │ -├───────────────┼────────────────────┤ -│ Market Cap │ 1029.76B │ -├───────────────┼────────────────────┤ -│ Forward P/E │ 130.81 │ -├───────────────┼────────────────────┤ -│ EPS next Y │ 34.87% │ -├───────────────┼────────────────────┤ -│ Insider Trans │ -84.53% │ -├───────────────┼────────────────────┤ -│ Shs Float │ 811.86M │ -├───────────────┼────────────────────┤ -│ Perf Month │ -8.08% │ -├───────────────┼────────────────────┤ -│ Income │ 3.47B │ -├───────────────┼────────────────────┤ -│ PEG │ 4.75 │ -├───────────────┼────────────────────┤ -│ EPS next Q │ 2.25 │ -├───────────────┼────────────────────┤ -│ Inst Own │ 42.50% │ -├───────────────┼────────────────────┤ -│ Short Float │ 3.17% │ -├───────────────┼────────────────────┤ -│ Perf Quarter │ 41.61% │ -├───────────────┼────────────────────┤ -│ Sales │ 46.85B │ -├───────────────┼────────────────────┤ -│ P/S │ 21.98 │ -├───────────────┼────────────────────┤ -│ EPS this Y │ 165.00% │ -├───────────────┼────────────────────┤ -│ Inst Trans │ 4.67% │ -├───────────────┼────────────────────┤ -│ Short Ratio │ 1.01 │ -├───────────────┼────────────────────┤ -│ Perf Half Y │ 75.20% │ -├───────────────┼────────────────────┤ -│ Book/sh │ 27.11 │ -├───────────────┼────────────────────┤ -│ P/B │ 39.43 │ -├───────────────┼────────────────────┤ -│ ROA │ 6.40% │ -├───────────────┼────────────────────┤ -│ Target Price │ 836.72 │ -├───────────────┼────────────────────┤ -│ Perf Year │ 64.49% │ -├───────────────┼────────────────────┤ -│ Cash/sh │ 16.71 │ -├───────────────┼────────────────────┤ -│ P/C │ 63.98 │ -├───────────────┼────────────────────┤ -│ EPS next 5Y │ 73.06% │ -├───────────────┼────────────────────┤ -│ ROE │ 14.30% │ -├───────────────┼────────────────────┤ -│ 52W Range │ 539.49 - 1243.49 │ -├───────────────┼────────────────────┤ -│ Perf YTD │ 51.48% │ -├───────────────┼────────────────────┤ -│ P/FCF │ 104.12 │ -├───────────────┼────────────────────┤ -│ EPS past 5Y │ 19.70% │ -├───────────────┼────────────────────┤ -│ ROI │ 5.00% │ -├───────────────┼────────────────────┤ -│ 52W High │ -14.04% │ -├───────────────┼────────────────────┤ -│ Beta │ 2.05 │ -├───────────────┼────────────────────┤ -│ Quick Ratio │ 1.10 │ -├───────────────┼────────────────────┤ -│ Sales past 5Y │ 50.80% │ -├───────────────┼────────────────────┤ -│ Gross Margin │ 23.10% │ -├───────────────┼────────────────────┤ -│ 52W Low │ 98.14% │ -├───────────────┼────────────────────┤ -│ ATR │ 63.76 │ -├───────────────┼────────────────────┤ -│ Employees │ 70757 │ -├───────────────┼────────────────────┤ -│ Current Ratio │ 1.40 │ -├───────────────┼────────────────────┤ -│ Sales Q/Q │ 56.80% │ -├───────────────┼────────────────────┤ -│ Oper. Margin │ 9.60% │ -├───────────────┼────────────────────┤ -│ RSI (14) │ 50.93 │ -├───────────────┼────────────────────┤ -│ Volatility │ 5.73% 6.15% │ -├───────────────┼────────────────────┤ -│ Optionable │ Yes │ -├───────────────┼────────────────────┤ -│ Debt/Eq │ 0.30 │ -├───────────────┼────────────────────┤ -│ EPS Q/Q │ 430.70% │ -├───────────────┼────────────────────┤ -│ Profit Margin │ 7.40% │ -├───────────────┼────────────────────┤ -│ Rel Volume │ 0.54 │ -├───────────────┼────────────────────┤ -│ Prev Close │ 1051.75 │ -├───────────────┼────────────────────┤ -│ Shortable │ Yes │ -├───────────────┼────────────────────┤ -│ LT Debt/Eq │ 0.24 │ -├───────────────┼────────────────────┤ -│ Earnings │ Oct 20 AMC │ -├───────────────┼────────────────────┤ -│ Payout │ 0.00% │ -├───────────────┼────────────────────┤ -│ Avg Volume │ 25.48M │ -├───────────────┼────────────────────┤ -│ Price │ 1068.96 │ -├───────────────┼────────────────────┤ -│ Recom │ 2.60 │ -├───────────────┼────────────────────┤ -│ SMA20 │ -0.93% │ -├───────────────┼────────────────────┤ -│ SMA50 │ 7.83% │ -├───────────────┼────────────────────┤ -│ SMA200 │ 41.90% │ -├───────────────┼────────────────────┤ -│ Volume │ 13,881,093 │ -├───────────────┼────────────────────┤ -│ Change │ 1.64% │ -╘═══════════════╧════════════════════╛ + Values +Company Tesla, Inc. +Sector Consumer Cyclical +Industry Auto Manufacturers +Country USA +Index S&P 500 +P/E 346.84 +EPS (ttm) 3.08 +Insider Own 0.20% +Shs Outstand 963.33M +Perf Week -2.38% +Market Cap 1029.76B +Forward P/E 130.81 +EPS next Y 34.87% +Insider Trans -84.53% +Shs Float 811.86M +Perf Month -8.08% +Income 3.47B +PEG 4.75 +EPS next Q 2.25 +Inst Own 42.50% +Short Float 3.17% +Perf Quarter 41.61% +Sales 46.85B +P/S 21.98 +EPS this Y 165.00% +Inst Trans 4.67% +Short Ratio 1.01 +Perf Half Y 75.20% +Book/sh 27.11 +P/B 39.43 +ROA 6.40% +Target Price 836.72 +Perf Year 64.49% +Cash/sh 16.71 +P/C 63.98 +EPS next 5Y 73.06% +ROE 14.30% +52W Range 539.49 - 1243.49 +Perf YTD 51.48% +P/FCF 104.12 +EPS past 5Y 19.70% +ROI 5.00% +52W High -14.04% +Beta 2.05 +Quick Ratio 1.10 +Sales past 5Y 50.80% +Gross Margin 23.10% +52W Low 98.14% +ATR 63.76 +Employees 70757 +Current Ratio 1.40 +Sales Q/Q 56.80% +Oper. Margin 9.60% +RSI (14) 50.93 +Volatility 5.73% 6.15% +Optionable Yes +Debt/Eq 0.30 +EPS Q/Q 430.70% +Profit Margin 7.40% +Rel Volume 0.54 +Prev Close 1051.75 +Shortable Yes +LT Debt/Eq 0.24 +Earnings Oct 20 AMC +Payout 0.00% +Avg Volume 25.48M +Price 1068.96 +Recom 2.60 +SMA20 -0.93% +SMA50 7.83% +SMA200 41.90% +Volume 13,881,093 +Change 1.64% diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_market_watch_view/test_display_sean_seah_warnings[True-False].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_market_watch_view/test_display_sean_seah_warnings[True-False].txt index de433141e25..82e93193514 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_market_watch_view/test_display_sean_seah_warnings[True-False].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_market_watch_view/test_display_sean_seah_warnings[True-False].txt @@ -1,27 +1,16 @@ -╒════════════════════════════════════╤═══════════════╤═══════════════╤═══════════════╤═══════════════╤═══════════════╕ -│ │ 2017 │ 2018 │ 2019 │ 2020 │ 2021 │ -╞════════════════════════════════════╪═══════════════╪═══════════════╪═══════════════╪═══════════════╪═══════════════╡ -│ EPS (Basic) │ 3.42 │ 0.34 │ 7.23 │ 5.38 │ 3.31 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Net Income │ 353200000.00 │ 230400000.00 │ 794800000.00 │ 464400000.00 │ 214600000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Interest Expense │ 53800000.00 │ 56800000.00 │ 56800000.00 │ 38500000.00 │ 34000000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ EBITDA │ 773500000.00 │ 574100000.00 │ 417700000.00 │ 141900000.00 │ 172900000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Total Shareholders' Equity │ 2250000000.00 │ 2210000000.00 │ 1340000000.00 │ 611500000.00 │ 436700000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Liabilities & Shareholders' Equity │ 4980000000.00 │ 5040000000.00 │ 4040000000.00 │ 2820000000.00 │ 2470000000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Long-Term Debt │ 815000000.00 │ 817900000.00 │ 471600000.00 │ 949100000.00 │ 672700000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ ROE │ 0.16 │ 0.10 │ 0.59 │ 0.76 │ 0.49 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Interest Coverage Ratio │ 14.38 │ 10.11 │ 7.35 │ 3.69 │ 5.09 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ ROA │ 0.07 │ 0.05 │ 0.20 │ 0.16 │ 0.09 │ -╘════════════════════════════════════╧═══════════════╧═══════════════╧═══════════════╧═══════════════╧═══════════════╛ + 2017 2018 2019 2020 2021 +Item +EPS (Basic) 3.42 0.34 7.23 5.38 3.31 +Net Income 353200000 230400000 794800000 464400000 214600000 +Interest Expense 53800000 56800000 56800000 38500000 34000000 +EBITDA 773500000 574100000 417700000 141900000 172900000 +Total Shareholders' Equity 2250000000 2210000000 1340000000 611500000 436700000 +Liabilities & Shareholders' Equity 4980000000 5040000000 4040000000 2820000000 2470000000 +Long-Term Debt 815000000 817900000 471600000 949100000 672700000 +ROE 0.16 0.1 0.59 0.76 0.49 +Interest Coverage Ratio 14.38 10.11 7.35 3.69 5.09 +ROA 0.07 0.05 0.2 0.16 0.09 Warnings: No consistent historical earnings per share diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_market_watch_view/test_display_sean_seah_warnings[True-True].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_market_watch_view/test_display_sean_seah_warnings[True-True].txt index 3b6932bb468..a054f0998d1 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_market_watch_view/test_display_sean_seah_warnings[True-True].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_market_watch_view/test_display_sean_seah_warnings[True-True].txt @@ -1,27 +1,16 @@ -╒════════════════════════════════════╤═══════════════╤═══════════════╤═══════════════╤═══════════════╤═══════════════╕ -│ │ 2017 │ 2018 │ 2019 │ 2020 │ 2021 │ -╞════════════════════════════════════╪═══════════════╪═══════════════╪═══════════════╪═══════════════╪═══════════════╡ -│ EPS (Basic) │ 3.42 │ 0.34 │ 7.23 │ 5.38 │ 3.31 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Net Income │ 353200000.00 │ 230400000.00 │ 794800000.00 │ 464400000.00 │ 214600000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Interest Expense │ 53800000.00 │ 56800000.00 │ 56800000.00 │ 38500000.00 │ 34000000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ EBITDA │ 773500000.00 │ 574100000.00 │ 417700000.00 │ 141900000.00 │ 172900000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Total Shareholders' Equity │ 2250000000.00 │ 2210000000.00 │ 1340000000.00 │ 611500000.00 │ 436700000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Liabilities & Shareholders' Equity │ 4980000000.00 │ 5040000000.00 │ 4040000000.00 │ 2820000000.00 │ 2470000000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Long-Term Debt │ 815000000.00 │ 817900000.00 │ 471600000.00 │ 949100000.00 │ 672700000.00 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ ROE │ 0.16 │ 0.10 │ 0.59 │ 0.76 │ 0.49 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ Interest Coverage Ratio │ 14.38 │ 10.11 │ 7.35 │ 3.69 │ 5.09 │ -├────────────────────────────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ -│ ROA │ 0.07 │ 0.05 │ 0.20 │ 0.16 │ 0.09 │ -╘════════════════════════════════════╧═══════════════╧═══════════════╧═══════════════╧═══════════════╧═══════════════╛ + 2017 2018 2019 2020 2021 +Item +EPS (Basic) 3.42 0.34 7.23 5.38 3.31 +Net Income 353200000 230400000 794800000 464400000 214600000 +Interest Expense 53800000 56800000 56800000 38500000 34000000 +EBITDA 773500000 574100000 417700000 141900000 172900000 +Total Shareholders' Equity 2250000000 2210000000 1340000000 611500000 436700000 +Liabilities & Shareholders' Equity 4980000000 5040000000 4040000000 2820000000 2470000000 +Long-Term Debt 815000000 817900000 471600000 949100000 672700000 +ROE 0.16 0.1 0.59 0.76 0.49 +Interest Coverage Ratio 14.38 10.11 7.35 3.69 5.09 +ROA 0.07 0.05 0.2 0.16 0.09 Warnings: No consistent historical earnings per share diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_calendar_earnings].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_calendar_earnings].txt index c00f9052abd..f5adb6ce997 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_calendar_earnings].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_calendar_earnings].txt @@ -1,4 +1,4 @@ -Earnings Date Earnings Average Earnings Low Earnings High Revenue Average Revenue Low Revenue High - 02/02/2022 1.350 1.290 1.430 7.845 B 7.745 B 7.916 B - 02/07/2022 1.350 1.290 1.430 7.845 B 7.745 B 7.916 B + Earnings Date Earnings Average Earnings Low Earnings High Revenue Average Revenue Low Revenue High +0 02/02/2022 1.350 1.290 1.430 7.845 B 7.745 B 7.916 B +1 02/07/2022 1.350 1.290 1.430 7.845 B 7.745 B 7.916 B diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_dividends].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_dividends].txt index f0be1e9f477..0790bc5824b 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_dividends].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_dividends].txt @@ -1,58 +1,15 @@ - Dividends Dif -Date -2021-09-28 1.250 0.050 -2021-06-24 1.200 0.000 -2021-03-19 1.200 0.000 -2020-12-22 1.200 0.000 -2020-09-23 1.200 0.030 -2020-06-19 1.170 0.000 -2020-03-20 1.170 0.000 -2019-12-18 1.170 0.000 -2019-09-24 1.170 0.030 -2019-06-20 1.140 0.000 -2019-03-25 1.140 0.000 -2018-12-19 1.140 0.000 -2018-09-25 1.140 0.000 -2018-06-21 1.140 0.070 -2018-03-21 1.070 0.000 -2017-12-20 1.070 0.000 -2017-09-26 1.070 0.030 -2017-06-21 1.040 0.000 -2017-03-21 1.040 0.000 -2016-12-20 1.040 0.000 -2016-09-26 1.040 0.020 -2016-06-21 1.020 0.000 -2016-03-22 1.020 0.000 -2015-12-21 1.020 0.000 -2015-09-28 1.020 0.020 -2015-06-23 1.000 0.000 -2015-03-24 1.000 0.000 -2014-12-22 1.000 0.000 -2014-09-23 1.000 0.060 -2014-06-24 0.940 0.000 -2014-03-25 0.940 0.000 -2013-12-23 0.940 0.000 -2013-09-24 0.940 0.090 -2013-06-25 0.850 0.000 -2013-03-26 0.850 0.765 -2012-12-24 0.085 0.046 -2012-12-20 0.039 -0.811 -2012-09-25 0.850 0.080 -2012-06-25 0.770 0.000 -2012-03-27 0.770 0.000 -2011-12-20 0.770 0.000 -2011-09-23 0.770 0.130 -2011-06-21 0.640 0.000 -2011-03-22 0.640 0.000 -2010-12-21 0.640 0.000 -2010-09-22 0.640 0.060 -2010-06-22 0.580 0.000 -2010-03-23 0.580 0.000 -2009-12-23 0.580 0.000 -2009-09-24 0.580 0.040 -2009-06-22 0.540 0.000 -2009-03-23 0.540 0.000 -2008-12-23 0.540 0.000 -2008-09-11 0.540 0.080 -2008-06-26 0.460 NaN + Dividends Dif +Date +2021-09-28 1.25 0.05 +2021-06-24 1.20 0.00 +2021-03-19 1.20 0.00 +2020-12-22 1.20 0.00 +2020-09-23 1.20 0.03 +2020-06-19 1.17 0.00 +2020-03-20 1.17 0.00 +2019-12-18 1.17 0.00 +2019-09-24 1.17 0.03 +2019-06-20 1.14 0.00 +2019-03-25 1.14 0.00 +2018-12-19 1.14 0.00 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_info].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_info].txt index 81e892698b7..eadf4cd6c93 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_info].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_info].txt @@ -1,3 +1,4 @@ + Value Zip 10017-5592 Sector Consumer Defensive Full time employees 71 K diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_shareholders].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_shareholders].txt index 2682383ff07..48fd2c24275 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_shareholders].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[False-display_shareholders].txt @@ -1,37 +1,37 @@ Major Holders: - 0 1 - 0.19% Percentage of Shares Held by All Insider -76.02% Percentage of Shares Held by Institutions -76.17% Percentage of Float Held by Institutions - 2307 Number of Institutions Holding Shares + 0 1 +0 0.19% Percentage of Shares Held by All Insider +1 76.02% Percentage of Shares Held by Institutions +2 76.17% Percentage of Float Held by Institutions +3 2307 Number of Institutions Holding Shares Institutuinal Holders: - Holder Shares Date Reported Stake Value - Vanguard Group, Inc. (The) 125.443 M 2021-09-29 8.06 % 11.891 B - Blackrock Inc. 91.929 M 2021-09-29 5.90 % 8.714 B - Capital World Investors 82.761 M 2021-09-29 5.32 % 7.845 B - Capital International Investors 74.091 M 2021-09-29 4.76 % 7.023 B -Capital Research Global Investors 57.783 M 2021-09-29 3.71 % 5.477 B - State Street Corporation 54.513 M 2021-09-29 3.50 % 5.167 B - Morgan Stanley 45.512 M 2021-09-29 2.92 % 4.314 B - Geode Capital Management, LLC 27.119 M 2021-09-29 1.74 % 2.571 B - JP Morgan Chase & Company 25.618 M 2021-09-29 1.65 % 2.428 B - Wellington Management Group, LLP 24.769 M 2021-09-29 1.59 % 2.348 B + Holder Shares Date Reported Stake Value +0 Vanguard Group, Inc. (The) 125.443 M 2021-09-29 8.06 % 11.891 B +1 Blackrock Inc. 91.929 M 2021-09-29 5.90 % 8.714 B +2 Capital World Investors 82.761 M 2021-09-29 5.32 % 7.845 B +3 Capital International Investors 74.091 M 2021-09-29 4.76 % 7.023 B +4 Capital Research Global Investors 57.783 M 2021-09-29 3.71 % 5.477 B +5 State Street Corporation 54.513 M 2021-09-29 3.50 % 5.167 B +6 Morgan Stanley 45.512 M 2021-09-29 2.92 % 4.314 B +7 Geode Capital Management, LLC 27.119 M 2021-09-29 1.74 % 2.571 B +8 JP Morgan Chase & Company 25.618 M 2021-09-29 1.65 % 2.428 B +9 Wellington Management Group, LLP 24.769 M 2021-09-29 1.59 % 2.348 B Mutual Fund Holders: - Holder Shares Date Reported Stake Value -Vanguard Total Stock Market Index Fund 44.038 M 2021-09-29 2.83 % 4.174 B - American Balanced Fund 39.212 M 2021-09-29 2.52 % 3.717 B - Vanguard 500 Index Fund 32.730 M 2021-09-29 2.10 % 3.102 B - Income Fund of America Inc 32.519 M 2021-09-29 2.09 % 3.083 B - Capital Income Builder, Inc. 27.852 M 2021-09-29 1.79 % 2.640 B - Investment Company Of America 27.817 M 2021-09-29 1.79 % 2.637 B - Fundamental Investors Inc 24.179 M 2021-09-29 1.55 % 2.292 B - Capital World Growth and Income Fund 17.801 M 2021-09-29 1.14 % 1.687 B - SPDR S&P 500 ETF Trust 16.480 M 2021-09-29 1.06 % 1.562 B - Fidelity 500 Index Fund 15.103 M 2021-10-30 0.97 % 1.428 B + Holder Shares Date Reported Stake Value +0 Vanguard Total Stock Market Index Fund 44.038 M 2021-09-29 2.83 % 4.174 B +1 American Balanced Fund 39.212 M 2021-09-29 2.52 % 3.717 B +2 Vanguard 500 Index Fund 32.730 M 2021-09-29 2.10 % 3.102 B +3 Income Fund of America Inc 32.519 M 2021-09-29 2.09 % 3.083 B +4 Capital Income Builder, Inc. 27.852 M 2021-09-29 1.79 % 2.640 B +5 Investment Company Of America 27.817 M 2021-09-29 1.79 % 2.637 B +6 Fundamental Investors Inc 24.179 M 2021-09-29 1.55 % 2.292 B +7 Capital World Growth and Income Fund 17.801 M 2021-09-29 1.14 % 1.687 B +8 SPDR S&P 500 ETF Trust 16.480 M 2021-09-29 1.06 % 1.562 B +9 Fidelity 500 Index Fund 15.103 M 2021-10-30 0.97 % 1.428 B diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_calendar_earnings].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_calendar_earnings].txt index 8f833799454..f5adb6ce997 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_calendar_earnings].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_calendar_earnings].txt @@ -1,8 +1,4 @@ -╒═════════════════╤════════════════════╤════════════════╤═════════════════╤═══════════════════╤═══════════════╤════════════════╕ -│ Earnings Date │ Earnings Average │ Earnings Low │ Earnings High │ Revenue Average │ Revenue Low │ Revenue High │ -╞═════════════════╪════════════════════╪════════════════╪═════════════════╪═══════════════════╪═══════════════╪════════════════╡ -│ 02/02/2022 │ 1.35 │ 1.29 │ 1.43 │ 7.845 B │ 7.745 B │ 7.916 B │ -├─────────────────┼────────────────────┼────────────────┼─────────────────┼───────────────────┼───────────────┼────────────────┤ -│ 02/07/2022 │ 1.35 │ 1.29 │ 1.43 │ 7.845 B │ 7.745 B │ 7.916 B │ -╘═════════════════╧════════════════════╧════════════════╧═════════════════╧═══════════════════╧═══════════════╧════════════════╛ + Earnings Date Earnings Average Earnings Low Earnings High Revenue Average Revenue Low Revenue High +0 02/02/2022 1.350 1.290 1.430 7.845 B 7.745 B 7.916 B +1 02/07/2022 1.350 1.290 1.430 7.845 B 7.745 B 7.916 B diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_dividends].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_dividends].txt index e0db03a4ccf..0790bc5824b 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_dividends].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_dividends].txt @@ -1,28 +1,15 @@ -╒════════════╤═══════════════════╤══════════╕ -│ │ Amount Paid ($) │ Change │ -╞════════════╪═══════════════════╪══════════╡ -│ 2021-09-28 │ 1.25 │ 0.05 │ -├────────────┼───────────────────┼──────────┤ -│ 2021-06-24 │ 1.20 │ 0.00 │ -├────────────┼───────────────────┼──────────┤ -│ 2021-03-19 │ 1.20 │ 0.00 │ -├────────────┼───────────────────┼──────────┤ -│ 2020-12-22 │ 1.20 │ 0.00 │ -├────────────┼───────────────────┼──────────┤ -│ 2020-09-23 │ 1.20 │ 0.03 │ -├────────────┼───────────────────┼──────────┤ -│ 2020-06-19 │ 1.17 │ 0.00 │ -├────────────┼───────────────────┼──────────┤ -│ 2020-03-20 │ 1.17 │ 0.00 │ -├────────────┼───────────────────┼──────────┤ -│ 2019-12-18 │ 1.17 │ 0.00 │ -├────────────┼───────────────────┼──────────┤ -│ 2019-09-24 │ 1.17 │ 0.03 │ -├────────────┼───────────────────┼──────────┤ -│ 2019-06-20 │ 1.14 │ 0.00 │ -├────────────┼───────────────────┼──────────┤ -│ 2019-03-25 │ 1.14 │ 0.00 │ -├────────────┼───────────────────┼──────────┤ -│ 2018-12-19 │ 1.14 │ 0.00 │ -╘════════════╧═══════════════════╧══════════╛ + Dividends Dif +Date +2021-09-28 1.25 0.05 +2021-06-24 1.20 0.00 +2021-03-19 1.20 0.00 +2020-12-22 1.20 0.00 +2020-09-23 1.20 0.03 +2020-06-19 1.17 0.00 +2020-03-20 1.17 0.00 +2019-12-18 1.17 0.00 +2019-09-24 1.17 0.03 +2019-06-20 1.14 0.00 +2019-03-25 1.14 0.00 +2018-12-19 1.14 0.00 diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_info].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_info].txt index d8575bd7b92..eadf4cd6c93 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_info].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_info].txt @@ -1,232 +1,118 @@ -╒═══════════════════════════════════╤═══════════════════════════════════╕ -│ Zip │ 10017-5592 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Sector │ Consumer Defensive │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Full time employees │ 71 K │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ City │ New York │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Phone │ 917 663 2000 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ State │ NY │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Country │ United States │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Website │ https://www.pmi.com │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Max age │ 1 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Address │ 120 Park Avenue │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Industry │ Tobacco │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Ebitda margins │ 0.457 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Profit margins │ 0.292 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Gross margins │ 0.681 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Operating cashflow │ 11.097 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Revenue growth │ 0.091 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Operating margins │ 0.425 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Ebitda │ 14.061 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Target low price │ 88 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Recommendation key │ buy │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Gross profits │ 19.125 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Free cashflow │ 8.761 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Target median price │ 110 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Current price │ 89.890 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Earnings growth │ 0.049 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Current ratio │ 0.998 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Return on assets │ 0.202 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Number of analyst opinions │ 15 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Target mean price │ 108.950 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Target high price │ 126 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Total cash │ 4.491 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Total debt │ 29.105 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Total revenue │ 30.745 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Total cash per share │ 2.885 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Financial currency │ USD │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Revenue per share │ 19.737 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Quick ratio │ 0.485 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Recommendation mean │ 2.300 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Exchange │ NYQ │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Short name │ Philip Morris International Inc │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Long name │ Philip Morris International Inc. │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Exchange timezone name │ America/New_York │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Exchange timezone short name │ EST │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Is esg populated │ False │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Gmt off set milliseconds │ -18 M │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Quote type │ EQUITY │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Symbol │ PM │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Message board id │ finmb_6569181 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Market │ us_market │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Enterprise to revenue │ 5.415 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Enterprise to ebitda │ 11.840 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ 52 week change │ 0.064 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Forward EPS │ 6.450 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Shares outstanding │ 1.557 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Book value │ -6.773 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Shares short │ 8.077 M │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Shares percent shares out │ 0.005 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Last fiscal year end │ 1.609 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Held percent institutions │ 0.760 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Net income to common │ 8.966 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Trailing EPS │ 5.740 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Last dividend value │ 1.250 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Sand p52 week change │ 0.278 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Held percent insiders │ 0.002 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Next fiscal year end │ 1.672 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Most recent quarter │ 1.633 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Short ratio │ 2.240 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Shares short previous month date │ 1.634 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Float shares │ 1.553 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Beta │ 0.892 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Enterprise value │ 166.476 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Price hint │ 2 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Last dividend date │ 1.633 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Earnings quarterly growth │ 0.052 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Price to sales trailing 12 months │ 4.552 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Date short interest │ 1.637 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ PEG ratio │ 1.350 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Forward PE │ 13.936 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Short percent of float │ 0.005 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Shares short prior month │ 8.877 M │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Previous close │ 90.410 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Regular market open │ 90.820 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Two hundred day average │ 95.832 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Trailing annual dividend yield │ 0.054 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Payout ratio │ 0.845 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Regular market day high │ 91.025 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Average daily volume 10 day │ 6.063 M │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Regular market previous close │ 90.410 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Fifty day average │ 93.967 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Trailing annual dividend rate │ 4.850 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Open │ 90.820 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Average volume 10 days │ 6.063 M │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Dividend rate │ 5 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Ex dividend date │ 1.633 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Regular market day low │ 89.550 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Currency │ USD │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Trailing PE │ 15.660 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Regular market volume │ 5.111 M │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Market cap │ 139.943 B │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Average volume │ 4.523 M │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Day low │ 89.550 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Ask │ 0 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Ask size │ 800 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Volume │ 5.111 M │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Fifty two week high │ 106.510 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Five year avg dividend yield │ 5.160 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Fifty two week low │ 78.340 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Bid │ 0 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Tradeable │ False │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Dividend yield │ 0.056 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Bid size │ 900 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Day high │ 91.025 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Regular market price │ 89.890 │ -├───────────────────────────────────┼───────────────────────────────────┤ -│ Logo_url │ https://logo.clearbit.com/pmi.com │ -╘═══════════════════════════════════╧═══════════════════════════════════╛ + Value +Zip 10017-5592 +Sector Consumer Defensive +Full time employees 71 K +City New York +Phone 917 663 2000 +State NY +Country United States +Website https://www.pmi.com +Max age 1 +Address 120 Park Avenue +Industry Tobacco +Ebitda margins 0.457 +Profit margins 0.292 +Gross margins 0.681 +Operating cashflow 11.097 B +Revenue growth 0.091 +Operating margins 0.425 +Ebitda 14.061 B +Target low price 88 +Recommendation key buy +Gross profits 19.125 B +Free cashflow 8.761 B +Target median price 110 +Current price 89.890 +Earnings growth 0.049 +Current ratio 0.998 +Return on assets 0.202 +Number of analyst opinions 15 +Target mean price 108.950 +Target high price 126 +Total cash 4.491 B +Total debt 29.105 B +Total revenue 30.745 B +Total cash per share 2.885 +Financial currency USD +Revenue per share 19.737 +Quick ratio 0.485 +Recommendation mean 2.300 +Exchange NYQ +Short name Philip Morris International Inc +Long name Philip Morris International Inc. +Exchange timezone name America/New_York +Exchange timezone short name EST +Is esg populated False +Gmt off set milliseconds -18 M +Quote type EQUITY +Symbol PM +Message board id finmb_6569181 +Market us_market +Enterprise to revenue 5.415 +Enterprise to ebitda 11.840 +52 week change 0.064 +Forward EPS 6.450 +Shares outstanding 1.557 B +Book value -6.773 +Shares short 8.077 M +Shares percent shares out 0.005 +Last fiscal year end 1.609 B +Held percent institutions 0.760 +Net income to common 8.966 B +Trailing EPS 5.740 +Last dividend value 1.250 +Sand p52 week change 0.278 +Held percent insiders 0.002 +Next fiscal year end 1.672 B +Most recent quarter 1.633 B +Short ratio 2.240 +Shares short previous month date 1.634 B +Float shares 1.553 B +Beta 0.892 +Enterprise value 166.476 B +Price hint 2 +Last dividend date 1.633 B +Earnings quarterly growth 0.052 +Price to sales trailing 12 months 4.552 +Date short interest 1.637 B +PEG ratio 1.350 +Forward PE 13.936 +Short percent of float 0.005 +Shares short prior month 8.877 M +Previous close 90.410 +Regular market open 90.820 +Two hundred day average 95.832 +Trailing annual dividend yield 0.054 +Payout ratio 0.845 +Regular market day high 91.025 +Average daily volume 10 day 6.063 M +Regular market previous close 90.410 +Fifty day average 93.967 +Trailing annual dividend rate 4.850 +Open 90.820 +Average volume 10 days 6.063 M +Dividend rate 5 +Ex dividend date 1.633 B +Regular market day low 89.550 +Currency USD +Trailing PE 15.660 +Regular market volume 5.111 M +Market cap 139.943 B +Average volume 4.523 M +Day low 89.550 +Ask 0 +Ask size 800 +Volume 5.111 M +Fifty two week high 106.510 +Five year avg dividend yield 5.160 +Fifty two week low 78.340 +Bid 0 +Tradeable False +Dividend yield 0.056 +Bid size 900 +Day high 91.025 +Regular market price 89.890 +Logo_url https://logo.clearbit.com/pmi.com Business Summary: Philip Morris International Inc., through its subsidiaries, manufactures and sells cigarettes, other nicotine-containing products, smoke-free products, and related electronic devices and accessories. The company offers IQOS smoke-free products, including heated tobacco and nicotine-containing vapor products under the HEETS, HEETS Creations, HEETS Dimensions, HEETS Marlboro, HEETS FROM MARLBORO, Marlboro Dimensions, Marlboro HeatSticks, and Parliament HeatSticks brands, as well as under the Fiit and Miix licensed brands. It also sells its products under the Marlboro, Parliament, Bond Street, Chesterfield, L&M, Lark, and Philip Morris brands. In addition, the company owns various cigarette brands, such as Dji Sam Soe, Sampoerna A, and Sampoerna U in Indonesia; and Fortune and Jackpot in the Philippines. It markets and sells its products in the European Union, Eastern Europe, the Middle East, Africa, South and Southeast Asia, East Asia, Australia, Latin America, and Canada. Philip Morris International Inc. was incorporated in 1987 and is headquartered in New York, New York. diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_shareholders].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_shareholders].txt index 1a806f38668..48fd2c24275 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_shareholders].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_shareholders].txt @@ -1,67 +1,37 @@ Major Holders: -╒════════╤═══════════════════════════════════════════╕ -│ 0 │ 1 │ -╞════════╪═══════════════════════════════════════════╡ -│ 0.19% │ Percentage of Shares Held by All Insider │ -├────────┼───────────────────────────────────────────┤ -│ 76.02% │ Percentage of Shares Held by Institutions │ -├────────┼───────────────────────────────────────────┤ -│ 76.17% │ Percentage of Float Held by Institutions │ -├────────┼───────────────────────────────────────────┤ -│ 2307 │ Number of Institutions Holding Shares │ -╘════════╧═══════════════════════════════════════════╛ + 0 1 +0 0.19% Percentage of Shares Held by All Insider +1 76.02% Percentage of Shares Held by Institutions +2 76.17% Percentage of Float Held by Institutions +3 2307 Number of Institutions Holding Shares Institutuinal Holders: -╒═══════════════════════════════════╤═══════════╤═════════════════════╤═════════╤══════════╕ -│ Holder │ Shares │ Date Reported │ Stake │ Value │ -╞═══════════════════════════════════╪═══════════╪═════════════════════╪═════════╪══════════╡ -│ Vanguard Group, Inc. (The) │ 125.443 M │ 2021-09-29 00:00:00 │ 8.06 % │ 11.891 B │ -├───────────────────────────────────┼───────────┼─────────────────────┼─────────┼──────────┤ -│ Blackrock Inc. │ 91.929 M │ 2021-09-29 00:00:00 │ 5.90 % │ 8.714 B │ -├───────────────────────────────────┼───────────┼─────────────────────┼─────────┼──────────┤ -│ Capital World Investors │ 82.761 M │ 2021-09-29 00:00:00 │ 5.32 % │ 7.845 B │ -├───────────────────────────────────┼───────────┼─────────────────────┼─────────┼──────────┤ -│ Capital International Investors │ 74.091 M │ 2021-09-29 00:00:00 │ 4.76 % │ 7.023 B │ -├───────────────────────────────────┼───────────┼─────────────────────┼─────────┼──────────┤ -│ Capital Research Global Investors │ 57.783 M │ 2021-09-29 00:00:00 │ 3.71 % │ 5.477 B │ -├───────────────────────────────────┼───────────┼─────────────────────┼─────────┼──────────┤ -│ State Street Corporation │ 54.513 M │ 2021-09-29 00:00:00 │ 3.50 % │ 5.167 B │ -├───────────────────────────────────┼───────────┼─────────────────────┼─────────┼──────────┤ -│ Morgan Stanley │ 45.512 M │ 2021-09-29 00:00:00 │ 2.92 % │ 4.314 B │ -├───────────────────────────────────┼───────────┼─────────────────────┼─────────┼──────────┤ -│ Geode Capital Management, LLC │ 27.119 M │ 2021-09-29 00:00:00 │ 1.74 % │ 2.571 B │ -├───────────────────────────────────┼───────────┼─────────────────────┼─────────┼──────────┤ -│ JP Morgan Chase & Company │ 25.618 M │ 2021-09-29 00:00:00 │ 1.65 % │ 2.428 B │ -├───────────────────────────────────┼───────────┼─────────────────────┼─────────┼──────────┤ -│ Wellington Management Group, LLP │ 24.769 M │ 2021-09-29 00:00:00 │ 1.59 % │ 2.348 B │ -╘═══════════════════════════════════╧═══════════╧═════════════════════╧═════════╧══════════╛ + Holder Shares Date Reported Stake Value +0 Vanguard Group, Inc. (The) 125.443 M 2021-09-29 8.06 % 11.891 B +1 Blackrock Inc. 91.929 M 2021-09-29 5.90 % 8.714 B +2 Capital World Investors 82.761 M 2021-09-29 5.32 % 7.845 B +3 Capital International Investors 74.091 M 2021-09-29 4.76 % 7.023 B +4 Capital Research Global Investors 57.783 M 2021-09-29 3.71 % 5.477 B +5 State Street Corporation 54.513 M 2021-09-29 3.50 % 5.167 B +6 Morgan Stanley 45.512 M 2021-09-29 2.92 % 4.314 B +7 Geode Capital Management, LLC 27.119 M 2021-09-29 1.74 % 2.571 B +8 JP Morgan Chase & Company 25.618 M 2021-09-29 1.65 % 2.428 B +9 Wellington Management Group, LLP 24.769 M 2021-09-29 1.59 % 2.348 B Mutual Fund Holders: -╒════════════════════════════════════════╤══════════╤═════════════════════╤═════════╤═════════╕ -│ Holder │ Shares │ Date Reported │ Stake │ Value │ -╞════════════════════════════════════════╪══════════╪═════════════════════╪═════════╪═════════╡ -│ Vanguard Total Stock Market Index Fund │ 44.038 M │ 2021-09-29 00:00:00 │ 2.83 % │ 4.174 B │ -├────────────────────────────────────────┼──────────┼─────────────────────┼─────────┼─────────┤ -│ American Balanced Fund │ 39.212 M │ 2021-09-29 00:00:00 │ 2.52 % │ 3.717 B │ -├────────────────────────────────────────┼──────────┼─────────────────────┼─────────┼─────────┤ -│ Vanguard 500 Index Fund │ 32.730 M │ 2021-09-29 00:00:00 │ 2.10 % │ 3.102 B │ -├────────────────────────────────────────┼──────────┼─────────────────────┼─────────┼─────────┤ -│ Income Fund of America Inc │ 32.519 M │ 2021-09-29 00:00:00 │ 2.09 % │ 3.083 B │ -├────────────────────────────────────────┼──────────┼─────────────────────┼─────────┼─────────┤ -│ Capital Income Builder, Inc. │ 27.852 M │ 2021-09-29 00:00:00 │ 1.79 % │ 2.640 B │ -├────────────────────────────────────────┼──────────┼─────────────────────┼─────────┼─────────┤ -│ Investment Company Of America │ 27.817 M │ 2021-09-29 00:00:00 │ 1.79 % │ 2.637 B │ -├────────────────────────────────────────┼──────────┼─────────────────────┼─────────┼─────────┤ -│ Fundamental Investors Inc │ 24.179 M │ 2021-09-29 00:00:00 │ 1.55 % │ 2.292 B │ -├────────────────────────────────────────┼──────────┼─────────────────────┼─────────┼─────────┤ -│ Capital World Growth and Income Fund │ 17.801 M │ 2021-09-29 00:00:00 │ 1.14 % │ 1.687 B │ -├────────────────────────────────────────┼──────────┼─────────────────────┼─────────┼─────────┤ -│ SPDR S&P 500 ETF Trust │ 16.480 M │ 2021-09-29 00:00:00 │ 1.06 % │ 1.562 B │ -├────────────────────────────────────────┼──────────┼─────────────────────┼─────────┼─────────┤ -│ Fidelity 500 Index Fund │ 15.103 M │ 2021-10-30 00:00:00 │ 0.97 % │ 1.428 B │ -╘════════════════════════════════════════╧══════════╧═════════════════════╧═════════╧═════════╛ + Holder Shares Date Reported Stake Value +0 Vanguard Total Stock Market Index Fund 44.038 M 2021-09-29 2.83 % 4.174 B +1 American Balanced Fund 39.212 M 2021-09-29 2.52 % 3.717 B +2 Vanguard 500 Index Fund 32.730 M 2021-09-29 2.10 % 3.102 B +3 Income Fund of America Inc 32.519 M 2021-09-29 2.09 % 3.083 B +4 Capital Income Builder, Inc. 27.852 M 2021-09-29 1.79 % 2.640 B +5 Investment Company Of America 27.817 M 2021-09-29 1.79 % 2.637 B +6 Fundamental Investors Inc 24.179 M 2021-09-29 1.55 % 2.292 B +7 Capital World Growth and Income Fund 17.801 M 2021-09-29 1.14 % 1.687 B +8 SPDR S&P 500 ETF Trust 16.480 M 2021-09-29 1.06 % 1.562 B +9 Fidelity 500 Index Fund 15.103 M 2021-10-30 0.97 % 1.428 B diff --git a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_sustainability].txt b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_sustainability].txt index 1e877114580..8ad1e4fe9eb 100644 --- a/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_sustainability].txt +++ b/tests/gamestonk_terminal/stocks/fundamental_analysis/txt/test_yahoo_finance_view/test_call_func[True-display_sustainability].txt @@ -1,56 +1,29 @@ -╒════════════════════════╤═══════════════╕ -│ Palm oil │ False │ -├────────────────────────┼───────────────┤ -│ Controversial weapons │ False │ -├────────────────────────┼───────────────┤ -│ Gambling │ False │ -├────────────────────────┼───────────────┤ -│ Social score │ 11.32 │ -├────────────────────────┼───────────────┤ -│ Nuclear │ False │ -├────────────────────────┼───────────────┤ -│ Fur leather │ False │ -├────────────────────────┼───────────────┤ -│ Alcoholic │ False │ -├────────────────────────┼───────────────┤ -│ Gmo │ False │ -├────────────────────────┼───────────────┤ -│ Catholic │ False │ -├────────────────────────┼───────────────┤ -│ Social percentile │ │ -├────────────────────────┼───────────────┤ -│ Peer count │ 92 │ -├────────────────────────┼───────────────┤ -│ Governance score │ 8.75 │ -├────────────────────────┼───────────────┤ -│ Environment percentile │ │ -├────────────────────────┼───────────────┤ -│ Animal testing │ True │ -├────────────────────────┼───────────────┤ -│ Tobacco │ True │ -├────────────────────────┼───────────────┤ -│ Total esg │ 23.85 │ -├────────────────────────┼───────────────┤ -│ Highest controversy │ 3 │ -├────────────────────────┼───────────────┤ -│ Esg performance │ AVG_PERF │ -├────────────────────────┼───────────────┤ -│ Coal │ False │ -├────────────────────────┼───────────────┤ -│ Pesticides │ False │ -├────────────────────────┼───────────────┤ -│ Adult │ False │ -├────────────────────────┼───────────────┤ -│ Percentile │ 36.39 │ -├────────────────────────┼───────────────┤ -│ Peer group │ Food Products │ -├────────────────────────┼───────────────┤ -│ Small arms │ False │ -├────────────────────────┼───────────────┤ -│ Environment score │ 3.79 │ -├────────────────────────┼───────────────┤ -│ Governance percentile │ │ -├────────────────────────┼───────────────┤ -│ Military contract │ False │ -╘════════════════════════╧═══════════════╛ + Value +Palm oil False +Controversial weapons False +Gambling False +Social score 11.32 +Nuclear False +Fur leather False +Alcoholic False +Gmo False +Catholic False +Social percentile None +Peer count 92 +Governance score 8.75 +Environment percentile None +Animal testing True +Tobacco True +Total esg 23.85 +Highest controversy 3 +Esg performance AVG_PERF +Coal False +Pesticides False +Adult False +Percentile 36.39 +Peer group Food Products +Small arms False +Environment score 3.79 +Governance percentile None +Military contract False