only show CA menu on PO when more than 1 ticker selected

This commit is contained in:
didier
2021-05-06 23:32:29 +01:00
parent 2bed53c6f8
commit cd62c585d6
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ def print_help(s_ticker, s_start, s_interval, b_is_market_open):
" > ra residuals analysis, \t e.g.: model fit, qqplot, hypothesis test"
)
print(
" > op options info , \t e.g.: volume and open interest"
" > op options info, \t e.g.: volume and open interest"
)
print("")

View File

@@ -79,7 +79,7 @@ class PortfolioOptimization:
print("")
print(" ef show the efficient frontier")
print("")
if tickers:
if len(tickers) > 1:
print(" > ca comparison analysis for selected tickers")
print("")