Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/rvol-cones

This commit is contained in:
Danglewood
2023-02-19 20:52:25 -08:00
4 changed files with 10 additions and 7 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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(

View File

@@ -411,7 +411,7 @@ After creating an account go to https://app.santiment.net/account#api-keys and g
<details>
<summary>ShroomDK</summary>
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:
<img width="500" alt="image" src="https://user-images.githubusercontent.com/46355364/207850122-b8cd225e-0a65-4ea8-8069-0b40fff1600e.png"></img>