mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-28 20:23:36 +00:00
add -f to load if not present (#2489)
This commit is contained in:
@@ -322,6 +322,9 @@ class EconometricsController(BaseController):
|
||||
dest="examples",
|
||||
)
|
||||
|
||||
if other_args and "-e" not in other_args and "-f" not in other_args:
|
||||
other_args.insert(0, "-f")
|
||||
|
||||
ns_parser = self.parse_known_args_and_warn(parser, other_args)
|
||||
|
||||
if ns_parser:
|
||||
|
||||
2
openbb_terminal/reports/equity.ipynb
vendored
2
openbb_terminal/reports/equity.ipynb
vendored
@@ -344,7 +344,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"df = openbb.stocks.dd.models.business_insider.get_price_target_from_analysts(ticker)\n",
|
||||
"avg_ratings_last_30_days= 0\n",
|
||||
"avg_ratings_last_30_days = 0\n",
|
||||
"if not df.empty:\n",
|
||||
" avg_ratings_last_30_days = round(\n",
|
||||
" np.mean(\n",
|
||||
|
||||
Reference in New Issue
Block a user