diff --git a/openbb_terminal/portfolio/portfolio_controller.py b/openbb_terminal/portfolio/portfolio_controller.py index 57c4de75dce..4525e608331 100644 --- a/openbb_terminal/portfolio/portfolio_controller.py +++ b/openbb_terminal/portfolio/portfolio_controller.py @@ -206,7 +206,7 @@ class PortfolioController(BaseController): mt.add_info("_risk_") mt.add_cmd("var", self.portfolio_name and self.benchmark_name) mt.add_cmd("es", self.portfolio_name and self.benchmark_name) - mt.add_cmd("os", self.portfolio_name and self.benchmark_name) + mt.add_cmd("om", self.portfolio_name and self.benchmark_name) console.print(text=mt.menu_text, menu="Portfolio - Portfolio Optimization") self.update_choices() @@ -894,7 +894,7 @@ class PortfolioController(BaseController): ) else: console.print( - "[red]Please first define the portfolio (via 'load')[/red]\n" + "[red]Please define the portfolio first (via 'load')[/red]\n" ) @log_start_end(log=logger) diff --git a/openbb_terminal/reports/reports_model.py b/openbb_terminal/reports/reports_model.py index 8e6aad76b6d..602cabef263 100644 --- a/openbb_terminal/reports/reports_model.py +++ b/openbb_terminal/reports/reports_model.py @@ -282,7 +282,7 @@ def create_output_path(input_path: str, parameters_dict: Dict[str, Any]) -> str: + "_" + f"{report_name}{args_to_output}" ) - output_path = report_output_name.replace(".", "_") + report_output_name = report_output_name.replace(".", "_") output_path = str(USER_REPORTS_DIRECTORY / report_output_name) return output_path diff --git a/openbb_terminal/stocks/stocks_controller.py b/openbb_terminal/stocks/stocks_controller.py index 99642b1e2bb..dd2bfc10f7c 100644 --- a/openbb_terminal/stocks/stocks_controller.py +++ b/openbb_terminal/stocks/stocks_controller.py @@ -264,7 +264,8 @@ class StocksController(StockBaseController): "--ticker", action="store", dest="s_ticker", - required="-h" not in other_args and not self.ticker, + required=not any(x in other_args for x in ["-h", "--help"]) + and not self.ticker, help="Ticker to get data for", ) parser.add_argument( @@ -363,7 +364,8 @@ class StocksController(StockBaseController): help="Ticker to analyze", type=str, default=None, - required="-h" not in other_args and not self.ticker, + required=not any(x in other_args for x in ["-h", "--help"]) + and not self.ticker, ) parser.add_argument( "-p", @@ -495,7 +497,8 @@ class StocksController(StockBaseController): "--ticker", action="store", dest="ticker", - required="-h" not in other_args and not self.ticker, + required=not any(x in other_args for x in ["-h", "--help"]) + and not self.ticker, help="Ticker to get data for", ) parser.add_argument( diff --git a/website/content/terminal/guides/advanced/api-keys.md b/website/content/terminal/guides/advanced/api-keys.md index 226587b56be..eb863faec6b 100644 --- a/website/content/terminal/guides/advanced/api-keys.md +++ b/website/content/terminal/guides/advanced/api-keys.md @@ -411,7 +411,7 @@ After creating an account go to https://app.santiment.net/account#api-keys and g
ShroomDK -Go to https://app.santiment.net You will be greeted with the following screen: +Go to https://sdk.flipsidecrypto.xyz/shroomdk You will be greeted with the following screen: image