diff --git a/openbb_terminal/stocks/fundamental_analysis/av_view.py b/openbb_terminal/stocks/fundamental_analysis/av_view.py index 1f8e48d7439b..e391c7dbf890 100644 --- a/openbb_terminal/stocks/fundamental_analysis/av_view.py +++ b/openbb_terminal/stocks/fundamental_analysis/av_view.py @@ -11,14 +11,13 @@ from openbb_terminal.config_terminal import theme from openbb_terminal.decorators import check_api_key, log_start_end from openbb_terminal.helper_funcs import ( - camel_case_split, export_data, is_valid_axes_count, plot_autoscale, print_rich_table, ) -from openbb_terminal.helpers_denomination import transform as transform_by_denomination from openbb_terminal.rich_config import console +from openbb_terminal.stocks import stocks_helper from openbb_terminal.stocks.fundamental_analysis import av_model logger = logging.getLogger(__name__) @@ -122,26 +121,22 @@ def display_income_statement( if df_income.empty: return + df_income.index = [ + stocks_helper.INCOME_PLOT["AlphaVantage"][i] + for i in [i.replace(" ", "_") for i in df_income.index.str.lower()] + ] + if plot: rows_plot = len(plot) income_plot_data = df_income.transpose() - income_plot_data.columns = income_plot_data.columns.str.lower() - - if not ratios: - (df_rounded, denomination) = transform_by_denomination(income_plot_data) - if denomination == "Units": - denomination = "" - else: - df_rounded = income_plot_data - denomination = "" if rows_plot == 1: fig, ax = plt.subplots(figsize=plot_autoscale(), dpi=PLOT_DPI) - df_rounded[plot[0].replace("_", "")].plot() + income_plot_data[plot[0]].plot() title = ( f"{plot[0].replace('_', ' ').lower()} {'QoQ' if quarterly else 'YoY'} Growth of {symbol.upper()}" if ratios - else f"{plot[0].replace('_', ' ')} of {symbol.upper()} {denomination}" + else f"{plot[0].replace('_', ' ')} of {symbol.upper()}" ) plt.title(title) theme.style_primary_axis(ax) @@ -149,14 +144,13 @@ def display_income_statement( else: fig, axes = plt.subplots(rows_plot) for i in range(rows_plot): - axes[i].plot(df_rounded[plot[i].replace("_", "")]) - axes[i].set_title(f"{plot[i].replace('_', ' ')} {denomination}") + axes[i].plot(income_plot_data[plot[i]]) + axes[i].set_title(f"{plot[i].replace('_', ' ')}") theme.style_primary_axis(axes[0]) fig.autofmt_xdate() else: - indexes = df_income.index - new_indexes = [camel_case_split(ind) for ind in indexes] - df_income.index = new_indexes + # Snake case to english + df_income.index = [x.replace("_", " ").title() for x in df_income.index] print_rich_table( df_income, @@ -213,26 +207,22 @@ def display_balance_sheet( if df_balance.empty: return + df_balance.index = [ + stocks_helper.BALANCE_PLOT["AlphaVantage"][i] + for i in [i.replace(" ", "_") for i in df_balance.index.str.lower()] + ] + if plot: rows_plot = len(plot) balance_plot_data = df_balance.transpose() - balance_plot_data.columns = balance_plot_data.columns.str.lower() - - if not ratios: - (df_rounded, denomination) = transform_by_denomination(balance_plot_data) - if denomination == "Units": - denomination = "" - else: - df_rounded = balance_plot_data - denomination = "" if rows_plot == 1: fig, ax = plt.subplots(figsize=plot_autoscale(), dpi=PLOT_DPI) - df_rounded[plot[0].replace("_", "")].plot() + balance_plot_data[plot[0]].plot() title = ( f"{plot[0].replace('_', ' ').lower()} {'QoQ' if quarterly else 'YoY'} Growth of {symbol.upper()}" if ratios - else f"{plot[0].replace('_', ' ')} of {symbol.upper()} {denomination}" + else f"{plot[0].replace('_', ' ')} of {symbol.upper()}" ) plt.title(title) theme.style_primary_axis(ax) @@ -240,15 +230,14 @@ def display_balance_sheet( else: fig, axes = plt.subplots(rows_plot) for i in range(rows_plot): - axes[i].plot(df_rounded[plot[i].replace("_", "")]) - axes[i].set_title(f"{plot[i].replace('_', ' ')} {denomination}") + axes[i].plot(balance_plot_data[plot[i]]) + axes[i].set_title(f"{plot[i].replace('_', ' ')}") theme.style_primary_axis(axes[0]) fig.autofmt_xdate() else: - indexes = df_balance.index - new_indexes = [camel_case_split(ind) for ind in indexes] - df_balance.index = new_indexes + # Snake case to english + df_balance.index = [x.replace("_", " ").title() for x in df_balance.index] print_rich_table( df_balance, @@ -303,26 +292,22 @@ def display_cash_flow( if df_cash.empty: return + df_cash.index = [ + stocks_helper.CASH_PLOT["AlphaVantage"][i] + for i in [i.replace(" ", "_") for i in df_cash.index.str.lower()] + ] + if plot: rows_plot = len(plot) cash_plot_data = df_cash.transpose() - cash_plot_data.columns = cash_plot_data.columns.str.lower() - - if not ratios: - (df_rounded, denomination) = transform_by_denomination(cash_plot_data) - if denomination == "Units": - denomination = "" - else: - df_rounded = cash_plot_data - denomination = "" if rows_plot == 1: fig, ax = plt.subplots(figsize=plot_autoscale(), dpi=PLOT_DPI) - df_rounded[plot[0].replace("_", "")].plot() + cash_plot_data[plot[0]].plot() title = ( f"{plot[0].replace('_', ' ').lower()} {'QoQ' if quarterly else 'YoY'} Growth of {symbol.upper()}" if ratios - else f"{plot[0].replace('_', ' ')} of {symbol.upper()} {denomination}" + else f"{plot[0].replace('_', ' ')} of {symbol.upper()}" ) plt.title(title) theme.style_primary_axis(ax) @@ -330,15 +315,14 @@ def display_cash_flow( else: fig, axes = plt.subplots(rows_plot) for i in range(rows_plot): - axes[i].plot(df_rounded[plot[i].replace("_", "")]) - axes[i].set_title(f"{plot[i].replace('_', ' ')} {denomination}") + axes[i].plot(cash_plot_data[plot[i]]) + axes[i].set_title(f"{plot[i].replace('_', ' ')}") theme.style_primary_axis(axes[0]) fig.autofmt_xdate() else: - indexes = df_cash.index - new_indexes = [camel_case_split(ind) for ind in indexes] - df_cash.index = new_indexes + # Snake case to english + df_cash.index = [x.replace("_", " ").title() for x in df_cash.index] print_rich_table( df_cash, diff --git a/openbb_terminal/stocks/fundamental_analysis/fa_controller.py b/openbb_terminal/stocks/fundamental_analysis/fa_controller.py index cdc9946d4cb9..c7da3733ad55 100644 --- a/openbb_terminal/stocks/fundamental_analysis/fa_controller.py +++ b/openbb_terminal/stocks/fundamental_analysis/fa_controller.py @@ -886,7 +886,7 @@ def call_income(self, other_args: List[str]): "--plot", action="store", metavar="column", - choices=stocks_helper.INCOME_PLOT[self.default_income], + choices=stocks_helper.INCOME_PLOT_CHOICES, type=str, default=None, dest="plot", @@ -910,6 +910,10 @@ def call_income(self, other_args: List[str]): "[red]Quarterly data currently unavailable for yfinance" ", showing yearly.[/red]\n" ) + if stocks_helper.verify_plot_options( + "income", ns_parser.source, ns_parser.plot + ): + return if ns_parser.source == "AlphaVantage": av_view.display_income_statement( symbol=self.ticker, @@ -1024,7 +1028,7 @@ def call_balance(self, other_args: List[str]): "-p", "--plot", action="store", - choices=stocks_helper.BALANCE_PLOT[self.default_balance], + choices=stocks_helper.BALANCE_PLOT_CHOICES, type=str, metavar="column", default=None, @@ -1047,6 +1051,10 @@ def call_balance(self, other_args: List[str]): if ns_parser.source == "YahooFinance" and ns_parser.b_quarter: text = "Quarterly data currently unavailable for yfinance" console.print(f"[red]{text}, showing yearly.[/red]\n") + if stocks_helper.verify_plot_options( + "balance", ns_parser.source, ns_parser.plot + ): + return if ns_parser.source == "AlphaVantage": av_view.display_balance_sheet( symbol=self.ticker, @@ -1169,7 +1177,7 @@ def call_cash(self, other_args: List[str]): "--plot", action="store", type=str, - choices=stocks_helper.CASH_PLOT[self.default_cash], + choices=stocks_helper.CASH_PLOT_CHOICES, metavar="column", default=None, dest="plot", @@ -1190,6 +1198,10 @@ def call_cash(self, other_args: List[str]): if ns_parser.source == "YahooFinance" and ns_parser.b_quarter: text = "Quarterly data currently unavailable for yfinance" console.print(f"[red]{text}, showing yearly.[/red]\n") + if stocks_helper.verify_plot_options( + "cash", ns_parser.source, ns_parser.plot + ): + return if ns_parser.source == "AlphaVantage": av_view.display_cash_flow( symbol=self.ticker, diff --git a/openbb_terminal/stocks/fundamental_analysis/fmp_model.py b/openbb_terminal/stocks/fundamental_analysis/fmp_model.py index 70932411383a..f58b7e650dae 100644 --- a/openbb_terminal/stocks/fundamental_analysis/fmp_model.py +++ b/openbb_terminal/stocks/fundamental_analysis/fmp_model.py @@ -245,6 +245,7 @@ def get_income( df_fa = df_fa.iloc[:, 0:limit] df_fa_c = clean_metrics_df(df_fa, num=limit) + df_fa.index = df_fa_c.index return df_fa_c if not plot else df_fa @@ -316,6 +317,7 @@ def get_balance( df_fa = df_fa.iloc[:, 0:limit] df_fa_c = clean_metrics_df(df_fa, num=limit) + df_fa.index = df_fa_c.index return df_fa_c if not plot else df_fa @@ -384,6 +386,7 @@ def get_cash( df_fa = df_fa.iloc[:, 0:limit] df_fa_c = clean_metrics_df(df_fa, num=limit) + df_fa.index = df_fa_c.index return df_fa_c if not plot else df_fa diff --git a/openbb_terminal/stocks/fundamental_analysis/fmp_view.py b/openbb_terminal/stocks/fundamental_analysis/fmp_view.py index 8e511c38ef84..9f7a878b952d 100644 --- a/openbb_terminal/stocks/fundamental_analysis/fmp_view.py +++ b/openbb_terminal/stocks/fundamental_analysis/fmp_view.py @@ -12,8 +12,8 @@ from openbb_terminal.config_terminal import theme from openbb_terminal.decorators import check_api_key, log_start_end from openbb_terminal.helper_funcs import export_data, plot_autoscale, print_rich_table -from openbb_terminal.helpers_denomination import transform as transform_by_denomination from openbb_terminal.rich_config import console +from openbb_terminal.stocks import stocks_helper from openbb_terminal.stocks.fundamental_analysis import fmp_model logger = logging.getLogger(__name__) @@ -233,26 +233,23 @@ def display_income_statement( income = fmp_model.get_income(symbol, limit, quarterly, ratios, bool(plot)) if not income.empty: + income.index = [ + stocks_helper.INCOME_PLOT["FinancialModelingPrep"][i] + for i in [i.replace(" ", "_") for i in income.index.str.lower()] + ] + if plot: income_plot_data = income[income.columns[::-1]] rows_plot = len(plot) income_plot_data = income_plot_data.transpose() - income_plot_data.columns = income_plot_data.columns.str.lower() - if not ratios: - (df_rounded, denomination) = transform_by_denomination(income_plot_data) - if denomination == "Units": - denomination = "" - else: - df_rounded = income_plot_data - denomination = "" if rows_plot == 1: fig, ax = plt.subplots(figsize=plot_autoscale(), dpi=PLOT_DPI) - df_rounded[plot[0].replace("_", "")].plot() + income_plot_data[plot[0]].plot() title = ( - f"{plot[0].replace('_', ' ').lower()} {'QoQ' if quarterly else 'YoY'} Growth of {symbol.upper()}" + f"{plot[0].replace('_', ' ').title()} {'QoQ' if quarterly else 'YoY'} Growth of {symbol.upper()}" if ratios - else f"{plot[0].replace('_', ' ')} of {symbol.upper()} {denomination}" + else f"{plot[0].replace('_', ' ').title()} of {symbol.upper()}" ) plt.title(title) theme.style_primary_axis(ax) @@ -260,14 +257,18 @@ def display_income_statement( else: fig, axes = plt.subplots(rows_plot) for i in range(rows_plot): - axes[i].plot(df_rounded[plot[i].replace("_", "")]) - axes[i].set_title(f"{plot[i].replace('_', ' ')} {denomination}") + axes[i].plot(income_plot_data[plot[i]]) + axes[i].set_title(f"{plot[i].replace('_', ' ').title()}") theme.style_primary_axis(axes[0]) fig.autofmt_xdate() else: income = income[income.columns[::-1]] + # Snake case to english + income.index = income.index.to_series().apply( + lambda x: x.replace("_", " ").title() + ) print_rich_table( - income.drop(index=["Final link", "Link"]), + income.drop(index=["Final Link", "Link"]), headers=list(income.columns), title=f"{symbol.upper()} Income Statement" if not ratios @@ -277,7 +278,7 @@ def display_income_statement( pd.set_option("display.max_colwidth", None) - console.print(income.loc["Final link"].to_frame().to_string()) + console.print(income.loc["Final Link"].to_frame().to_string()) console.print() console.print(income.loc["Link"].to_frame().to_string()) console.print() @@ -326,29 +327,23 @@ def display_balance_sheet( balance = fmp_model.get_balance(symbol, limit, quarterly, ratios, bool(plot)) if not balance.empty: + balance.index = [ + stocks_helper.BALANCE_PLOT["FinancialModelingPrep"][i] + for i in [i.replace(" ", "_") for i in balance.index.str.lower()] + ] + if plot: balance_plot_data = balance[balance.columns[::-1]] rows_plot = len(plot) balance_plot_data = balance_plot_data.transpose() - balance_plot_data.columns = balance_plot_data.columns.str.lower() - - if not ratios: - (df_rounded, denomination) = transform_by_denomination( - balance_plot_data - ) - if denomination == "Units": - denomination = "" - else: - df_rounded = balance_plot_data - denomination = "" if rows_plot == 1: fig, ax = plt.subplots(figsize=plot_autoscale(), dpi=PLOT_DPI) - df_rounded[plot[0].replace("_", "")].plot() + balance_plot_data[plot[0]].plot() title = ( - f"{plot[0].replace('_', ' ').lower()} {'QoQ' if quarterly else 'YoY'} Growth of {symbol.upper()}" + f"{plot[0].replace('_', ' ').title()} {'QoQ' if quarterly else 'YoY'} Growth of {symbol.upper()}" if ratios - else f"{plot[0].replace('_', ' ')} of {symbol.upper()} {denomination}" + else f"{plot[0].replace('_', ' ').title()} of {symbol.upper()}" ) plt.title(title) theme.style_primary_axis(ax) @@ -356,14 +351,18 @@ def display_balance_sheet( else: fig, axes = plt.subplots(rows_plot) for i in range(rows_plot): - axes[i].plot(df_rounded[plot[i].replace("_", "")]) - axes[i].set_title(f"{plot[i].replace('_', ' ')} {denomination}") + axes[i].plot(balance_plot_data[plot[i]]) + axes[i].set_title(f"{plot[i].replace('_', ' ').title()}") theme.style_primary_axis(axes[0]) fig.autofmt_xdate() else: balance = balance[balance.columns[::-1]] + # Snake case to english + balance.index = balance.index.to_series().apply( + lambda x: x.replace("_", " ").title() + ) print_rich_table( - balance.drop(index=["Final link", "Link"]), + balance.drop(index=["Final Link", "Link"]), headers=list(balance.columns), title=f"{symbol.upper()} Balance Sheet", show_index=True, @@ -371,7 +370,7 @@ def display_balance_sheet( pd.set_option("display.max_colwidth", None) - console.print(balance.loc["Final link"].to_frame().to_string()) + console.print(balance.loc["Final Link"].to_frame().to_string()) console.print() console.print(balance.loc["Link"].to_frame().to_string()) console.print() @@ -420,27 +419,23 @@ def display_cash_flow( cash = fmp_model.get_cash(symbol, limit, quarterly, ratios, bool(plot)) if not cash.empty: + cash.index = [ + stocks_helper.CASH_PLOT["FinancialModelingPrep"][i] + for i in [i.replace(" ", "_") for i in cash.index.str.lower()] + ] + if plot: cash_plot_data = cash[cash.columns[::-1]] rows_plot = len(plot) cash_plot_data = cash_plot_data.transpose() - cash_plot_data.columns = cash_plot_data.columns.str.lower() - - if not ratios: - (df_rounded, denomination) = transform_by_denomination(cash_plot_data) - if denomination == "Units": - denomination = "" - else: - df_rounded = cash_plot_data - denomination = "" if rows_plot == 1: fig, ax = plt.subplots(figsize=plot_autoscale(), dpi=PLOT_DPI) - df_rounded[plot[0].replace("_", "")].plot() + cash_plot_data[plot[0]].plot() title = ( - f"{plot[0].replace('_', ' ').lower()} {'QoQ' if quarterly else 'YoY'} Growth of {symbol.upper()}" + f"{plot[0].replace('_', ' ').title()} {'QoQ' if quarterly else 'YoY'} Growth of {symbol.upper()}" if ratios - else f"{plot[0].replace('_', ' ')} of {symbol.upper()} {denomination}" + else f"{plot[0].replace('_', ' ').title()} of {symbol.upper()}" ) plt.title(title) theme.style_primary_axis(ax) @@ -448,14 +443,19 @@ def display_cash_flow( else: fig, axes = plt.subplots(rows_plot) for i in range(rows_plot): - axes[i].plot(df_rounded[plot[i].replace("_", "")]) - axes[i].set_title(f"{plot[i].replace('_', ' ')} {denomination}") + axes[i].plot(cash_plot_data[plot[i]]) + axes[i].set_title(f"{plot[i].replace('_', ' ').title()}") theme.style_primary_axis(axes[0]) fig.autofmt_xdate() else: cash = cash[cash.columns[::-1]] + # Snake case to english + cash.index = cash.index.to_series().apply( + lambda x: x.replace("_", " ").title() + ) + print_rich_table( - cash.drop(index=["Final link", "Link"]), + cash.drop(index=["Final Link", "Link"]), headers=list(cash.columns), title=f"{symbol.upper()} Cash Flow", show_index=True, @@ -463,7 +463,7 @@ def display_cash_flow( pd.set_option("display.max_colwidth", None) - console.print(cash.loc["Final link"].to_frame().to_string()) + console.print(cash.loc["Final Link"].to_frame().to_string()) console.print() console.print(cash.loc["Link"].to_frame().to_string()) console.print() diff --git a/openbb_terminal/stocks/fundamental_analysis/polygon_view.py b/openbb_terminal/stocks/fundamental_analysis/polygon_view.py index abc987c7241a..17f523b5077a 100644 --- a/openbb_terminal/stocks/fundamental_analysis/polygon_view.py +++ b/openbb_terminal/stocks/fundamental_analysis/polygon_view.py @@ -15,7 +15,7 @@ plot_autoscale, print_rich_table, ) -from openbb_terminal.helpers_denomination import transform as transform_by_denomination +from openbb_terminal.stocks import stocks_helper from openbb_terminal.stocks.fundamental_analysis import polygon_model logger = logging.getLogger(__name__) @@ -67,32 +67,34 @@ def display_fundamentals( fundamentals = fundamentals.iloc[:, :limit] fundamentals = fundamentals[fundamentals.columns[::-1]] + if statement == "income": + fundamentals.index = [ + stocks_helper.INCOME_PLOT["Polygon"][i] + for i in [i.replace(" ", "_") for i in fundamentals.index.str.lower()] + ] + elif statement == "balance": + fundamentals.index = [ + stocks_helper.BALANCE_PLOT["Polygon"][i] + for i in [i.replace(" ", "_") for i in fundamentals.index.str.lower()] + ] + elif statement == "cash": + fundamentals.index = [ + stocks_helper.CASH_PLOT["Polygon"][i] + for i in [i.replace(" ", "_") for i in fundamentals.index.str.lower()] + ] + if plot: fundamentals_plot_data = fundamentals.copy().fillna(-1) rows_plot = len(plot) fundamentals_plot_data = fundamentals_plot_data.transpose() - fundamentals_plot_data.columns = fundamentals_plot_data.columns.str.lower() - fundamentals_plot_data.columns = [ - x.replace("_", "") for x in list(fundamentals_plot_data.columns) - ] - - if not ratios: - (df_rounded, denomination) = transform_by_denomination( - fundamentals_plot_data - ) - if denomination == "Units": - denomination = "" - else: - df_rounded = fundamentals_plot_data - denomination = "" if rows_plot == 1: fig, ax = plt.subplots(figsize=plot_autoscale(), dpi=PLOT_DPI) - df_rounded[plot[0].replace("_", "")].plot() + fundamentals_plot_data[plot[0]].plot() title = ( f"{plot[0].replace('_', ' ').lower()} {'QoQ' if quarterly else 'YoY'} Growth of {symbol.upper()}" if ratios - else f"{plot[0].replace('_', ' ')} of {symbol.upper()} {denomination}" + else f"{plot[0].replace('_', ' ')} of {symbol.upper()}" ) plt.title(title) theme.style_primary_axis(ax) @@ -100,8 +102,8 @@ def display_fundamentals( else: fig, axes = plt.subplots(rows_plot) for i in range(rows_plot): - axes[i].plot(df_rounded[plot[i].replace("_", "")]) - axes[i].set_title(f"{plot[i].replace('_', ' ')} {denomination}") + axes[i].plot(fundamentals_plot_data[plot[i]]) + axes[i].set_title(f"{plot[i].replace('_', ' ')}") theme.style_primary_axis(axes[0]) fig.autofmt_xdate() else: diff --git a/openbb_terminal/stocks/fundamental_analysis/yahoo_finance_view.py b/openbb_terminal/stocks/fundamental_analysis/yahoo_finance_view.py index b66f22f96a90..918ea1b9f831 100644 --- a/openbb_terminal/stocks/fundamental_analysis/yahoo_finance_view.py +++ b/openbb_terminal/stocks/fundamental_analysis/yahoo_finance_view.py @@ -23,6 +23,7 @@ ) from openbb_terminal.helpers_denomination import transform as transform_by_denomination from openbb_terminal.rich_config import console +from openbb_terminal.stocks import stocks_helper from openbb_terminal.stocks.fundamental_analysis import yahoo_finance_model logger = logging.getLogger(__name__) @@ -377,15 +378,27 @@ def display_fundamentals( fundamentals = yahoo_finance_model.get_financials(symbol, statement, ratios) + if fundamentals is None: + return + if statement == "balance-sheet": title_str = "Balance Sheet" + fundamentals.index = [ + stocks_helper.BALANCE_PLOT["YahooFinance"][i] + for i in [i.replace(" ", "_") for i in fundamentals.index.str.lower()] + ] elif statement == "financials": title_str = "Income Statement" + fundamentals.index = [ + stocks_helper.INCOME_PLOT["YahooFinance"][i] + for i in [i.replace(" ", "_") for i in fundamentals.index.str.lower()] + ] elif statement == "cash-flow": title_str = "Cash Flow Statement" - - if fundamentals is None: - return + fundamentals.index = [ + stocks_helper.CASH_PLOT["YahooFinance"][i] + for i in [i.replace(" ", "_") for i in fundamentals.index.str.lower()] + ] if fundamentals.empty: # The empty data frame error handling done in model diff --git a/openbb_terminal/stocks/stock_statics.py b/openbb_terminal/stocks/stock_statics.py index be1a98576f77..629cd980fda8 100644 --- a/openbb_terminal/stocks/stock_statics.py +++ b/openbb_terminal/stocks/stock_statics.py @@ -64,368 +64,533 @@ } INCOME_PLOT = { - "AlphaVantage": [ - "reported_currency", - "gross_profit", - "total_revenue", - "cost_of_revenue", - "cost_of_goods_and_services_sold", - "operating_income", - "selling_general_and_administrative", - "research_and_development", - "operating_expenses", - "investment_income_net", - "net_interest_income", - "interest_income", - "interest_expense", - "non_interest_income", - "other_non_operating_income", - "depreciation", - "depreciation_and_amortization", - "income_before_tax", - "income_tax_expense", - "interest_and_debt_expense", - "net_income_from_continuing_operations", - "comprehensive_income_net_of_tax", - "ebit", - "ebitda", - "net_income", - ], - "Polygon": [ - "cost_of_revenue", - "diluted_earnings_per_share", - "costs_and_expenses", - "gross_profit", - "non_operating_income_loss", - "operating_income_loss", - "participating_securities_distributed_and_undistributed_earnings_loss_basic", - "income_tax_expense_benefit", - "net_income_loss_attributable_to_parent", - "net_income_loss", - "income_tax_expense_benefit_deferred", - "preferred_stock_dividends_and_other_adjustments", - "operating_expenses", - "income_loss_from_continuing_operations_before_tax", - "net_income_loss_attributable_to_non_controlling_interest", - "income_loss_from_continuing_operations_after_tax", - "revenues", - "net_income_loss_available_to_common_stockholders_basic", - "benefits_costs_expenses", - "basic_earnings_per_share", - "interest_expense_operating", - "income_loss_before_equity_method_investments", - ], - "YahooFinance": [ - "total_revenue", - "cost_of_revenue", - "gross_profit", - "research_development", - "selling_general_and_administrative", - "total_operating_expenses", - "operating_income_or_loss", - "interest_expense", - "total_other_income/expenses_net", - "income_before_tax", - "income_tax_expense", - "income_from_continuing_operations", - "net_income", - "net_income_available_to_common_shareholders", - "basic_eps", - "diluted_eps", - "basic_average_shares", - "diluted_average_shares", - "ebitda", - ], - "FinancialModelingPrep": [ - "reported_currency", - "cik", - "filling_date", - "accepted_date", - "calendar_year", - "period", - "revenue", - "cost_of_revenue", - "gross_profit", - "gross_profit_ratio", - "research_and_development_expenses", - "general_and_administrative_expenses", - "selling_and_marketing_expenses", - "selling_general_and_administrative_expenses", - "other_expenses", - "operating_expenses", - "cost_and_expenses", - "interest_income", - "interest_expense", - "depreciation_and_amortization", - "ebitda", - "ebitda_ratio", - "operating_income", - "operating_income_ratio", - "total_other_income_expenses_net", - "income_before_tax", - "income_before_tax_ratio", - "income_tax_expense", - "net_income", - "net_income_ratio", - "eps", - "eps_diluted", - "weighted_average_shs_out", - "weighted_average_shs_out_dil", - "link", - "final_link", - ], + "AlphaVantage": { + "reportedcurrency": "reported_currency", + "grossprofit": "gross_profit", + "totalrevenue": "total_revenue", + "costofrevenue": "cost_of_revenue", + "costofgoodsandservicessold": "cost_of_goods_and_services_sold", + "operatingincome": "operating_income", + "sellinggeneralandadministrative": "selling_general_and_administrative", + "researchanddevelopment": "research_and_development_expenses", + "operatingexpenses": "operating_expenses", + "investmentincomenet": "investment_income_net", + "netinterestincome": "net_interest_income", + "interestincome": "interest_income", + "interestexpense": "interest_expense", + "noninterestincome": "revenue", + "othernonoperatingincome": "other_non_operating_income", + "depreciation": "depreciation", + "depreciationandamortization": "depreciation_and_amortization", + "incomebeforetax": "income_before_tax", + "incometaxexpense": "income_tax_expense", + "interestanddebtexpense": "interest_and_debt_expense", + "netincomefromcontinuingoperations": "net_income_from_continuing_operations", + "comprehensiveincomenetoftax": "comprehensive_income_net_of_tax", + "ebit": "ebit", + "ebitda": "ebitda", + "netincome": "net_income", + }, + "Polygon": { + "cost_of_revenue": "cost_of_revenue", + "diluted_earnings_per_share": "diluted_earnings_per_share", + "costs_and_expenses": "costs_and_expenses", + "gross_profit": "gross_profit", + "nonoperating_income_loss": "non_operating_income_loss", + "operating_income_loss": "operating_income", + "participating_securities_distributed_and_undistributed_earnings_loss_basic": "participating_securities_" + "distributed_and_undistributed_ea" + "rnings_loss_basic", + "income_tax_expense_benefit": "income_tax_expense", + "income_tax_expense_benefit_current": "current_income_tax_expense", + "net_income_loss_attributable_to_parent": "net_income_loss_attributable_to_parent", + "net_income_loss": "net_income", + "income_tax_expense_benefit_deferred": "income_tax_expense_benefit_deferred", + "preferred_stock_dividends_and_other_adjustments": "preferred_stock_dividends_and_other_adjustments", + "operating_expenses": "operating_expenses", + "income_loss_from_continuing_operations_before_tax": "continuing_operations_net_income", + "net_income_loss_attributable_to_noncontrolling_interest": "net_income_loss_attributable_to_" + "non_controlling_interest", + "income_loss_from_continuing_operations_after_tax": "income_before_tax", + "revenues": "revenue", + "net_income_loss_available_to_common_stockholders_basic": "net_income_available_to_common_shareholders", + "benefits_costs_expenses": "benefits_costs_expenses", + "basic_earnings_per_share": "basic_earnings_per_share", + "interest_expense_operating": "income_tax_expense", + "income_loss_before_equity_method_investments": "income_loss_before_equity_method_investments", + "cost_of_revenue_goods": "cost_of_revenue_goods", + }, + "YahooFinance": { + "total_revenue": "total_revenue", + "cost_of_revenue": "cost_of_revenue", + "gross_profit": "gross_profit", + "research_development": "research_and_development_expenses", + "selling_general_and_administrative": "selling_general_and_administrative", + "total_operating_expenses": "operating_expenses", + "operating_income_or_loss": "operating_income", + "interest_expense": "interest_expense", + "total_other_income/expenses_net": "other_non_operating_income", + "income_before_tax": "income_before_tax", + "income_tax_expense": "income_tax_expense", + "income_from_continuing_operations": "net_income_from_continuing_operations", + "net_income": "net_income", + "net_income_available_to_common_shareholders": "net_income_available_to_common_shareholders", + "basic_eps": "basic_earnings_per_share", + "diluted_eps": "diluted_earnings_per_share", + "basic_average_shares": "basic_average_shares", + "diluted_average_shares": "diluted_average_shares", + "ebitda": "ebitda", + }, + "FinancialModelingPrep": { + "reported_currency": "reported_currency", + "cik": "cik", + "filling_date": "filling_date", + "accepted_date": "accepted_date", + "calendar_year": "calendar_year", + "period": "period", + "revenue": "revenue", + "cost_of_revenue": "cost_of_revenue", + "gross_profit": "gross_profit", + "gross_profit_ratio": "gross_profit_ratio", + "research_and_development_expenses": "research_and_development_expenses", + "general_and_administrative_expenses": "general_and_administrative_expenses", + "selling_and_marketing_expenses": "selling_and_marketing_expenses", + "selling_general_and_administrative_expenses": "selling_general_and_administrative", + "other_expenses": "other_expenses", + "operating_expenses": "operating_expenses", + "cost_and_expenses": "costs_and_expenses", + "interest_income": "interest_income", + "interest_expense": "interest_expense", + "depreciation_and_amortization": "depreciation_and_amortization", + "ebitda": "ebitda", + "ebitdaratio": "ebitda_ratio", + "operating_income": "operating_income", + "operating_income_ratio": "operating_income_ratio", + "total_other_income_expenses_net": "non_operating_income_loss", + "income_before_tax": "income_before_tax", + "income_before_tax_ratio": "income_before_tax_ratio", + "income_tax_expense": "income_tax_expense", + "net_income": "net_income", + "net_income_ratio": "net_income_ratio", + "eps": "basic_earnings_per_share", + "epsdiluted": "diluted_earnings_per_share", + "weighted_average_shs_out": "basic_average_shares", + "weighted_average_shs_out_dil": "diluted_average_shares", + "link": "link", + "final_link": "final_link", + }, } +INCOME_PLOT_CHOICES = [ + "gross_profit", + "total_revenue", + "cost_of_revenue", + "cost_of_goods_and_services_sold", + "operating_income", + "selling_general_and_administrative", + "research_and_development_expenses", + "operating_expenses", + "investment_income_net", + "net_interest_income", + "interest_income", + "interest_expense", + "revenue", + "other_non_operating_income", + "depreciation", + "depreciation_and_amortization", + "income_before_tax", + "income_tax_expense", + "interest_and_debt_expense", + "net_income_from_continuing_operations", + "comprehensive_income_net_of_tax", + "ebit", + "ebitda", + "net_income", + "diluted_earnings_per_share", + "costs_and_expenses", + "non_operating_income_loss", + "participating_securities_distributed_and_undistributed_earnings_loss_basic", + "net_income_loss_attributable_to_parent", + "income_tax_expense_benefit_deferred", + "preferred_stock_dividends_and_other_adjustments", + "net_income_loss_attributable_to_non_controlling_interest", + "continuing_operations_net_income", + "income_before_tax", + "net_income_available_to_common_shareholders", + "benefits_costs_expenses", + "basic_earnings_per_share", + "income_loss_before_equity_method_investments", + "basic_average_shares", + "diluted_average_shares", + "gross_profit_ratio", + "general_and_administrative_expenses", + "selling_and_marketing_expenses", + "other_expenses", + "ebitda_ratio", + "operating_income_ratio", + "income_before_tax_ratio", + "net_income_ratio", + "current_income_tax_expense", +] BALANCE_PLOT = { - "AlphaVantage": [ - "reported_currency", - "total_assets", - "total_current_assets", - "cash_and_cash_equivalents_at_carrying_value", - "cash_and_short_term_investments", - "inventory", - "current_net_receivables", - "total_non_current_assets", - "property_plant_equipment", - "accumulated_depreciation_amortization_ppe", - "intangible_assets", - "intangible_assets_excluding_goodwill", - "goodwill", - "investments", - "long_term_investments", - "short_term_investments", - "other_current_assets", - "other_non_currrent_assets", - "total_liabilities", - "total_current_liabilities", - "current_accounts_payable", - "deferred_revenue", - "current_debt", - "short_term_debt", - "total_non_current_liabilities", - "capital_lease_obligations", - "long_term_debt", - "current_long_term_debt", - "long_term_debt_non_current", - "short_long_term_debt_total", - "other_current_liabilities", - "other_non_current_liabilities", - "total_shareholder_equity", - "treasury_stock", - "retained_earnings", - "common_stock", - "common_stock_shares_outstanding", - ], - "Polygon": [ - "equity_attributable_to_non_controlling_interest", - "liabilities", - "non_current_assets", - "equity", - "assets", - "current_assets", - "equity_attributable_to_parent", - "current_liabilities", - "non_current_liabilities", - "fixed_assets", - "other_than_fixed_non_current_assets", - "liabilities_and_equity", - ], - "YahooFinance": [ - "cash_and_cash_equivalents", - "other_short-term_investments", - "total_cash", - "net_receivables", - "inventory", - "other_current_assets", - "total_current_assets", - "gross_property, plant_and_equipment", - "accumulated_depreciation", - "net_property, plant_and_equipment", - "equity_and_other_investments", - "other_long-term_assets", - "total_non-current_assets", - "total_assets", - "current_debt", - "accounts_payable", - "deferred_revenues", - "other_current_liabilities", - "total_current_liabilities", - "long-term_debt", - "deferred_tax_liabilities", - "deferred_revenues", - "other_long-term_liabilities", - "total_non-current_liabilities", - "total_liabilities", - "common_stock", - "retained_earnings", - "accumulated_other_comprehensive_income", - "total_stockholders'_equity", - "total_liabilities_and_stockholders'_equity", - ], - "FinancialModelingPrep": [ - "reported_currency", - "cik", - "filling_date", - "accepted_date", - "calendar_year", - "period", - "cash_and_cash_equivalents", - "short_term_investments", - "cash_and_short_term_investments", - "net_receivables", - "inventory", - "other_current_assets", - "total_current_assets", - "property_plant_equipment_net", - "goodwill", - "intangible_assets", - "goodwill_and_intangible_assets", - "long_term_investments", - "tax_assets", - "other_non_current_assets", - "total_non_current_assets", - "other_assets", - "total_assets", - "account_payables", - "short_term_debt", - "tax_payables", - "deferred_revenue", - "other_current_liabilities", - "total_current_liabilities", - "long_term_debt", - "deferred_revenue_non_current", - "deferred_tax_liabilities_non_current", - "other_non_current_liabilities", - "total_non_current_liabilities", - "other_liabilities", - "capital_lease_obligations", - "total_liabilities", - "preferred_stock", - "common_stock", - "retained_earnings", - "accumulated_other_comprehensive_income_loss", - "other_total_stockholders_equity", - "total_stockholders_equity", - "total_liabilities_and_stockholders_equity", - "minority_interest", - "total_equity", - "total_liabilities_and_total_equity", - "total_investments", - "total_debt", - "net_debt", - "link", - "final_link", - ], + "AlphaVantage": { + "reportedcurrency": "reported_currency", + "totalassets": "total_assets", + "totalcurrentassets": "total_current_assets", + "cashandcashequivalentsatcarryingvalue": "cash_and_cash_equivalents", + "cashandshortterminvestments": "cash_and_short_term_investments", + "inventory": "inventory", + "currentnetreceivables": "net_receivables", + "totalnoncurrentassets": "total_non_current_assets", + "propertyplantequipment": "property_plant_equipment", + "accumulateddepreciationamortizationppe": "accumulated_depreciation_amortization_ppe", + "intangibleassets": "intangible_assets", + "intangibleassetsexcludinggoodwill": "intangible_assets_excluding_goodwill", + "goodwill": "goodwill", + "investments": "investments", + "longterminvestments": "long_term_investments", + "shortterminvestments": "short_term_investments", + "othercurrentassets": "other_current_assets", + "othernoncurrentassets": "other_non_current_assets", + "totalliabilities": "total_liabilities", + "totalcurrentliabilities": "total_current_liabilities", + "currentaccountspayable": "current_accounts_payable", + "deferredrevenue": "deferred_revenue", + "currentdebt": "current_debt", + "shorttermdebt": "short_term_debt", + "totalnoncurrentliabilities": "total_non_current_liabilities", + "capitalleaseobligations": "capital_lease_obligations", + "longtermdebt": "long_term_debt", + "currentlongtermdebt": "current_long_term_debt", + "longtermdebtnoncurrent": "long_term_debt_non_current", + "shortlongtermdebttotal": "short_long_term_debt_total", + "othercurrentliabilities": "other_current_liabilities", + "othernoncurrentliabilities": "other_non_current_liabilities", + "totalshareholderequity": "total_shareholder_equity", + "treasurystock": "treasury_stock", + "retainedearnings": "retained_earnings", + "commonstock": "common_stock", + "commonstocksharesoutstanding": "common_stock_shares_outstanding", + }, + "Polygon": { + "equity_attributable_to_noncontrolling_interest": "equity_attributable_to_non_controlling_interest", + "liabilities": "total_liabilities", + "noncurrent_assets": "total_non_current_assets", + "equity": "equity", + "assets": "total_assets", + "current_assets": "total_current_assets", + "equity_attributable_to_parent": "equity_attributable_to_parent", + "current_liabilities": "total_current_liabilities", + "noncurrent_liabilities": "total_non_current_liabilities", + "fixed_assets": "fixed_assets", + "other_than_fixed_noncurrent_assets": "other_than_fixed_non_current_assets", + "liabilities_and_equity": "liabilities_and_equity", + }, + "YahooFinance": { + "cash_and_cash_equivalents": "cash_and_cash_equivalents", + "other_short-term_investments": "short_term_investments", + "total_cash": "cash_and_short_term_investments", + "net_receivables": "net_receivables", + "inventory": "inventory", + "other_current_assets": "other_current_assets", + "total_current_assets": "total_current_assets", + "gross_property, plant_and_equipment": "gross_property, plant_and_equipment", + "accumulated_depreciation": "accumulated_depreciation_amortization_ppe", + "net_property, plant_and_equipment": "property_plant_equipment", + "equity_and_other_investments": "long_term_investments", + "other_long-term_assets": "other_non_currrent_assets", + "total_non-current_assets": "total_non_current_assets", + "total_assets": "total_assets", + "current_debt": "current_debt", + "accounts_payable": "current_accounts_payable", + "deferred_revenues": "deferred_revenue", + "other_current_liabilities": "other_current_liabilities", + "total_current_liabilities": "total_current_liabilities", + "long-term_debt": "long_term_debt", + "deferred_tax_liabilities": "deferred_tax_liabilities", + "other_long-term_liabilities": "other_non_current_liabilities", + "total_non-current_liabilities": "total_non_current_liabilities", + "total_liabilities": "total_liabilities", + "common_stock": "common_stock", + "retained_earnings": "retained_earnings", + "accumulated_other_comprehensive_income": "accumulated_other_comprehensive_income", + "total_stockholders'_equity": "total_shareholder_equity", + "total_liabilities_and_stockholders'_equity": "total_liabilities_and_stockholders_equity", + }, + "FinancialModelingPrep": { + "reported_currency": "reported_currency", + "cik": "cik", + "filling_date": "filing_date", + "accepted_date": "accepted_date", + "calendar_year": "calendar_year", + "period": "period", + "cash_and_cash_equivalents": "cash_and_cash_equivalents", + "short_term_investments": "short_term_investments", + "cash_and_short_term_investments": "cash_and_short_term_investments", + "net_receivables": "net_receivables", + "inventory": "inventory", + "other_current_assets": "other_current_assets", + "total_current_assets": "total_current_assets", + "property_plant_equipment_net": "property_plant_equipment", + "goodwill": "goodwill", + "intangible_assets": "intangible_assets_excluding_goodwill", + "goodwill_and_intangible_assets": "intangible_assets", + "long_term_investments": "long_term_investments", + "tax_assets": "tax_assets", + "other_non_current_assets": "other_non_currrent_assets", + "total_non_current_assets": "total_non_current_assets", + "other_assets": "other_assets", + "total_assets": "total_assets", + "account_payables": "current_accounts_payable", + "short_term_debt": "current_debt", + "tax_payables": "tax_payables", + "deferred_revenue": "deferred_revenue", + "other_current_liabilities": "other_non_current_liabilities", + "total_current_liabilities": "total_current_liabilities", + "long_term_debt": "long_term_debt_non_current", + "deferred_revenue_non_current": "deferred_revenue_non_current", + "deferred_tax_liabilities_non_current": "deferred_tax_liabilities", + "other_non_current_liabilities": "other_non_current_liabilities", + "total_non_current_liabilities": "total_non_current_liabilities", + "other_liabilities": "other_liabilities", + "capital_lease_obligations": "capital_lease_obligations", + "total_liabilities": "total_liabilities", + "preferred_stock": "preferred_stock", + "common_stock": "common_stock", + "retained_earnings": "retained_earnings", + "accumulated_other_comprehensive_income_loss": "accumulated_other_comprehensive_income", + "othertotal_stockholders_equity": "other_total_stockholders_equity", + "total_stockholders_equity": "total_shareholder_equity", + "total_liabilities_and_stockholders_equity": "total_liabilities_and_stockholders_equity", + "minority_interest": "equity_attributable_to_non_controlling_interest", + "total_equity": "equity", + "total_liabilities_and_total_equity": "liabilities_and_equity", + "total_investments": "total_investments", + "total_debt": "total_debt", + "net_debt": "net_debt", + "link": "link", + "final_link": "final_link", + }, } +BALANCE_PLOT_CHOICES = [ + "total_assets", + "total_current_assets", + "cash_and_cash_equivalents", + "cash_and_short_term_investments", + "inventory", + "net_receivables", + "total_non_current_assets", + "property_plant_equipment", + "accumulated_depreciation_amortization_ppe", + "intangible_assets", + "intangible_assets_excluding_goodwill", + "goodwill", + "investments", + "long_term_investments", + "short_term_investments", + "other_current_assets", + "other_non_currrent_assets", + "total_liabilities", + "total_current_liabilities", + "current_accounts_payable", + "deferred_revenue", + "current_debt", + "short_term_debt", + "total_non_current_liabilities", + "capital_lease_obligations", + "long_term_debt", + "current_long_term_debt", + "long_term_debt_non_current", + "short_long_term_debt_total", + "other_current_liabilities", + "other_non_current_liabilities", + "total_shareholder_equity", + "treasury_stock", + "retained_earnings", + "common_stock", + "common_stock_shares_outstanding", + "equity_attributable_to_non_controlling_interest", + "equity_attributable_to_parent", + "fixed_assets", + "other_than_fixed_non_current_assets", + "liabilities_and_equity", + "equity", + "gross_property,", + "plant_and_equipment", + "tax_payables", + "other_assets", + "tax_assets", + "deferred_revenue_non_current", + "deferred_tax_liabilities", + "other_liabilities", + "preferred_stock", + "accumulated_other_comprehensive_income", + "other_total_stockholders_equity", + "total_liabilities_and_stockholders_equity", + "total_investments", + "total_debt", + "net_debt", +] CASH_PLOT = { - "AlphaVantage": [ - "reported_currency", - "operating_cash_flow", - "payments_for_operating_activities", - "proceeds_from_operating_activities", - "change_in_operating_liabilities", - "change_in_operating_assets", - "depreciation_depletion_and_amortization", - "capital_expenditures", - "change_in_receivables", - "change_in_inventory", - "profit_loss", - "cash_flow_from_investment", - "cash_flow_from_financing", - "proceeds_from_repayments_of_short_term_debt", - "payments_for_repurchase_of_common_stock", - "payments_for_repurchase_of_equity", - "payments_for_repurchase_of_preferred_stock", - "dividend_payout", - "dividend_payout_common_stock", - "dividend_payout_preferred_stock", - "proceeds_from_issuance_of_common_stock", - "proceeds_from_issuance_of_long_term_debt_and_capital_securities_net", - "proceeds_from_issuance_of_preferred_stock", - "proceeds_from_repurchase_of_equity", - "proceeds_from_sale_of_treasury_stock", - "change_in_cash_and_cash_equivalents", - "change_in_exchange_rate", - "net_income", - ], - "Polygon": [ - "net_cash_flow_from_financing_activities_continuing", - "net_cash_flow_continuing", - "net_cash_flow_from_investing_activities", - "net_cash_flow", - "net_cash_flow_from_operating_activities", - "net_cash_flow_from_financing_activities", - "net_cash_flow_from_operating_activities_continuing", - "net_cash_flow_from_investing_activities_continuing", - ], - "YahooFinance": [ - "net_income", - "depreciation_&_amortisation", - "deferred_income_taxes", - "stock-based_compensation", - "change_in working_capital", - "accounts_receivable", - "inventory", - "accounts_payable", - "other_working_capital", - "other_non-cash_items", - "net_cash_provided_by_operating_activities", - "investments_in_property, plant_and_equipment", - "acquisitions, net", - "purchases_of_investments", - "sales/maturities_of_investments", - "other_investing_activities", - "net_cash_used_for_investing_activities", - "debt_repayment", - "common_stock_issued", - "common_stock_repurchased", - "dividends_paid", - "other_financing_activities", - "net_cash_used_provided_by_(used_for)_financing_activities", - "net_change_in_cash", - "cash_at_beginning_of_period", - "cash_at_end_of_period", - "operating_cash_flow", - "capital_expenditure", - "free_cash_flow", - ], - "FinancialModelingPrep": [ - "reported_currency", - "cik", - "filling_date", - "accepted_date", - "calendar_year", - "period", - "net_income", - "depreciation_and_amortization", - "deferred_income_tax", - "stock_based_compensation", - "change_in_working_capital", - "accounts_receivables", - "inventory", - "accounts_payables", - "other_working_capital", - "other_non_cash_items", - "net_cash_provided_by_operating_activities", - "investments_in_property_plant_and_equipment", - "acquisitions_net", - "purchases_of_investments", - "sales_maturities_of_investments", - "other_investing_activites", - "net_cash_used_for_investing_activites", - "debt_repayment", - "common_stock_issued", - "common_stock_repurchased", - "dividends_paid", - "other_financing_activites", - "net_cash_used_provided_by_financing_activities", - "effect_of_forex_changes_on_cash", - "net_change_in_cash", - "cash_at_end_of_period", - "cash_at_beginning_of_period", - "operating_cash_flow", - "capital_expenditure", - "free_cash_flow", - "link", - "final_link", - ], + "AlphaVantage": { + "reportedcurrency": "reported_currency", + "operatingcashflow": "operating_cash_flow", + "paymentsforoperatingactivities": "payments_for_operating_activities", + "proceedsfromoperatingactivities": "proceeds_from_operating_activities", + "changeinoperatingliabilities": "change_in_operating_liabilities", + "changeinoperatingassets": "change_in_operating_assets", + "depreciationdepletionandamortization": "depreciation_depletion_and_amortization", + "capitalexpenditures": "capital_expenditure", + "changeinreceivables": "change_in_receivables", + "changeininventory": "inventory", + "profitloss": "profit_loss", + "cashflowfrominvestment": "cash_flow_from_investment", + "cashflowfromfinancing": "cash_flow_from_financing", + "proceedsfromrepaymentsofshorttermdebt": "proceeds_from_repayments_of_short_term_debt", + "paymentsforrepurchaseofcommonstock": "common_stock_repurchased", + "paymentsforrepurchaseofequity": "payments_for_repurchase_of_equity", + "paymentsforrepurchaseofpreferredstock": "payments_for_repurchase_of_preferred_stock", + "dividendpayout": "dividends_paid", + "dividendpayoutcommonstock": "dividend_payout_common_stock", + "dividendpayoutpreferredstock": "dividend_payout_preferred_stock", + "proceedsfromissuanceofcommonstock": "common_stock_issued", + "proceedsfromissuanceoflongtermdebtandcapitalsecuritiesnet": "proceeds_from_issuance_of_long_term_", + "proceedsfromissuanceofpreferredstock": "proceeds_from_issuance_of_preferred_stock", + "proceedsfromrepurchaseofequity": "proceeds_from_repurchase_of_equity", + "proceedsfromsaleoftreasurystock": "proceeds_from_sale_of_treasury_stock", + "changeincashandcashequivalents": "net_change_in_cash", + "changeinexchangerate": "change_in_exchange_rate", + "netincome": "net_income", + }, + "Polygon": { + "net_cash_flow_from_financing_activities_continuing": "net_cash_flow_from_financing_activities_continuing", + "net_cash_flow_continuing": "net_cash_flow_continuing", + "net_cash_flow_from_investing_activities": "cash_flow_from_investment", + "net_cash_flow": "net_change_in_cash", + "net_cash_flow_from_operating_activities": "operating_cash_flow", + "net_cash_flow_from_financing_activities": "cash_flow_from_financing", + "net_cash_flow_from_operating_activities_continuing": "net_cash_provided_by_operating_activities", + "net_cash_flow_from_investing_activities_continuing": "net_cash_flow_from_investing_activities_continuing", + "exchange_gains_losses": "change_in_exchange_rate", + }, + "YahooFinance": { + "net_income": "net_income", + "depreciation_&_amortisation": "depreciation_and_amortization", + "deferred_income_taxes": "deferred_income_taxes", + "stock-based_compensation": "stock_based_compensation", + "change_in_working_capital": "change_in_working_capital", + "accounts_receivable": "change_in_receivables", + "inventory": "inventory", + "accounts_payable": "accounts_payable", + "other_working_capital": "other_working_capital", + "other_non-cash_items": "other_non_cash_items", + "net_cash_provided_by_operating_activities": "net_cash_provided_by_operating_activities", + "investments_in_property, plant_and_equipment": "investments_in_property_plant_and_equipment", + "acquisitions, net": "acquisitions_net", + "purchases_of_investments": "purchases_of_investments", + "sales/maturities_of_investments": "sales_maturities_of_investments", + "other_investing_activities": "other_investing_activities", + "net_cash_used_for_investing_activities": "cash_flow_from_investment", + "debt_repayment": "debt_repayment", + "common_stock_issued": "common_stock_issued", + "common_stock_repurchased": "common_stock_repurchased", + "dividends_paid": "dividends_paid", + "other_financing_activities": "other_financing_activities", + "net_cash_used_provided_by_(used_for)_financing_activities": "cash_flow_from_financing", + "net_change_in_cash": "net_change_in_cash", + "cash_at_beginning_of_period": "cash_at_beginning_of_period", + "cash_at_end_of_period": "cash_at_end_of_period", + "operating_cash_flow": "operating_cash_flow", + "capital_expenditure": "capital_expenditure", + "free_cash_flow": "free_cash_flow", + }, + "FinancialModelingPrep": { + "reported_currency": "reported_currency", + "cik": "cik", + "filling_date": "filling_date", + "accepted_date": "accepted_date", + "calendar_year": "calendar_year", + "period": "period", + "net_income": "net_income", + "depreciation_and_amortization": "depreciation_and_amortization", + "deferred_income_tax": "deferred_income_taxes", + "stock_based_compensation": "stock_based_compensation", + "change_in_working_capital": "change_in_working_capital", + "accounts_receivables": "change_in_receivables", + "inventory": "inventory", + "accounts_payables": "accounts_payable", + "other_working_capital": "other_working_capital", + "other_non_cash_items": "other_non_cash_items", + "net_cash_provided_by_operating_activities": "net_cash_provided_by_operating_activities", + "investments_in_property_plant_and_equipment": "investments_in_property_plant_and_equipment", + "acquisitions_net": "acquisitions_net", + "purchases_of_investments": "purchases_of_investments", + "sales_maturities_of_investments": "sales_maturities_of_investments", + "other_investing_activites": "other_investing_activities", + "net_cash_used_for_investing_activites": "cash_flow_from_investment", + "debt_repayment": "debt_repayment", + "common_stock_issued": "common_stock_issued", + "common_stock_repurchased": "common_stock_repurchased", + "dividends_paid": "dividends_paid", + "other_financing_activites": "other_financing_activities", + "net_cash_used_provided_by_financing_activities": "cash_flow_from_financing", + "effect_of_forex_changes_on_cash": "change_in_exchange_rate", + "net_change_in_cash": "net_change_in_cash", + "cash_at_end_of_period": "cash_at_end_of_period", + "cash_at_beginning_of_period": "cash_at_beginning_of_period", + "operating_cash_flow": "operating_cash_flow", + "capital_expenditure": "capital_expenditure", + "free_cash_flow": "free_cash_flow", + "link": "link", + "final_link": "final_link", + }, } +CASH_PLOT_CHOICES = [ + "operating_cash_flow", + "payments_for_operating_activities", + "proceeds_from_operating_activities", + "change_in_operating_liabilities", + "change_in_operating_assets", + "depreciation_depletion_and_amortization", + "capital_expenditure", + "change_in_receivables", + "inventory", + "profit_loss", + "cash_flow_from_investment", + "cash_flow_from_financing", + "proceeds_from_repayments_of_short_term_debt", + "common_stock_repurchased", + "payments_for_repurchase_of_equity", + "payments_for_repurchase_of_preferred_stock", + "dividends_paid", + "dividend_payout_common_stock", + "dividend_payout_preferred_stock", + "common_stock_issued", + "proceeds_from_issuance_of_long_term_debt_and_capital_securities_net", + "proceeds_from_issuance_of_preferred_stock", + "proceeds_from_repurchase_of_equity", + "proceeds_from_sale_of_treasury_stock", + "net_change_in_cash", + "change_in_exchange_rate", + "net_income", + "depreciation_&_amortisation", + "net_cash_flow_from_financing_activities_continuing", + "net_cash_flow_from_investing_activities_continuing", + "net_cash_flow_continuing", + "net_cash_provided_by_operating_activities", + "deferred_income_taxes", + "stock_based_compensation", + "change_in_working_capital", + "accounts_payable", + "other_working_capital", + "investments_in_property,_plant_and_equipment", + "acquisitions_net", + "purchases_of_investments", + "sales_maturities_of_investments", + "other_investing_activities", + "debt_repayment", + "other_financing_activities", + "cash_at_beginning_of_period", + "cash_at_end_of_period", + "free_cash_flow", + "other_non_cash_items", +] diff --git a/openbb_terminal/stocks/stocks_helper.py b/openbb_terminal/stocks/stocks_helper.py index 3630155671de..7b67eda210b7 100644 --- a/openbb_terminal/stocks/stocks_helper.py +++ b/openbb_terminal/stocks/stocks_helper.py @@ -4,6 +4,7 @@ # pylint: disable=unsupported-assignment-operation,too-many-lines # pylint: disable=no-member,too-many-branches,too-many-arguments # pylint: disable=inconsistent-return-statements +# pylint: disable=consider-using-dict-items import logging import os @@ -37,9 +38,12 @@ # pylint: disable=unused-import from openbb_terminal.stocks.stock_statics import ( BALANCE_PLOT, # noqa: F401 + BALANCE_PLOT_CHOICES, # noqa: F401 CANDLE_SORT, # noqa: F401 CASH_PLOT, # noqa: F401 + CASH_PLOT_CHOICES, # noqa: F401 INCOME_PLOT, # noqa: F401 + INCOME_PLOT_CHOICES, # noqa: F401 INTERVALS, # noqa: F401 SOURCES, # noqa: F401 market_coverage_suffix, @@ -1118,3 +1122,37 @@ def map_parse_choices(choices: List[str]) -> Dict[str, str]: the_dict = {x.lower().replace(" ", "_"): x for x in choices} the_dict[""] = "" return the_dict + + +def verify_plot_options(command: str, source: str, plot: list) -> bool: + if command == "cash": + command_options = CASH_PLOT + elif command == "balance": + command_options = BALANCE_PLOT + else: + command_options = INCOME_PLOT + options = list(command_options[source].values()) + + incorrect_columns = [] + for column in plot: + if column not in options: + incorrect_columns.append(column) + if incorrect_columns: + console.print( + f"[red]The chosen columns to plot is not available for {source}.[/red]\n" + ) + for column in incorrect_columns: + possible_sources = [] + for i in command_options: + if column in list(command_options[i].values()): + possible_sources.append(i) + if possible_sources: + console.print( + f"[red]{column} can be plotted with the following sources: {', '.join(possible_sources)}[/red]" + ) + else: + console.print( + f"[red]{column} does not exist in a existing data source.[/red]" + ) + return True + return False diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[balance-False].yaml b/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[balance-False].yaml index 972623b18cd2..5509bac3003b 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[balance-False].yaml +++ b/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[balance-False].yaml @@ -12,145 +12,24 @@ interactions: uri: https://api.polygon.io/vX/reference/financials?apiKey=MOCK_API_KEY&filing_date.gte=1980-01-01&limit=100&ticker=AAPL&timeframe=annual response: body: - string: !!binary | - H4sIAAAAAA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lY8150SuqmhnAQORs1R0xA7ei2xfiGklVGVRFVga9rgODW7VT - JxKzINlxqIR4UeyM+9Bfik65u5DPgPJkAdPQQlllBRW0bSMlc2zXOmZgcIZSycaqiSU4r/iorebK - QwVWWl7fkkBY5xSrrEstTGRHrbswESFIzwgTq2iyP2aLPqPJe8psK2iyCIlo8gVLTs+R82dA7U3o - iSMf2z/nyCKIIG3Jkf+nGPPd4za3ff//ND/v/vMx2+7my3wMZBCZclnQUrs7a2+VQ2/vUN9lxi7u - Ml2M6GM+6VD/8X8BAAD//2IuXK1tRgEA + string: '{"status":"ERROR","request_id":"823f6f749fcddee6a4fdda05018e3c31","error":"Unknown + API Key"}' headers: Connection: - keep-alive - Content-Encoding: - - gzip + Content-Length: + - '92' Content-Type: - application/json Date: - - Fri, 03 Feb 2023 13:55:00 GMT + - Mon, 20 Feb 2023 22:58:53 GMT Server: - nginx/1.19.2 Strict-Transport-Security: - max-age=15724800; includeSubDomains - Transfer-Encoding: - - chunked - Vary: - - Accept-Encoding - X-Item-Count: - - '14' X-Request-Id: - - 290e37e94247d66c37186d14de56ade4 + - 823f6f749fcddee6a4fdda05018e3c31 status: - code: 200 - message: OK + code: 401 + message: Unauthorized version: 1 diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[balance-True].yaml b/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[balance-True].yaml index 46bcb679df72..83b2188fee50 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[balance-True].yaml +++ b/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[balance-True].yaml @@ -12,271 +12,24 @@ interactions: uri: https://api.polygon.io/vX/reference/financials?apiKey=MOCK_API_KEY&filing_date.gte=1980-01-01&limit=100&ticker=AAPL&timeframe=quarterly response: body: - string: !!binary | - H4sIAAAAAAAA/+y9W3Mcx7En/lUQeBWn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v3s/d0vDu5uOXx/U74YS/2/3W2FPS0+dKnHF/fvE73ZNuBetvbOweyrx/ - zLtF8mr96+f17cP66vmIrx/o7rcufr/7rTcXz7P9t5NFA3n9jU09i2w8eI32J+x5h37/9L8vhy5Z - /jUteYEKvjjSG1X7naHdo/18ff948/bm824YHtZvv9zvtmjvbh52J9oUBbfvrr7cvvzJ8+Tb3tb2 - DXh50T++POrFX5+P+ubid78dZLvH+8+Xh32erdtbfXOxfWvkO9lvde4eHq/u3l/t19nX6/3D48Vf - 3l/sl9uXVUy00fHL+ZvLn+83N/n5/u79zatH8/9tfn7x4+7nL3apPiWmMkrdM+OX65uPT9Pi7d2n - T3e3Vw+Pd2//68Pdx3fr+44xPpoYT0fYzIoftke4+OuLIxwNp7j27l6Sn9a36/c3jw9XmwF+6HxT - /mP/KxebgX64uN7s3Y9eGW9yytR/Ony50j9e//q8COwv4HhN36zWTyf6dn8NL59DQNe/i0Dseg7M - AA8YuN2hP9+v36/v79fvdg/y6t3NLzfv1rfvduXPbp91/e7/fnl43GwRXp36x6c/3T3Bi989/en2 - ndltsL5/8afiK5KHfEZ/Wr+/u19Xfkf/Y/vHrz+km+1G4LYb/vkN3teGHZNsN7e+r5pbmy3jZl/2 - 8Hh9/3j17vpxffndJVrElaUVxss3l+vbd69/HlboL99cvr/Zrsyv/iuuMF++uXx781+X311aay2h - hUyXu03p9e0/rm6vN5XO5fefP3/c7i/N9kgPb68/br7WN3fvLr+7/J/02w//sb6+3x/+8s3lw92X - +7frq/2pv9xv7v7D4+Pnh+++/fb68435fPfxHz/f3Zqbu29/gW+3U2V9+3b97cP67be7P3r49rfL - Wm0u2Vob7dGh3998XCsef/Of64dvr68/f1xtbsUG9FcfHj+ZXz99vPzXm0Pgq2uTPNcMJWOBLSX9 - mX0th33TnEHPVSW7Y5ZVONlEjEmqcBS3gsFkELeCNd8BNN6C+BlY/h5wAXsRaSg7H1KDelS6jrEf - qmAiu84E1YrSu7KScp7yWhjrfXW9vF3UePAl58h9a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r1Y9L0r6QmjzoryxnBscVvSoyFhklHhJ9hUaVPeDQQ5UKNU/oPEpTaN/8HmI+1El8OhM4hRHe9xx - achXDX7pQdUDHg2iF2NvZcBWegAKcFoIgVH+xCbIrfiePHHKPn262X33txN4tzD/vL59e3iLv/3i - tkT44dUvStOmVsyhxcyRNs3/Tswc6dN1qsqRHniHVpg74B0buumBm/+KK8RTgHdsXoEnCK3gnefj - H8I7NjwRA//PdswfvzxsXor///LN5f3671/WD49XN5sxWIeM0a7pOvn0/ieMaCk6m/NP19c/YfZb - Dubdl83EdvZf/y8AAP//3+nGiksgAwA= + string: '{"status":"ERROR","request_id":"56aa81b38d89036ff51cdb1aa5b171f7","error":"Unknown + API Key"}' headers: Connection: - keep-alive - Content-Encoding: - - gzip + Content-Length: + - '92' Content-Type: - application/json Date: - - Fri, 03 Feb 2023 13:55:00 GMT + - Mon, 20 Feb 2023 22:58:53 GMT Server: - nginx/1.19.2 Strict-Transport-Security: - max-age=15724800; includeSubDomains - Transfer-Encoding: - - chunked - Vary: - - Accept-Encoding - X-Item-Count: - - '40' X-Request-Id: - - e69270e3a858fb2720374099baab2951 + - 56aa81b38d89036ff51cdb1aa5b171f7 status: - code: 200 - message: OK + code: 401 + message: Unauthorized version: 1 diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[income-False].yaml b/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[income-False].yaml index ca54d1dc5d6c..c6d749d9cac0 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[income-False].yaml +++ b/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[income-False].yaml @@ -12,25 +12,24 @@ interactions: uri: https://api.polygon.io/vX/reference/financials?apiKey=MOCK_API_KEY&filing_date.gte=1980-01-01&limit=100&ticker=AAPL&timeframe=annual response: body: - string: '{"status":"ERROR","request_id":"9993c5906a2d56f0f40be8ba26d4d600","error":"You''ve - exceeded the maximum requests per minute, please wait or upgrade your subscription - to continue. https://polygon.io/pricing"}' + string: '{"status":"ERROR","request_id":"966a880cd5b896b9920decf6a695eb79","error":"Unknown + API Key"}' headers: Connection: - keep-alive Content-Length: - - '206' + - '92' Content-Type: - application/json Date: - - Fri, 03 Feb 2023 13:54:59 GMT + - Mon, 20 Feb 2023 22:58:52 GMT Server: - nginx/1.19.2 Strict-Transport-Security: - max-age=15724800; includeSubDomains X-Request-Id: - - 9993c5906a2d56f0f40be8ba26d4d600 + - 966a880cd5b896b9920decf6a695eb79 status: - code: 429 - message: Too Many Requests + code: 401 + message: Unauthorized version: 1 diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[income-True].yaml b/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[income-True].yaml index 217105e53acc..e4ee85b618e3 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[income-True].yaml +++ b/tests/openbb_terminal/stocks/fundamental_analysis/cassettes/test_polygon_view/test_display_fundamentals[income-True].yaml @@ -12,25 +12,24 @@ interactions: uri: https://api.polygon.io/vX/reference/financials?apiKey=MOCK_API_KEY&filing_date.gte=1980-01-01&limit=100&ticker=AAPL&timeframe=quarterly response: body: - string: '{"status":"ERROR","request_id":"18e8815598da5f111995cfd4cd1c748a","error":"You''ve - exceeded the maximum requests per minute, please wait or upgrade your subscription - to continue. https://polygon.io/pricing"}' + string: '{"status":"ERROR","request_id":"6b04752c5441b72d7a2d6ddb0ac6c08c","error":"Unknown + API Key"}' headers: Connection: - keep-alive Content-Length: - - '206' + - '92' Content-Type: - application/json Date: - - Fri, 03 Feb 2023 13:54:59 GMT + - Mon, 20 Feb 2023 22:58:52 GMT Server: - nginx/1.19.2 Strict-Transport-Security: - max-age=15724800; includeSubDomains X-Request-Id: - - 18e8815598da5f111995cfd4cd1c748a + - 6b04752c5441b72d7a2d6ddb0ac6c08c status: - code: 429 - message: Too Many Requests + code: 401 + message: Unauthorized version: 1 diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt index bee13c7d9125..59d8966062ba 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt @@ -1,38 +1,38 @@ -fiscalDateEnding 2021-12-31 2022-03-31 2022-06-30 2022-09-30 2022-12-31 -Reported Currency USD USD USD USD USD -Total Assets 62.131 B 66.038 B 68.513 B 74.426 B 82.338 B -Total Current Assets 27.100 B 29.050 B 31.222 B 35.990 B 40.917 B -Cash And Cash Equivalents At Carrying Value 17.576 B 17.505 B 18.324 B 19.532 B 16.253 B -Cash And Short Term Investments 17.707 B 18.013 B 18.915 B 21.107 B 22.185 B -Inventory 5.757 B 6.691 B 8.108 B 10.327 B 12.839 B -Current Net Receivables 1.924 B 2.321 B 2.089 B 2.198 B 2.959 B -Total Non Current Assets 25.281 B 25.534 B 26.936 B 28.067 B 32.209 B -Property Plant Equipment 18.884 B 20.027 B 21.093 B 21.926 B 23.548 B -Accumulated Depreciation Amortization Ppe 6.731 B 7.266 B 7.787 B 8.321 B 9.041 B -Intangible Assets 457 M 454 M 437 M 419 M 409 M -Intangible Assets Excluding Goodwill 257 M 254 M 241 M 228 M 215 M -Goodwill 200 M 200 M 196 M 191 M 194 M -Investments 131 M 18.521 B 19.506 B 22.682 B 22.185 B -Long Term Investments 0 0 0 0 0 -Short Term Investments 131 M 508 M 591 M 1.575 B 5.932 B -Other Current Assets 1.723 B 2.035 B 2.118 B 2.364 B 2.941 B -Other Non Current Assets 2.138 B 2.634 B 2.952 B 3.236 B 4.193 B -Total Liabilities 30.548 B 30.632 B 30.855 B 33.302 B 36.440 B -Total Current Liabilities 19.705 B 21.455 B 21.821 B 24.611 B 26.709 B -Current Accounts Payable 10.025 B 11.171 B 11.212 B 13.897 B 15.255 B -Deferred Revenue 5.881 B 3.782 B 6.728 B 6.993 B 7.464 B -Current Debt 1.088 B 1.168 B 1.057 B 979 M 1.016 B -Short Term Debt 587 M 677 M 582 M 501 M 530 M -Total Non Current Liabilities 8.260 B 8.738 B 8.761 B 9.168 B 10.866 B -Capital Lease Obligations 991 M 900 M 803 M 678 M 568 M -Long Term Debt 4.254 B 2.253 B 2.095 B 1.418 B 1.029 B -Current Long Term Debt 1.088 B 1.168 B 1.057 B 979 M 0 -Long Term Debt Noncurrent 0 0 0 0 0 -Short Long Term Debt Total 4.841 B 2.930 B 2.677 B 1.919 B 1.559 B -Other Current Liabilities 310 M 309 M 337 M 342 M 354 M -Other Non Current Liabilities 3.546 B 3.839 B 3.926 B 4.330 B 5.330 B -Total Shareholder Equity 30.189 B 34.085 B 36.376 B 39.851 B 44.704 B -Treasury Stock 0 0 0 0 0 -Retained Earnings 329 M 3.649 B 5.908 B 9.198 B 12.885 B -Common Stock 3 M 1 M 1 M 3 M 3 M -Common Stock Shares Outstanding 1.033 B 1.036 B 1.041 B 3.158 B 3.164 B +fiscalDateEnding 2021-12-31 2022-03-31 2022-06-30 2022-09-30 2022-12-31 +Reported Currency USD USD USD USD USD +Total Assets 62.131 B 66.038 B 68.513 B 74.426 B 82.338 B +Total Current Assets 27.100 B 29.050 B 31.222 B 35.990 B 40.917 B +Cash And Cash Equivalents 17.576 B 17.505 B 18.324 B 19.532 B 16.253 B +Cash And Short Term Investments 17.707 B 18.013 B 18.915 B 21.107 B 22.185 B +Inventory 5.757 B 6.691 B 8.108 B 10.327 B 12.839 B +Net Receivables 1.924 B 2.321 B 2.089 B 2.198 B 2.959 B +Total Non Current Assets 25.281 B 25.534 B 26.936 B 28.067 B 32.209 B +Property Plant Equipment 18.884 B 20.027 B 21.093 B 21.926 B 23.548 B +Accumulated Depreciation Amortization Ppe 6.731 B 7.266 B 7.787 B 8.321 B 9.041 B +Intangible Assets 457 M 454 M 437 M 419 M 409 M +Intangible Assets Excluding Goodwill 257 M 254 M 241 M 228 M 215 M +Goodwill 200 M 200 M 196 M 191 M 194 M +Investments 131 M 18.521 B 19.506 B 22.682 B 22.185 B +Long Term Investments 0 0 0 0 0 +Short Term Investments 131 M 508 M 591 M 1.575 B 5.932 B +Other Current Assets 1.723 B 2.035 B 2.118 B 2.364 B 2.941 B +Other Non Current Assets 2.138 B 2.634 B 2.952 B 3.236 B 4.193 B +Total Liabilities 30.548 B 30.632 B 30.855 B 33.302 B 36.440 B +Total Current Liabilities 19.705 B 21.455 B 21.821 B 24.611 B 26.709 B +Current Accounts Payable 10.025 B 11.171 B 11.212 B 13.897 B 15.255 B +Deferred Revenue 5.881 B 3.782 B 6.728 B 6.993 B 7.464 B +Current Debt 1.088 B 1.168 B 1.057 B 979 M 1.016 B +Short Term Debt 587 M 677 M 582 M 501 M 530 M +Total Non Current Liabilities 8.260 B 8.738 B 8.761 B 9.168 B 10.866 B +Capital Lease Obligations 991 M 900 M 803 M 678 M 568 M +Long Term Debt 4.254 B 2.253 B 2.095 B 1.418 B 1.029 B +Current Long Term Debt 1.088 B 1.168 B 1.057 B 979 M 0 +Long Term Debt Non Current 0 0 0 0 0 +Short Long Term Debt Total 4.841 B 2.930 B 2.677 B 1.919 B 1.559 B +Other Current Liabilities 310 M 309 M 337 M 342 M 354 M +Other Non Current Liabilities 3.546 B 3.839 B 3.926 B 4.330 B 5.330 B +Total Shareholder Equity 30.189 B 34.085 B 36.376 B 39.851 B 44.704 B +Treasury Stock 0 0 0 0 0 +Retained Earnings 329 M 3.649 B 5.908 B 9.198 B 12.885 B +Common Stock 3 M 1 M 1 M 3 M 3 M +Common Stock Shares Outstanding 1.033 B 1.036 B 1.041 B 3.158 B 3.164 B diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt index 6b4b47e8e3a4..1f127cc2da4d 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_balance_sheet-kwargs_dict5].txt @@ -1,38 +1,38 @@ -fiscalDateEnding 2018-12-31 2019-12-31 2020-12-31 2021-12-31 2022-12-31 -Reported Currency USD USD USD USD USD -Total Assets 29.740 B 34.309 B 52.148 B 62.131 B 82.338 B -Total Current Assets 8.307 B 12.103 B 26.717 B 27.100 B 40.917 B -Cash And Cash Equivalents At Carrying Value 3.686 B 6.268 B 19.384 B 17.576 B 16.253 B -Cash And Short Term Investments 3.686 B 6.268 B 19.384 B 17.707 B 22.185 B -Inventory 3.113 B 3.552 B 4.101 B 5.757 B 12.839 B -Current Net Receivables 949.022 M 1.324 B 1.895 B 1.924 B 2.959 B -Total Non Current Assets 13.072 B 15.251 B 18.134 B 25.281 B 32.209 B -Property Plant Equipment 11.330 B 10.396 B 12.747 B 18.884 B 23.548 B -Accumulated Depreciation Amortization Ppe 2.699 B 3.734 B 5.117 B 6.731 B 9.041 B -Intangible Assets 350 M 537 M 520 M 457 M 409 M -Intangible Assets Excluding Goodwill 282 M 339 M 313 M 257 M 215 M -Goodwill 68 M 198 M 207 M 200 M 194 M -Investments 0 0 0 131 M 22.185 B -Long Term Investments 421.548 M 1 M 0 0 0 -Short Term Investments 192.551 M 0 0 131 M 5.932 B -Other Current Assets 558.222 M 959 M 1.346 B 1.723 B 2.941 B -Other Non Current Assets 572 M 1.470 B 1.536 B 2.138 B 4.193 B -Total Liabilities 23.427 B 26.199 B 28.418 B 30.548 B 36.440 B -Total Current Liabilities 9.993 B 10.667 B 14.248 B 19.705 B 26.709 B -Current Accounts Payable 3.405 B 3.771 B 6.051 B 10.025 B 15.255 B -Deferred Revenue 2.504 B 3.842 B 4.668 B 5.881 B 7.464 B -Current Debt 2.222 B 1.399 B 1.758 B 1.088 B 1.016 B -Short Term Debt 2.711 B 785 M 1.384 B 587 M 530 M -Total Non Current Liabilities 13.164 B 6.050 B 6.962 B 8.260 B 10.866 B -Capital Lease Obligations 1.856 B 1.232 B 1.094 B 991 M 568 M -Long Term Debt 8.411 B 10.402 B 8.462 B 4.254 B 1.029 B -Current Long Term Debt 2.568 B 228 M 2.132 B 1.088 B 0 -Long Term Debt Noncurrent 0 0 0 0 0 -Short Long Term Debt Total 8.410 B 11.187 B 9.846 B 4.841 B 1.559 B -Other Current Liabilities 372 M 260 M 264 M 310 M 354 M -Other Non Current Liabilities 2.710 B 2.691 B 3.330 B 3.546 B 5.330 B -Total Shareholder Equity 4.923 B 6.618 B 22.225 B 30.189 B 44.704 B -Treasury Stock 0 0 0 0 0 -Retained Earnings -5.318 B -6.083 B -5.399 B 329 M 12.885 B -Common Stock 0 1 M 1 M 3 M 3 M -Common Stock Shares Outstanding 172.603 M 181 M 960 M 1.033 B 3.164 B +fiscalDateEnding 2018-12-31 2019-12-31 2020-12-31 2021-12-31 2022-12-31 +Reported Currency USD USD USD USD USD +Total Assets 29.740 B 34.309 B 52.148 B 62.131 B 82.338 B +Total Current Assets 8.307 B 12.103 B 26.717 B 27.100 B 40.917 B +Cash And Cash Equivalents 3.686 B 6.268 B 19.384 B 17.576 B 16.253 B +Cash And Short Term Investments 3.686 B 6.268 B 19.384 B 17.707 B 22.185 B +Inventory 3.113 B 3.552 B 4.101 B 5.757 B 12.839 B +Net Receivables 949.022 M 1.324 B 1.895 B 1.924 B 2.959 B +Total Non Current Assets 13.072 B 15.251 B 18.134 B 25.281 B 32.209 B +Property Plant Equipment 11.330 B 10.396 B 12.747 B 18.884 B 23.548 B +Accumulated Depreciation Amortization Ppe 2.699 B 3.734 B 5.117 B 6.731 B 9.041 B +Intangible Assets 350 M 537 M 520 M 457 M 409 M +Intangible Assets Excluding Goodwill 282 M 339 M 313 M 257 M 215 M +Goodwill 68 M 198 M 207 M 200 M 194 M +Investments 0 0 0 131 M 22.185 B +Long Term Investments 421.548 M 1 M 0 0 0 +Short Term Investments 192.551 M 0 0 131 M 5.932 B +Other Current Assets 558.222 M 959 M 1.346 B 1.723 B 2.941 B +Other Non Current Assets 572 M 1.470 B 1.536 B 2.138 B 4.193 B +Total Liabilities 23.427 B 26.199 B 28.418 B 30.548 B 36.440 B +Total Current Liabilities 9.993 B 10.667 B 14.248 B 19.705 B 26.709 B +Current Accounts Payable 3.405 B 3.771 B 6.051 B 10.025 B 15.255 B +Deferred Revenue 2.504 B 3.842 B 4.668 B 5.881 B 7.464 B +Current Debt 2.222 B 1.399 B 1.758 B 1.088 B 1.016 B +Short Term Debt 2.711 B 785 M 1.384 B 587 M 530 M +Total Non Current Liabilities 13.164 B 6.050 B 6.962 B 8.260 B 10.866 B +Capital Lease Obligations 1.856 B 1.232 B 1.094 B 991 M 568 M +Long Term Debt 8.411 B 10.402 B 8.462 B 4.254 B 1.029 B +Current Long Term Debt 2.568 B 228 M 2.132 B 1.088 B 0 +Long Term Debt Non Current 0 0 0 0 0 +Short Long Term Debt Total 8.410 B 11.187 B 9.846 B 4.841 B 1.559 B +Other Current Liabilities 372 M 260 M 264 M 310 M 354 M +Other Non Current Liabilities 2.710 B 2.691 B 3.330 B 3.546 B 5.330 B +Total Shareholder Equity 4.923 B 6.618 B 22.225 B 30.189 B 44.704 B +Treasury Stock 0 0 0 0 0 +Retained Earnings -5.318 B -6.083 B -5.399 B 329 M 12.885 B +Common Stock 0 1 M 1 M 3 M 3 M +Common Stock Shares Outstanding 172.603 M 181 M 960 M 1.033 B 3.164 B diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt index 369150496419..c10058a33210 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict6].txt @@ -1,29 +1,29 @@ -fiscalDateEnding 2021-12-31 2022-03-31 2022-06-30 2022-09-30 2022-12-31 -Reported Currency USD USD USD USD USD -Operating Cashflow 4.585 B 3.995 B 2.351 B 5.100 B 3.278 B -Payments For Operating Activities 0 0 0 0 0 -Proceeds From Operating Activities 0 0 0 0 0 -Change In Operating Liabilities 2.384 B 1.598 B 957 M 3.976 B 2.533 B -Change In Operating Assets -5.755 B 1.942 B 2.058 B 3.363 B 4.194 B -Depreciation Depletion And Amortization 997 M 552 M 578 M 620 M 1.162 B -Capital Expenditures 1.810 B 1.767 B 3.230 B 303 M 1.858 B -Change In Receivables -278 M 409 M -176 M 193 M 698 M -Change In Inventory -2.884 B 633 M 1.559 B 2.300 B 1.973 B -Profit Loss 2.343 B 3.280 B 2.269 B 3.331 B 3.707 B -Cashflow From Investment -1.916 B -2.167 B -884 M -2.791 B -6.131 B -Cashflow From Financing -1.257 B -1.914 B -406 M -712 M -495 M -Proceeds From Repayments Of Short Term Debt 0 0 0 0 0 -Payments For Repurchase Of Common Stock 0 0 0 0 0 -Payments For Repurchase Of Equity 0 0 0 0 0 -Payments For Repurchase Of Preferred Stock 0 0 0 0 0 -Dividend Payout 0 0 0 0 0 -Dividend Payout Common Stock 0 0 0 0 0 -Dividend Payout Preferred Stock 0 0 0 0 0 -Proceeds From Issuance Of Common Stock 0 0 0 0 0 -Proceeds From Issuance Of Long Term Debt And Capital Securities Net 0 0 0 0 0 -Proceeds From Issuance Of Preferred Stock 0 0 0 0 0 -Proceeds From Repurchase Of Equity 262 M 202 M 43 M 229 M 67 M -Proceeds From Sale Of Treasury Stock 0 0 0 0 0 -Change In Cash And Cash Equivalents 1.412 B -86 M 2.847 B 1.597 B 0 -Change In Exchange Rate 0 0 0 0 0 -Net Income 2.321 B 3.318 B 2.259 B 3.292 B 3.687 B +fiscalDateEnding 2021-12-31 2022-03-31 2022-06-30 2022-09-30 2022-12-31 +Reported Currency USD USD USD USD USD +Operating Cash Flow 4.585 B 3.995 B 2.351 B 5.100 B 3.278 B +Payments For Operating Activities 0 0 0 0 0 +Proceeds From Operating Activities 0 0 0 0 0 +Change In Operating Liabilities 2.384 B 1.598 B 957 M 3.976 B 2.533 B +Change In Operating Assets -5.755 B 1.942 B 2.058 B 3.363 B 4.194 B +Depreciation Depletion And Amortization 997 M 552 M 578 M 620 M 1.162 B +Capital Expenditure 1.810 B 1.767 B 3.230 B 303 M 1.858 B +Change In Receivables -278 M 409 M -176 M 193 M 698 M +Inventory -2.884 B 633 M 1.559 B 2.300 B 1.973 B +Profit Loss 2.343 B 3.280 B 2.269 B 3.331 B 3.707 B +Cash Flow From Investment -1.916 B -2.167 B -884 M -2.791 B -6.131 B +Cash Flow From Financing -1.257 B -1.914 B -406 M -712 M -495 M +Proceeds From Repayments Of Short Term Debt 0 0 0 0 0 +Common Stock Repurchased 0 0 0 0 0 +Payments For Repurchase Of Equity 0 0 0 0 0 +Payments For Repurchase Of Preferred Stock 0 0 0 0 0 +Dividends Paid 0 0 0 0 0 +Dividend Payout Common Stock 0 0 0 0 0 +Dividend Payout Preferred Stock 0 0 0 0 0 +Common Stock Issued 0 0 0 0 0 +Proceeds From Issuance Of Long Term 0 0 0 0 0 +Proceeds From Issuance Of Preferred Stock 0 0 0 0 0 +Proceeds From Repurchase Of Equity 262 M 202 M 43 M 229 M 67 M +Proceeds From Sale Of Treasury Stock 0 0 0 0 0 +Net Change In Cash 1.412 B -86 M 2.847 B 1.597 B 0 +Change In Exchange Rate 0 0 0 0 0 +Net Income 2.321 B 3.318 B 2.259 B 3.292 B 3.687 B diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict7].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict7].txt index d668a8e8457c..c756534ef069 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict7].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_cash_flow-kwargs_dict7].txt @@ -1,29 +1,29 @@ -fiscalDateEnding 2018-12-31 2019-12-31 2020-12-31 2021-12-31 2022-12-31 -Reported Currency USD USD USD USD USD -Operating Cashflow 2.098 B 2.405 B 5.943 B 11.497 B 14.724 B -Payments For Operating Activities 443.545 M 1.009 B 1.115 B 1.532 B 2.184 B -Proceeds From Operating Activities 0 0 0 0 0 -Change In Operating Liabilities 2.289 B 1.592 B 2.918 B 5.847 B 9.064 B -Change In Operating Assets 1.602 B 969 M 1.669 B -3.401 B 11.557 B -Depreciation Depletion And Amortization 1.269 B 1.901 B 2.149 B 2.381 B 2.913 B -Capital Expenditures 2.101 B 1.332 B 3.167 B 7.982 B 7.158 B -Change In Receivables 496.732 M 367 M 652 M -130 M 1.124 B -Change In Inventory 1.023 B 429 M 422 M 1.709 B 6.465 B -Profit Loss -1.063 B -775 M 862 M 5.644 B 12.587 B -Cashflow From Investment -2.337 B -1.436 B -3.132 B -7.868 B -11.973 B -Cashflow From Financing 574 M 1.529 B 9.973 B -5.203 B -3.527 B -Proceeds From Repayments Of Short Term Debt 0 0 0 0 0 -Payments For Repurchase Of Common Stock 0 0 0 0 0 -Payments For Repurchase Of Equity 11 K 0 0 0 0 -Payments For Repurchase Of Preferred Stock 0 0 0 0 0 -Dividend Payout 0 0 0 0 0 -Dividend Payout Common Stock 0 0 0 0 0 -Dividend Payout Preferred Stock 0 0 0 0 0 -Proceeds From Issuance Of Common Stock 0 848 M 12.269 B 0 0 -Proceeds From Issuance Of Long Term Debt And Capital Securities Net 0 0 0 0 0 -Proceeds From Issuance Of Preferred Stock 0 174 M 0 0 0 -Proceeds From Repurchase Of Equity 295.711 M 1.285 B 12.686 B 707 M 541 M -Proceeds From Sale Of Treasury Stock 0 0 0 0 0 -Change In Cash And Cash Equivalents 334.129 M 2.498 B 12.784 B -1.574 B 0 -Change In Exchange Rate 0 0 0 0 0 -Net Income -976 M -862 M 721 M 5.519 B 12.556 B +fiscalDateEnding 2018-12-31 2019-12-31 2020-12-31 2021-12-31 2022-12-31 +Reported Currency USD USD USD USD USD +Operating Cash Flow 2.098 B 2.405 B 5.943 B 11.497 B 14.724 B +Payments For Operating Activities 443.545 M 1.009 B 1.115 B 1.532 B 2.184 B +Proceeds From Operating Activities 0 0 0 0 0 +Change In Operating Liabilities 2.289 B 1.592 B 2.918 B 5.847 B 9.064 B +Change In Operating Assets 1.602 B 969 M 1.669 B -3.401 B 11.557 B +Depreciation Depletion And Amortization 1.269 B 1.901 B 2.149 B 2.381 B 2.913 B +Capital Expenditure 2.101 B 1.332 B 3.167 B 7.982 B 7.158 B +Change In Receivables 496.732 M 367 M 652 M -130 M 1.124 B +Inventory 1.023 B 429 M 422 M 1.709 B 6.465 B +Profit Loss -1.063 B -775 M 862 M 5.644 B 12.587 B +Cash Flow From Investment -2.337 B -1.436 B -3.132 B -7.868 B -11.973 B +Cash Flow From Financing 574 M 1.529 B 9.973 B -5.203 B -3.527 B +Proceeds From Repayments Of Short Term Debt 0 0 0 0 0 +Common Stock Repurchased 0 0 0 0 0 +Payments For Repurchase Of Equity 11 K 0 0 0 0 +Payments For Repurchase Of Preferred Stock 0 0 0 0 0 +Dividends Paid 0 0 0 0 0 +Dividend Payout Common Stock 0 0 0 0 0 +Dividend Payout Preferred Stock 0 0 0 0 0 +Common Stock Issued 0 848 M 12.269 B 0 0 +Proceeds From Issuance Of Long Term 0 0 0 0 0 +Proceeds From Issuance Of Preferred Stock 0 174 M 0 0 0 +Proceeds From Repurchase Of Equity 295.711 M 1.285 B 12.686 B 707 M 541 M +Proceeds From Sale Of Treasury Stock 0 0 0 0 0 +Net Change In Cash 334.129 M 2.498 B 12.784 B -1.574 B 0 +Change In Exchange Rate 0 0 0 0 0 +Net Income -976 M -862 M 721 M 5.519 B 12.556 B diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict2].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict2].txt index cd47bef78ba7..fb7c22f84a64 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict2].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict2].txt @@ -3,16 +3,16 @@ Reported Currency USD USD USD US Gross Profit 4.847 B 5.460 B 4.234 B 5.382 B 5.777 B Total Revenue 17.719 B 18.756 B 16.934 B 21.454 B 24.318 B Cost Of Revenue 12.872 B 13.296 B 12.700 B 16.072 B 18.541 B -Costof Goods And Services Sold 149 M 197 M 82 M 97 M 143 M +Cost Of Goods And Services Sold 149 M 197 M 82 M 97 M 143 M Operating Income 2.613 B 3.603 B 2.464 B 3.688 B 3.901 B Selling General And Administrative 1.494 B 992 M 961 M 961 M 1.032 B -Research And Development 740 M 865 M 667 M 733 M 810 M +Research And Development Expenses 740 M 865 M 667 M 733 M 810 M Operating Expenses 2.234 B 1.857 B 1.770 B 1.694 B 1.876 B Investment Income Net 25 M 28 M 26 M 86 M 157 M Net Interest Income -71 M -61 M -44 M -53 M -33 M Interest Income 25 M 28 M 26 M 33 M 124 M Interest Expense 71 M 61 M 44 M 53 M 33 M -Non Interest Income -47 M -30 M 82 M -53 M -80 M +Revenue -47 M -30 M 82 M -53 M -80 M Other Non Operating Income 68 M 56 M 28 M -85 M -42 M Depreciation 530 M 551 M 578 M 620 M 670 M Depreciation And Amortization 848 M 880 M 922 M 956 M 989 M diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict3].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict3].txt index aa28d6bd0145..85edfb69609a 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict3].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_av_view/test_check_output[True-display_income_statement-kwargs_dict3].txt @@ -3,16 +3,16 @@ Reported Currency USD USD USD U Gross Profit 4.042 B 4.069 B 6.630 B 13.606 B 20.853 B Total Revenue 21.461 B 24.578 B 31.536 B 53.823 B 81.462 B Cost Of Revenue 17.419 B 20.509 B 24.906 B 40.217 B 60.609 B -Costof Goods And Services Sold 85.272 M 193 M 289 M 374 M 604 M +Cost Of Goods And Services Sold 85.272 M 193 M 289 M 374 M 604 M Operating Income -388 M -69 M 1.994 B 6.523 B 13.656 B Selling General And Administrative 2.835 B 2.646 B 3.145 B 4.517 B 3.946 B -Research And Development 1.460 B 1.343 B 1.491 B 2.593 B 3.075 B +Research And Development Expenses 1.460 B 1.343 B 1.491 B 2.593 B 3.075 B Operating Expenses 4.430 B 4.138 B 4.636 B 7.083 B 7.197 B Investment Income Net 24.533 M 44 M 30 M 56 M 297 M Net Interest Income -663.071 M -685 M -748 M -371 M -191 M Interest Income -71 K 44 M 30 M 56 M 41 M Interest Expense 663 M 685 M 748 M 371 M 191 M -Non Interest Income 22.185 B -98 M -336 M -55 M -81 M +Revenue 22.185 B -98 M -336 M -55 M -81 M Other Non Operating Income 22 M 45 M -122 M 135 M -43 M Depreciation 1.110 B 1.370 B 1.570 B 1.910 B 2.420 B Depreciation And Amortization 66 M 343 M 399 M 466 M 493 M diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_balance_sheet-kwargs_dict4].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_balance_sheet-kwargs_dict4].txt index 0594fb1f6e4f..e9281cf65798 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_balance_sheet-kwargs_dict4].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_balance_sheet-kwargs_dict4].txt @@ -1,55 +1,55 @@ -Fiscal Date Ending 2017 2018 2019 2020 2021 -Reported currency USD USD USD USD USD -Cik 0001413329 0001413329 0001413329 0001413329 0001413329 -Filling date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 -Accepted date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 -Calendar year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 -Period FY FY FY FY FY -Cash and cash equivalents 8.447 B 6.593 B 6.861 B 7.280 B 4.496 B -Short term investments 0 0 0 0 0 -Cash and short term investments 8.447 B 6.593 B 6.861 B 7.280 B 4.496 B -Net receivables 3.738 B 3.564 B 3.717 B 3.761 B 3.940 B -Inventory 8.806 B 8.804 B 9.235 B 9.591 B 8.720 B -Other current assets 603 M 481 M 701 M 860 M 561 M -Total current assets 21.594 B 19.442 B 20.514 B 21.492 B 17.717 B -Property plant equipment net 7.271 B 7.201 B 6.631 B 6.365 B 6.168 B -Goodwill 7.666 B 7.189 B 5.858 B 5.964 B 6.680 B -Intangible assets 2.432 B 2.278 B 2.113 B 2.019 B 2.818 B -Goodwill and intangible assets 10.098 B 9.467 B 7.971 B 7.983 B 9.498 B -Long term investments 1.074 B 1.269 B 4.635 B 4.798 B 4.463 B -Tax assets 1.007 B 977 M 1.153 B 1.410 B 895 M -Other non current assets 1.924 B 1.445 B 1.971 B 2.767 B 2.549 B -Total non current assets 21.374 B 20.359 B 22.361 B 23.323 B 23.573 B -Other assets 0 0 0 0 0 -Total assets 42.968 B 39.801 B 42.875 B 44.815 B 41.290 B -Account payables 2.242 B 2.068 B 2.299 B 2.780 B 3.331 B -Short term debt 3.005 B 4.784 B 4.389 B 3.368 B 3.023 B -Tax payables 0 0 0 7.494 B 7.349 B -Deferred revenue 0 0 0 0 0 -Other current liabilities 10.715 B 10.339 B 12.145 B 5.973 B 5.552 B -Total current liabilities 15.962 B 17.191 B 18.833 B 19.615 B 19.255 B -Long term debt 31.334 B 26.975 B 26.656 B 28.168 B 24.783 B -Deferred revenue non current 0 0 0 0 0 -Deferred tax liabilities non current 799 M 898 M 908 M 684 M 726 M -Other non current liabilities 5.103 B 5.476 B 6.077 B 6.979 B 4.734 B -Total non current liabilities 37.236 B 33.349 B 33.641 B 35.831 B 30.243 B -Other liabilities 0 0 0 0 0 -Capital lease obligations 0 0 0 0 0 -Total liabilities 53.198 B 50.540 B 52.474 B 55.446 B 49.498 B -Preferred stock 0 0 0 0 0 -Common stock 0 0 0 0 0 -Retained earnings 29.859 B 31.014 B 30.987 B 31.638 B 33.082 B -Accumulated other comprehensive income loss -8.535 B -10.111 B -9.363 B -11.181 B -9.577 B -Othertotal stockholders equity -33.410 B -33.362 B -33.201 B -33.024 B -33.611 B -Total stockholders equity -12.086 B -12.459 B -11.577 B -12.567 B -10.106 B -Total equity -12.086 B -12.459 B -11.577 B -12.567 B -10.106 B -Total liabilities and stockholders equity 41.112 B 38.081 B 40.897 B 42.879 B 39.392 B -Minority interest 0 0 0 0 0 -Total liabilities and total equity 41.112 B 38.081 B 40.897 B 42.879 B 39.392 B -Total investments 0 0 0 0 0 -Total debt 34.339 B 31.759 B 31.045 B 31.536 B 27.806 B -Net debt 25.892 B 25.166 B 24.184 B 24.256 B 23.310 B - Final link +Fiscal Date Ending 2017 2018 2019 2020 2021 +Reported Currency USD USD USD USD USD +Cik 0001413329 0001413329 0001413329 0001413329 0001413329 +Filing Date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 +Accepted Date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 +Calendar Year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 +Period FY FY FY FY FY +Cash And Cash Equivalents 8.447 B 6.593 B 6.861 B 7.280 B 4.496 B +Short Term Investments 0 0 0 0 0 +Cash And Short Term Investments 8.447 B 6.593 B 6.861 B 7.280 B 4.496 B +Net Receivables 3.738 B 3.564 B 3.717 B 3.761 B 3.940 B +Inventory 8.806 B 8.804 B 9.235 B 9.591 B 8.720 B +Other Current Assets 603 M 481 M 701 M 860 M 561 M +Total Current Assets 21.594 B 19.442 B 20.514 B 21.492 B 17.717 B +Property Plant Equipment 7.271 B 7.201 B 6.631 B 6.365 B 6.168 B +Goodwill 7.666 B 7.189 B 5.858 B 5.964 B 6.680 B +Intangible Assets Excluding Goodwill 2.432 B 2.278 B 2.113 B 2.019 B 2.818 B +Intangible Assets 10.098 B 9.467 B 7.971 B 7.983 B 9.498 B +Long Term Investments 1.074 B 1.269 B 4.635 B 4.798 B 4.463 B +Tax Assets 1.007 B 977 M 1.153 B 1.410 B 895 M +Other Non Currrent Assets 1.924 B 1.445 B 1.971 B 2.767 B 2.549 B +Total Non Current Assets 21.374 B 20.359 B 22.361 B 23.323 B 23.573 B +Other Assets 0 0 0 0 0 +Total Assets 42.968 B 39.801 B 42.875 B 44.815 B 41.290 B +Current Accounts Payable 2.242 B 2.068 B 2.299 B 2.780 B 3.331 B +Current Debt 3.005 B 4.784 B 4.389 B 3.368 B 3.023 B +Tax Payables 0 0 0 7.494 B 7.349 B +Deferred Revenue 0 0 0 0 0 +Other Non Current Liabilities 10.715 B 10.339 B 12.145 B 5.973 B 5.552 B +Total Current Liabilities 15.962 B 17.191 B 18.833 B 19.615 B 19.255 B +Long Term Debt Non Current 31.334 B 26.975 B 26.656 B 28.168 B 24.783 B +Deferred Revenue Non Current 0 0 0 0 0 +Deferred Tax Liabilities 799 M 898 M 908 M 684 M 726 M +Other Non Current Liabilities 5.103 B 5.476 B 6.077 B 6.979 B 4.734 B +Total Non Current Liabilities 37.236 B 33.349 B 33.641 B 35.831 B 30.243 B +Other Liabilities 0 0 0 0 0 +Capital Lease Obligations 0 0 0 0 0 +Total Liabilities 53.198 B 50.540 B 52.474 B 55.446 B 49.498 B +Preferred Stock 0 0 0 0 0 +Common Stock 0 0 0 0 0 +Retained Earnings 29.859 B 31.014 B 30.987 B 31.638 B 33.082 B +Accumulated Other Comprehensive Income -8.535 B -10.111 B -9.363 B -11.181 B -9.577 B +Other Total Stockholders Equity -33.410 B -33.362 B -33.201 B -33.024 B -33.611 B +Total Shareholder Equity -12.086 B -12.459 B -11.577 B -12.567 B -10.106 B +Equity -12.086 B -12.459 B -11.577 B -12.567 B -10.106 B +Total Liabilities And Stockholders Equity 41.112 B 38.081 B 40.897 B 42.879 B 39.392 B +Equity Attributable To Non Controlling Interest 0 0 0 0 0 +Liabilities And Equity 41.112 B 38.081 B 40.897 B 42.879 B 39.392 B +Total Investments 0 0 0 0 0 +Total Debt 34.339 B 31.759 B 31.045 B 31.536 B 27.806 B +Net Debt 25.892 B 25.166 B 24.184 B 24.256 B 23.310 B + Final Link Fiscal Date Ending 2017 https://www.sec.gov/Archives/edgar/data/1413329/000141332918000007/pm123117form10kwrapinclfsm.htm 2018 https://www.sec.gov/Archives/edgar/data/1413329/000141332919000007/pm123118form10kwrapinclfsm.htm diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_cash_flow-kwargs_dict5].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_cash_flow-kwargs_dict5].txt index b2f90639b062..122e829009b3 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_cash_flow-kwargs_dict5].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_cash_flow-kwargs_dict5].txt @@ -1,41 +1,41 @@ -Fiscal Date Ending 2017 2018 2019 2020 2021 -Reported currency USD USD USD USD USD -Cik 0001413329 0001413329 0001413329 0001413329 0001413329 -Filling date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 -Accepted date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 -Calendar year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 -Period FY FY FY FY FY -Net income 6.035 B 7.911 B 7.185 B 8.056 B 9.109 B -Depreciation and amortization 875 M 989 M 964 M 981 M 998 M -Deferred income tax -501 M -100 M -141 M -143 M -17 M -Stock based compensation 0 0 0 0 0 -Change in working capital 1.879 B 164 M 755 M 128 M 1.367 B -Accounts receivables -92 M 53 M -331 M 0 0 -Inventory 730 M -613 M -548 M -165 M 549 M -Accounts payables 425 M -51 M 451 M 406 M 653 M -Other working capital 816 M 775 M 1.183 B -139 M 363 M -Other non cash items 624 M 514 M 1.327 B 790 M 510 M -Net cash provided by operating activities 8.912 B 9.478 B 10.090 B 9.812 B 11.967 B -Investments in property plant and equipment -1.548 B -1.436 B -852 M 0 0 -Acquisitions net 0 0 -1.346 B -47 M -2.145 B -Purchases of investments 0 0 0 0 0 -Sales maturities of investments 0 0 0 0 0 -Other investing activites -1.466 B 438 M 387 M -1.107 B -213 M -Net cash used for investing activites -3.014 B -998 M -1.811 B -1.154 B -2.358 B -Debt repayment -4.312 B -2.484 B -5.351 B -4.114 B -3.042 B -Common stock issued 0 0 0 0 0 -Common stock repurchased 0 0 0 0 -775 M -Dividends paid -6.520 B -6.885 B -7.161 B -7.364 B -7.580 B -Other financing activites 8.063 B -282 M 4.451 B 2.982 B -580 M -Net cash used provided by financing activities -2.769 B -9.651 B -8.061 B -8.496 B -11.977 B -Effect of forex changes on cash 1.079 B -685 M 27 M 258 M -417 M -Net change in cash 4.208 B -1.856 B 245 M 420 M -2.785 B -Cash at end of period 8.447 B 6.620 B 6.865 B 7.285 B 4.500 B -Cash at beginning of period 4.239 B 8.476 B 6.620 B 6.865 B 7.285 B -Operating cash flow 8.912 B 9.478 B 10.090 B 9.812 B 11.967 B -Capital expenditure -1.548 B -1.436 B -852 M -602 M -748 M -Free cash flow 7.364 B 8.042 B 9.238 B 9.210 B 11.219 B - Final link +Fiscal Date Ending 2017 2018 2019 2020 2021 +Reported Currency USD USD USD USD USD +Cik 0001413329 0001413329 0001413329 0001413329 0001413329 +Filling Date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 +Accepted Date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 +Calendar Year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 +Period FY FY FY FY FY +Net Income 6.035 B 7.911 B 7.185 B 8.056 B 9.109 B +Depreciation And Amortization 875 M 989 M 964 M 981 M 998 M +Deferred Income Taxes -501 M -100 M -141 M -143 M -17 M +Stock Based Compensation 0 0 0 0 0 +Change In Working Capital 1.879 B 164 M 755 M 128 M 1.367 B +Change In Receivables -92 M 53 M -331 M 0 0 +Inventory 730 M -613 M -548 M -165 M 549 M +Accounts Payable 425 M -51 M 451 M 406 M 653 M +Other Working Capital 816 M 775 M 1.183 B -139 M 363 M +Other Non Cash Items 624 M 514 M 1.327 B 790 M 510 M +Net Cash Provided By Operating Activities 8.912 B 9.478 B 10.090 B 9.812 B 11.967 B +Investments In Property Plant And Equipment -1.548 B -1.436 B -852 M 0 0 +Acquisitions Net 0 0 -1.346 B -47 M -2.145 B +Purchases Of Investments 0 0 0 0 0 +Sales Maturities Of Investments 0 0 0 0 0 +Other Investing Activities -1.466 B 438 M 387 M -1.107 B -213 M +Cash Flow From Investment -3.014 B -998 M -1.811 B -1.154 B -2.358 B +Debt Repayment -4.312 B -2.484 B -5.351 B -4.114 B -3.042 B +Common Stock Issued 0 0 0 0 0 +Common Stock Repurchased 0 0 0 0 -775 M +Dividends Paid -6.520 B -6.885 B -7.161 B -7.364 B -7.580 B +Other Financing Activities 8.063 B -282 M 4.451 B 2.982 B -580 M +Cash Flow From Financing -2.769 B -9.651 B -8.061 B -8.496 B -11.977 B +Change In Exchange Rate 1.079 B -685 M 27 M 258 M -417 M +Net Change In Cash 4.208 B -1.856 B 245 M 420 M -2.785 B +Cash At End Of Period 8.447 B 6.620 B 6.865 B 7.285 B 4.500 B +Cash At Beginning Of Period 4.239 B 8.476 B 6.620 B 6.865 B 7.285 B +Operating Cash Flow 8.912 B 9.478 B 10.090 B 9.812 B 11.967 B +Capital Expenditure -1.548 B -1.436 B -852 M -602 M -748 M +Free Cash Flow 7.364 B 8.042 B 9.238 B 9.210 B 11.219 B + Final Link Fiscal Date Ending 2017 https://www.sec.gov/Archives/edgar/data/1413329/000141332918000007/pm123117form10kwrapinclfsm.htm 2018 https://www.sec.gov/Archives/edgar/data/1413329/000141332919000007/pm123118form10kwrapinclfsm.htm diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_income_statement-kwargs_dict3].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_income_statement-kwargs_dict3].txt index 3ec21ed78eaa..4df4407fc397 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_income_statement-kwargs_dict3].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[False-display_income_statement-kwargs_dict3].txt @@ -1,39 +1,39 @@ -Fiscal Date Ending 2017 2018 2019 2020 2021 -Reported currency USD USD USD USD USD -Cik 0001413329 0001413329 0001413329 0001413329 0001413329 -Filling date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 -Accepted date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 -Calendar year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 -Period FY FY FY FY FY -Revenue 28.748 B 29.625 B 29.805 B 28.694 B 31.405 B -Cost of revenue 10.432 B 10.758 B 10.513 B 9.569 B 10.030 B -Gross profit 18.316 B 18.867 B 19.292 B 19.125 B 21.375 B -Gross profit ratio 0.637 0.637 0.647 0.667 0.681 -Research and development expenses 0 0 0 0 0 -General and administrative expenses 6.725 B 7.449 B 8.784 B 97 M 115 M -Selling and marketing expenses 0 0 0 7.384 B 8.304 B -Selling general and administrative expenses 6.725 B 7.449 B 8.784 B 7.481 B 8.419 B -Other expenses 88 M 82 M 66 M 73 M 96 M -Operating expenses 6.813 B 7.531 B 8.850 B 7.554 B 8.515 B -Cost and expenses 17.245 B 18.289 B 19.363 B 17.123 B 18.545 B -Interest income 182 M 190 M 226 M 110 M 109 M -Interest expense 1.096 B 855 M 796 M 728 M 737 M -Depreciation and amortization 875 M 989 M 964 M 981 M 998 M -Ebitda 12.313 B 12.200 B 11.238 B 12.142 B 13.515 B -Ebitdaratio 0.428 0.412 0.377 0.423 0.430 -Operating income 11.503 B 11.377 B 10.531 B 11.668 B 12.975 B -Operating income ratio 0.400 0.384 0.353 0.407 0.413 -Total other income expenses net -914 M -706 M -659 M -715 M -743 M -Income before tax 10.589 B 10.671 B 9.872 B 10.953 B 12.232 B -Income before tax ratio 0.368 0.360 0.331 0.382 0.389 -Income tax expense 4.307 B 2.445 B 2.293 B 2.377 B 2.671 B -Net income 6.035 B 7.911 B 7.185 B 8.056 B 9.109 B -Net income ratio 0.210 0.267 0.241 0.281 0.290 -Eps 3.880 5.080 4.610 5.160 5.850 -Epsdiluted 3.880 5.080 4.610 5.160 5.850 -Weighted average shs out 1.552 B 1.555 B 1.555 B 1.557 B 1.557 B -Weighted average shs out dil 1.553 B 1.555 B 1.556 B 1.558 B 1.557 B - Final link +Fiscal Date Ending 2017 2018 2019 2020 2021 +Reported Currency USD USD USD USD USD +Cik 0001413329 0001413329 0001413329 0001413329 0001413329 +Filling Date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 +Accepted Date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 +Calendar Year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 +Period FY FY FY FY FY +Revenue 28.748 B 29.625 B 29.805 B 28.694 B 31.405 B +Cost Of Revenue 10.432 B 10.758 B 10.513 B 9.569 B 10.030 B +Gross Profit 18.316 B 18.867 B 19.292 B 19.125 B 21.375 B +Gross Profit Ratio 0.637 0.637 0.647 0.667 0.681 +Research And Development Expenses 0 0 0 0 0 +General And Administrative Expenses 6.725 B 7.449 B 8.784 B 97 M 115 M +Selling And Marketing Expenses 0 0 0 7.384 B 8.304 B +Selling General And Administrative 6.725 B 7.449 B 8.784 B 7.481 B 8.419 B +Other Expenses 88 M 82 M 66 M 73 M 96 M +Operating Expenses 6.813 B 7.531 B 8.850 B 7.554 B 8.515 B +Costs And Expenses 17.245 B 18.289 B 19.363 B 17.123 B 18.545 B +Interest Income 182 M 190 M 226 M 110 M 109 M +Interest Expense 1.096 B 855 M 796 M 728 M 737 M +Depreciation And Amortization 875 M 989 M 964 M 981 M 998 M +Ebitda 12.313 B 12.200 B 11.238 B 12.142 B 13.515 B +Ebitda Ratio 0.428 0.412 0.377 0.423 0.430 +Operating Income 11.503 B 11.377 B 10.531 B 11.668 B 12.975 B +Operating Income Ratio 0.400 0.384 0.353 0.407 0.413 +Non Operating Income Loss -914 M -706 M -659 M -715 M -743 M +Income Before Tax 10.589 B 10.671 B 9.872 B 10.953 B 12.232 B +Income Before Tax Ratio 0.368 0.360 0.331 0.382 0.389 +Income Tax Expense 4.307 B 2.445 B 2.293 B 2.377 B 2.671 B +Net Income 6.035 B 7.911 B 7.185 B 8.056 B 9.109 B +Net Income Ratio 0.210 0.267 0.241 0.281 0.290 +Basic Earnings Per Share 3.880 5.080 4.610 5.160 5.850 +Diluted Earnings Per Share 3.880 5.080 4.610 5.160 5.850 +Basic Average Shares 1.552 B 1.555 B 1.555 B 1.557 B 1.557 B +Diluted Average Shares 1.553 B 1.555 B 1.556 B 1.558 B 1.557 B + Final Link Fiscal Date Ending 2017 https://www.sec.gov/Archives/edgar/data/1413329/000141332918000007/pm123117form10kwrapinclfsm.htm 2018 https://www.sec.gov/Archives/edgar/data/1413329/000141332919000007/pm123118form10kwrapinclfsm.htm diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt index 0594fb1f6e4f..e9281cf65798 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_balance_sheet-kwargs_dict4].txt @@ -1,55 +1,55 @@ -Fiscal Date Ending 2017 2018 2019 2020 2021 -Reported currency USD USD USD USD USD -Cik 0001413329 0001413329 0001413329 0001413329 0001413329 -Filling date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 -Accepted date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 -Calendar year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 -Period FY FY FY FY FY -Cash and cash equivalents 8.447 B 6.593 B 6.861 B 7.280 B 4.496 B -Short term investments 0 0 0 0 0 -Cash and short term investments 8.447 B 6.593 B 6.861 B 7.280 B 4.496 B -Net receivables 3.738 B 3.564 B 3.717 B 3.761 B 3.940 B -Inventory 8.806 B 8.804 B 9.235 B 9.591 B 8.720 B -Other current assets 603 M 481 M 701 M 860 M 561 M -Total current assets 21.594 B 19.442 B 20.514 B 21.492 B 17.717 B -Property plant equipment net 7.271 B 7.201 B 6.631 B 6.365 B 6.168 B -Goodwill 7.666 B 7.189 B 5.858 B 5.964 B 6.680 B -Intangible assets 2.432 B 2.278 B 2.113 B 2.019 B 2.818 B -Goodwill and intangible assets 10.098 B 9.467 B 7.971 B 7.983 B 9.498 B -Long term investments 1.074 B 1.269 B 4.635 B 4.798 B 4.463 B -Tax assets 1.007 B 977 M 1.153 B 1.410 B 895 M -Other non current assets 1.924 B 1.445 B 1.971 B 2.767 B 2.549 B -Total non current assets 21.374 B 20.359 B 22.361 B 23.323 B 23.573 B -Other assets 0 0 0 0 0 -Total assets 42.968 B 39.801 B 42.875 B 44.815 B 41.290 B -Account payables 2.242 B 2.068 B 2.299 B 2.780 B 3.331 B -Short term debt 3.005 B 4.784 B 4.389 B 3.368 B 3.023 B -Tax payables 0 0 0 7.494 B 7.349 B -Deferred revenue 0 0 0 0 0 -Other current liabilities 10.715 B 10.339 B 12.145 B 5.973 B 5.552 B -Total current liabilities 15.962 B 17.191 B 18.833 B 19.615 B 19.255 B -Long term debt 31.334 B 26.975 B 26.656 B 28.168 B 24.783 B -Deferred revenue non current 0 0 0 0 0 -Deferred tax liabilities non current 799 M 898 M 908 M 684 M 726 M -Other non current liabilities 5.103 B 5.476 B 6.077 B 6.979 B 4.734 B -Total non current liabilities 37.236 B 33.349 B 33.641 B 35.831 B 30.243 B -Other liabilities 0 0 0 0 0 -Capital lease obligations 0 0 0 0 0 -Total liabilities 53.198 B 50.540 B 52.474 B 55.446 B 49.498 B -Preferred stock 0 0 0 0 0 -Common stock 0 0 0 0 0 -Retained earnings 29.859 B 31.014 B 30.987 B 31.638 B 33.082 B -Accumulated other comprehensive income loss -8.535 B -10.111 B -9.363 B -11.181 B -9.577 B -Othertotal stockholders equity -33.410 B -33.362 B -33.201 B -33.024 B -33.611 B -Total stockholders equity -12.086 B -12.459 B -11.577 B -12.567 B -10.106 B -Total equity -12.086 B -12.459 B -11.577 B -12.567 B -10.106 B -Total liabilities and stockholders equity 41.112 B 38.081 B 40.897 B 42.879 B 39.392 B -Minority interest 0 0 0 0 0 -Total liabilities and total equity 41.112 B 38.081 B 40.897 B 42.879 B 39.392 B -Total investments 0 0 0 0 0 -Total debt 34.339 B 31.759 B 31.045 B 31.536 B 27.806 B -Net debt 25.892 B 25.166 B 24.184 B 24.256 B 23.310 B - Final link +Fiscal Date Ending 2017 2018 2019 2020 2021 +Reported Currency USD USD USD USD USD +Cik 0001413329 0001413329 0001413329 0001413329 0001413329 +Filing Date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 +Accepted Date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 +Calendar Year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 +Period FY FY FY FY FY +Cash And Cash Equivalents 8.447 B 6.593 B 6.861 B 7.280 B 4.496 B +Short Term Investments 0 0 0 0 0 +Cash And Short Term Investments 8.447 B 6.593 B 6.861 B 7.280 B 4.496 B +Net Receivables 3.738 B 3.564 B 3.717 B 3.761 B 3.940 B +Inventory 8.806 B 8.804 B 9.235 B 9.591 B 8.720 B +Other Current Assets 603 M 481 M 701 M 860 M 561 M +Total Current Assets 21.594 B 19.442 B 20.514 B 21.492 B 17.717 B +Property Plant Equipment 7.271 B 7.201 B 6.631 B 6.365 B 6.168 B +Goodwill 7.666 B 7.189 B 5.858 B 5.964 B 6.680 B +Intangible Assets Excluding Goodwill 2.432 B 2.278 B 2.113 B 2.019 B 2.818 B +Intangible Assets 10.098 B 9.467 B 7.971 B 7.983 B 9.498 B +Long Term Investments 1.074 B 1.269 B 4.635 B 4.798 B 4.463 B +Tax Assets 1.007 B 977 M 1.153 B 1.410 B 895 M +Other Non Currrent Assets 1.924 B 1.445 B 1.971 B 2.767 B 2.549 B +Total Non Current Assets 21.374 B 20.359 B 22.361 B 23.323 B 23.573 B +Other Assets 0 0 0 0 0 +Total Assets 42.968 B 39.801 B 42.875 B 44.815 B 41.290 B +Current Accounts Payable 2.242 B 2.068 B 2.299 B 2.780 B 3.331 B +Current Debt 3.005 B 4.784 B 4.389 B 3.368 B 3.023 B +Tax Payables 0 0 0 7.494 B 7.349 B +Deferred Revenue 0 0 0 0 0 +Other Non Current Liabilities 10.715 B 10.339 B 12.145 B 5.973 B 5.552 B +Total Current Liabilities 15.962 B 17.191 B 18.833 B 19.615 B 19.255 B +Long Term Debt Non Current 31.334 B 26.975 B 26.656 B 28.168 B 24.783 B +Deferred Revenue Non Current 0 0 0 0 0 +Deferred Tax Liabilities 799 M 898 M 908 M 684 M 726 M +Other Non Current Liabilities 5.103 B 5.476 B 6.077 B 6.979 B 4.734 B +Total Non Current Liabilities 37.236 B 33.349 B 33.641 B 35.831 B 30.243 B +Other Liabilities 0 0 0 0 0 +Capital Lease Obligations 0 0 0 0 0 +Total Liabilities 53.198 B 50.540 B 52.474 B 55.446 B 49.498 B +Preferred Stock 0 0 0 0 0 +Common Stock 0 0 0 0 0 +Retained Earnings 29.859 B 31.014 B 30.987 B 31.638 B 33.082 B +Accumulated Other Comprehensive Income -8.535 B -10.111 B -9.363 B -11.181 B -9.577 B +Other Total Stockholders Equity -33.410 B -33.362 B -33.201 B -33.024 B -33.611 B +Total Shareholder Equity -12.086 B -12.459 B -11.577 B -12.567 B -10.106 B +Equity -12.086 B -12.459 B -11.577 B -12.567 B -10.106 B +Total Liabilities And Stockholders Equity 41.112 B 38.081 B 40.897 B 42.879 B 39.392 B +Equity Attributable To Non Controlling Interest 0 0 0 0 0 +Liabilities And Equity 41.112 B 38.081 B 40.897 B 42.879 B 39.392 B +Total Investments 0 0 0 0 0 +Total Debt 34.339 B 31.759 B 31.045 B 31.536 B 27.806 B +Net Debt 25.892 B 25.166 B 24.184 B 24.256 B 23.310 B + Final Link Fiscal Date Ending 2017 https://www.sec.gov/Archives/edgar/data/1413329/000141332918000007/pm123117form10kwrapinclfsm.htm 2018 https://www.sec.gov/Archives/edgar/data/1413329/000141332919000007/pm123118form10kwrapinclfsm.htm diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_cash_flow-kwargs_dict5].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_cash_flow-kwargs_dict5].txt index b2f90639b062..122e829009b3 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_cash_flow-kwargs_dict5].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_cash_flow-kwargs_dict5].txt @@ -1,41 +1,41 @@ -Fiscal Date Ending 2017 2018 2019 2020 2021 -Reported currency USD USD USD USD USD -Cik 0001413329 0001413329 0001413329 0001413329 0001413329 -Filling date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 -Accepted date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 -Calendar year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 -Period FY FY FY FY FY -Net income 6.035 B 7.911 B 7.185 B 8.056 B 9.109 B -Depreciation and amortization 875 M 989 M 964 M 981 M 998 M -Deferred income tax -501 M -100 M -141 M -143 M -17 M -Stock based compensation 0 0 0 0 0 -Change in working capital 1.879 B 164 M 755 M 128 M 1.367 B -Accounts receivables -92 M 53 M -331 M 0 0 -Inventory 730 M -613 M -548 M -165 M 549 M -Accounts payables 425 M -51 M 451 M 406 M 653 M -Other working capital 816 M 775 M 1.183 B -139 M 363 M -Other non cash items 624 M 514 M 1.327 B 790 M 510 M -Net cash provided by operating activities 8.912 B 9.478 B 10.090 B 9.812 B 11.967 B -Investments in property plant and equipment -1.548 B -1.436 B -852 M 0 0 -Acquisitions net 0 0 -1.346 B -47 M -2.145 B -Purchases of investments 0 0 0 0 0 -Sales maturities of investments 0 0 0 0 0 -Other investing activites -1.466 B 438 M 387 M -1.107 B -213 M -Net cash used for investing activites -3.014 B -998 M -1.811 B -1.154 B -2.358 B -Debt repayment -4.312 B -2.484 B -5.351 B -4.114 B -3.042 B -Common stock issued 0 0 0 0 0 -Common stock repurchased 0 0 0 0 -775 M -Dividends paid -6.520 B -6.885 B -7.161 B -7.364 B -7.580 B -Other financing activites 8.063 B -282 M 4.451 B 2.982 B -580 M -Net cash used provided by financing activities -2.769 B -9.651 B -8.061 B -8.496 B -11.977 B -Effect of forex changes on cash 1.079 B -685 M 27 M 258 M -417 M -Net change in cash 4.208 B -1.856 B 245 M 420 M -2.785 B -Cash at end of period 8.447 B 6.620 B 6.865 B 7.285 B 4.500 B -Cash at beginning of period 4.239 B 8.476 B 6.620 B 6.865 B 7.285 B -Operating cash flow 8.912 B 9.478 B 10.090 B 9.812 B 11.967 B -Capital expenditure -1.548 B -1.436 B -852 M -602 M -748 M -Free cash flow 7.364 B 8.042 B 9.238 B 9.210 B 11.219 B - Final link +Fiscal Date Ending 2017 2018 2019 2020 2021 +Reported Currency USD USD USD USD USD +Cik 0001413329 0001413329 0001413329 0001413329 0001413329 +Filling Date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 +Accepted Date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 +Calendar Year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 +Period FY FY FY FY FY +Net Income 6.035 B 7.911 B 7.185 B 8.056 B 9.109 B +Depreciation And Amortization 875 M 989 M 964 M 981 M 998 M +Deferred Income Taxes -501 M -100 M -141 M -143 M -17 M +Stock Based Compensation 0 0 0 0 0 +Change In Working Capital 1.879 B 164 M 755 M 128 M 1.367 B +Change In Receivables -92 M 53 M -331 M 0 0 +Inventory 730 M -613 M -548 M -165 M 549 M +Accounts Payable 425 M -51 M 451 M 406 M 653 M +Other Working Capital 816 M 775 M 1.183 B -139 M 363 M +Other Non Cash Items 624 M 514 M 1.327 B 790 M 510 M +Net Cash Provided By Operating Activities 8.912 B 9.478 B 10.090 B 9.812 B 11.967 B +Investments In Property Plant And Equipment -1.548 B -1.436 B -852 M 0 0 +Acquisitions Net 0 0 -1.346 B -47 M -2.145 B +Purchases Of Investments 0 0 0 0 0 +Sales Maturities Of Investments 0 0 0 0 0 +Other Investing Activities -1.466 B 438 M 387 M -1.107 B -213 M +Cash Flow From Investment -3.014 B -998 M -1.811 B -1.154 B -2.358 B +Debt Repayment -4.312 B -2.484 B -5.351 B -4.114 B -3.042 B +Common Stock Issued 0 0 0 0 0 +Common Stock Repurchased 0 0 0 0 -775 M +Dividends Paid -6.520 B -6.885 B -7.161 B -7.364 B -7.580 B +Other Financing Activities 8.063 B -282 M 4.451 B 2.982 B -580 M +Cash Flow From Financing -2.769 B -9.651 B -8.061 B -8.496 B -11.977 B +Change In Exchange Rate 1.079 B -685 M 27 M 258 M -417 M +Net Change In Cash 4.208 B -1.856 B 245 M 420 M -2.785 B +Cash At End Of Period 8.447 B 6.620 B 6.865 B 7.285 B 4.500 B +Cash At Beginning Of Period 4.239 B 8.476 B 6.620 B 6.865 B 7.285 B +Operating Cash Flow 8.912 B 9.478 B 10.090 B 9.812 B 11.967 B +Capital Expenditure -1.548 B -1.436 B -852 M -602 M -748 M +Free Cash Flow 7.364 B 8.042 B 9.238 B 9.210 B 11.219 B + Final Link Fiscal Date Ending 2017 https://www.sec.gov/Archives/edgar/data/1413329/000141332918000007/pm123117form10kwrapinclfsm.htm 2018 https://www.sec.gov/Archives/edgar/data/1413329/000141332919000007/pm123118form10kwrapinclfsm.htm diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_income_statement-kwargs_dict3].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_income_statement-kwargs_dict3].txt index 3ec21ed78eaa..4df4407fc397 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_income_statement-kwargs_dict3].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_fmp_view/test_check_output[True-display_income_statement-kwargs_dict3].txt @@ -1,39 +1,39 @@ -Fiscal Date Ending 2017 2018 2019 2020 2021 -Reported currency USD USD USD USD USD -Cik 0001413329 0001413329 0001413329 0001413329 0001413329 -Filling date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 -Accepted date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 -Calendar year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 -Period FY FY FY FY FY -Revenue 28.748 B 29.625 B 29.805 B 28.694 B 31.405 B -Cost of revenue 10.432 B 10.758 B 10.513 B 9.569 B 10.030 B -Gross profit 18.316 B 18.867 B 19.292 B 19.125 B 21.375 B -Gross profit ratio 0.637 0.637 0.647 0.667 0.681 -Research and development expenses 0 0 0 0 0 -General and administrative expenses 6.725 B 7.449 B 8.784 B 97 M 115 M -Selling and marketing expenses 0 0 0 7.384 B 8.304 B -Selling general and administrative expenses 6.725 B 7.449 B 8.784 B 7.481 B 8.419 B -Other expenses 88 M 82 M 66 M 73 M 96 M -Operating expenses 6.813 B 7.531 B 8.850 B 7.554 B 8.515 B -Cost and expenses 17.245 B 18.289 B 19.363 B 17.123 B 18.545 B -Interest income 182 M 190 M 226 M 110 M 109 M -Interest expense 1.096 B 855 M 796 M 728 M 737 M -Depreciation and amortization 875 M 989 M 964 M 981 M 998 M -Ebitda 12.313 B 12.200 B 11.238 B 12.142 B 13.515 B -Ebitdaratio 0.428 0.412 0.377 0.423 0.430 -Operating income 11.503 B 11.377 B 10.531 B 11.668 B 12.975 B -Operating income ratio 0.400 0.384 0.353 0.407 0.413 -Total other income expenses net -914 M -706 M -659 M -715 M -743 M -Income before tax 10.589 B 10.671 B 9.872 B 10.953 B 12.232 B -Income before tax ratio 0.368 0.360 0.331 0.382 0.389 -Income tax expense 4.307 B 2.445 B 2.293 B 2.377 B 2.671 B -Net income 6.035 B 7.911 B 7.185 B 8.056 B 9.109 B -Net income ratio 0.210 0.267 0.241 0.281 0.290 -Eps 3.880 5.080 4.610 5.160 5.850 -Epsdiluted 3.880 5.080 4.610 5.160 5.850 -Weighted average shs out 1.552 B 1.555 B 1.555 B 1.557 B 1.557 B -Weighted average shs out dil 1.553 B 1.555 B 1.556 B 1.558 B 1.557 B - Final link +Fiscal Date Ending 2017 2018 2019 2020 2021 +Reported Currency USD USD USD USD USD +Cik 0001413329 0001413329 0001413329 0001413329 0001413329 +Filling Date 2018-02-13 00:00:00 2019-02-07 00:00:00 2020-02-07 00:00:00 2021-02-09 00:00:00 2022-02-11 00:00:00 +Accepted Date 2018-02-13 08:07:16 2019-02-07 15:09:20 2020-02-07 06:47:13 2021-02-09 16:20:37 2022-02-11 08:29:22 +Calendar Year 2017-01-01 00:00:00 2018-01-01 00:00:00 2019-01-01 00:00:00 2020-01-01 00:00:00 2021-01-01 00:00:00 +Period FY FY FY FY FY +Revenue 28.748 B 29.625 B 29.805 B 28.694 B 31.405 B +Cost Of Revenue 10.432 B 10.758 B 10.513 B 9.569 B 10.030 B +Gross Profit 18.316 B 18.867 B 19.292 B 19.125 B 21.375 B +Gross Profit Ratio 0.637 0.637 0.647 0.667 0.681 +Research And Development Expenses 0 0 0 0 0 +General And Administrative Expenses 6.725 B 7.449 B 8.784 B 97 M 115 M +Selling And Marketing Expenses 0 0 0 7.384 B 8.304 B +Selling General And Administrative 6.725 B 7.449 B 8.784 B 7.481 B 8.419 B +Other Expenses 88 M 82 M 66 M 73 M 96 M +Operating Expenses 6.813 B 7.531 B 8.850 B 7.554 B 8.515 B +Costs And Expenses 17.245 B 18.289 B 19.363 B 17.123 B 18.545 B +Interest Income 182 M 190 M 226 M 110 M 109 M +Interest Expense 1.096 B 855 M 796 M 728 M 737 M +Depreciation And Amortization 875 M 989 M 964 M 981 M 998 M +Ebitda 12.313 B 12.200 B 11.238 B 12.142 B 13.515 B +Ebitda Ratio 0.428 0.412 0.377 0.423 0.430 +Operating Income 11.503 B 11.377 B 10.531 B 11.668 B 12.975 B +Operating Income Ratio 0.400 0.384 0.353 0.407 0.413 +Non Operating Income Loss -914 M -706 M -659 M -715 M -743 M +Income Before Tax 10.589 B 10.671 B 9.872 B 10.953 B 12.232 B +Income Before Tax Ratio 0.368 0.360 0.331 0.382 0.389 +Income Tax Expense 4.307 B 2.445 B 2.293 B 2.377 B 2.671 B +Net Income 6.035 B 7.911 B 7.185 B 8.056 B 9.109 B +Net Income Ratio 0.210 0.267 0.241 0.281 0.290 +Basic Earnings Per Share 3.880 5.080 4.610 5.160 5.850 +Diluted Earnings Per Share 3.880 5.080 4.610 5.160 5.850 +Basic Average Shares 1.552 B 1.555 B 1.555 B 1.557 B 1.557 B +Diluted Average Shares 1.553 B 1.555 B 1.556 B 1.558 B 1.557 B + Final Link Fiscal Date Ending 2017 https://www.sec.gov/Archives/edgar/data/1413329/000141332918000007/pm123117form10kwrapinclfsm.htm 2018 https://www.sec.gov/Archives/edgar/data/1413329/000141332919000007/pm123118form10kwrapinclfsm.htm diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_polygon_view/test_display_fundamentals[balance-False].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_polygon_view/test_display_fundamentals[balance-False].txt index 61a397c01500..5df7507e2de1 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_polygon_view/test_display_fundamentals[balance-False].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_polygon_view/test_display_fundamentals[balance-False].txt @@ -1,13 +1 @@ - 2021-10-29 2022-10-28 -Other Than Fixed Noncurrent Assets 216.166 B 217.350 B -Current Assets 134.836 B 135.405 B -Equity 63.090 B 50.672 B -Liabilities 287.912 B 302.083 B -Noncurrent Assets 216.166 B 217.350 B -Equity Attributable To Noncontrolling Interest 0 0 -Equity Attributable To Parent 63.090 B 50.672 B -Noncurrent Liabilities 162.431 B 148.101 B -Fixed Assets 39.440 B 42.117 B -Liabilities And Equity 351.002 B 352.755 B -Assets 351.002 B 352.755 B -Current Liabilities 125.481 B 153.982 B +ERROR diff --git a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_polygon_view/test_display_fundamentals[balance-True].txt b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_polygon_view/test_display_fundamentals[balance-True].txt index 31e2cee14e06..5df7507e2de1 100644 --- a/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_polygon_view/test_display_fundamentals[balance-True].txt +++ b/tests/openbb_terminal/stocks/fundamental_analysis/txt/test_polygon_view/test_display_fundamentals[balance-True].txt @@ -1,14 +1 @@ - 2022-04-29 2022-07-29 -Equity Attributable To Parent 67.399 B 58.107 B -Fixed Assets 39.304 B 40.335 B -Equity Attributable To Noncontrolling Interest 0 0 -Liabilities 283.263 B 278.202 B -Assets 350.662 B 336.309 B -Other Than Fixed Noncurrent Assets 232.482 B 224.017 B -Noncurrent Assets 232.482 B 224.017 B -Liabilities And Equity 350.662 B 336.309 B -Current Assets 118.180 B 112.292 B -Equity 67.399 B 58.107 B -Noncurrent Liabilities 155.755 B 148.329 B -Current Liabilities 127.508 B 129.873 B -Commitments And Contingencies - - +ERROR