This commit is contained in:
Laurent Andriamifidy
2021-03-17 20:44:21 +01:00
parent 37588f4383
commit e953b8b200
2 changed files with 4 additions and 7 deletions

View File

@@ -76,9 +76,7 @@ def print_help(s_ticker, s_start, s_interval, b_is_market_open):
print(
" pred prediction techniques, \t e.g.: regression, arima, rnn, lstm, prophet"
)
print(
" op options info, \t e.g.: volume"
)
print(" op options info, \t e.g.: volume")
print("")

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python
import argparse
@@ -73,8 +73,7 @@ def main():
"dd",
"pred",
"ca",
"op"
"fred",
"op" "fred",
]
menu_parser.add_argument("opt", choices=choices)
completer = NestedCompleter.from_nested_dict({c: None for c in choices})
@@ -184,7 +183,7 @@ def main():
elif ns_known_args.opt == "op":
b_quit = opm.opt_menu(df_stock, s_ticker, s_start, s_interval)
elif ns_known_args.opt == "fred":
b_quit = fm.fred_menu()