From 6c25f55dc41f1261e270e03dc9d6e2a7da519aca Mon Sep 17 00:00:00 2001 From: Jamie Date: Fri, 19 Mar 2021 13:27:08 -0400 Subject: [PATCH 1/2] readme update + menu printing fix --- ROADMAP.md | 6 +++++- gamestonk_terminal/portfolio/port_menu.py | 13 +++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index 8989040cbad..fe01a52bb79 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -131,9 +131,13 @@ ## Portfolio Analysis ### Short term +* [ ] Add Brokers (td, alpaca, webull) +* [ ] Merge data from different brokers +* [ ] Refactor ### Long term - +* [ ] Summaries / tear sheets +* [ ] Portfolio Optimization --- ## Credit Analysis diff --git a/gamestonk_terminal/portfolio/port_menu.py b/gamestonk_terminal/portfolio/port_menu.py index ec326504725..df46626a2c6 100644 --- a/gamestonk_terminal/portfolio/port_menu.py +++ b/gamestonk_terminal/portfolio/port_menu.py @@ -1,5 +1,4 @@ import argparse -import time from matplotlib import pyplot as plt from prompt_toolkit.completion import NestedCompleter from gamestonk_terminal import feature_flags as gtff @@ -86,13 +85,15 @@ def port_menu(): elif ns_known_args.cmd == "login": try: rh_api.login() + should_print_help = True + print_login = False except Exception as e: - print(e) - print("Incorrect Login") print("") - time.sleep(2) - should_print_help = True - print_login = False + print(e) + print("Make sure credentials are defined in config_terminal.py ") + print("") + should_print_help = False + print_login = True else: print("Command not recognized") From 34c45ecdc24c490132136c6c5b76186021699a13 Mon Sep 17 00:00:00 2001 From: Jamie Date: Fri, 19 Mar 2021 13:50:05 -0400 Subject: [PATCH 2/2] readme update + menu printing fix --- ROADMAP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index fe01a52bb79..62b9a8fe496 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -131,7 +131,7 @@ ## Portfolio Analysis ### Short term -* [ ] Add Brokers (td, alpaca, webull) +* [ ] Add Brokers (td, alpaca, webull, etc) * [ ] Merge data from different brokers * [ ] Refactor