mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-28 12:13:11 +00:00
Fix small rsi bug (#1588)
* Add y labels to all bt commands * Fix reports bug * Update crypto market * Update crypto market * Remove gst folders and remaining files * Add back crypto market * Update report controller * Remove bt view from gst Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
This commit is contained in:
@@ -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",
|
||||
")"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user