diff --git a/openbb_terminal/jupyter/reports/crypto_market.ipynb b/openbb_terminal/jupyter/reports/crypto_market.ipynb index 41f571e9280..fca312b620e 100644 --- a/openbb_terminal/jupyter/reports/crypto_market.ipynb +++ b/openbb_terminal/jupyter/reports/crypto_market.ipynb @@ -61,10 +61,13 @@ "outputs": [], "source": [ "from openbb_terminal.cryptocurrency import cryptocurrency_helpers\n", - "\n", + "import pandas as pd \n", "coin_map_df = (\n", " cryptocurrency_helpers.prepare_all_coins_df().set_index(\"Symbol\").loc[\"btc\"]\n", ")\n", + "\n", + "coin_map_df = (coin_map_df.iloc[0] if isinstance(coin_map_df, pd.DataFrame) else coin_map_df)\n", + "\n", "cryptocurrency_helpers.plot_chart(\n", " coin=\"btc-bitcoin\", source=\"cp\", currency=\"USD\", days=60, coin_map_df=coin_map_df\n", ")" diff --git a/openbb_terminal/jupyter/reports/reports_controller.py b/openbb_terminal/jupyter/reports/reports_controller.py index 82c2d4808df..44d21cb2b7e 100644 --- a/openbb_terminal/jupyter/reports/reports_controller.py +++ b/openbb_terminal/jupyter/reports/reports_controller.py @@ -133,7 +133,7 @@ Select one of the following reports:[/info][cmds] (known_args, other_args) = self.parser.parse_known_args(an_input.split()) - if not other_args and an_input in ("2", "3", "5"): + if not other_args and an_input in ("1", "3", "4"): console.print("[red]Error: No ticker provided\n[/red]") logger.error("Exception: No ticker provided") return self.queue