Merge pull request #235 from jmaslek/update_rm

Update rm
This commit is contained in:
Artem Veremey
2021-03-19 12:07:45 -07:00
committed by GitHub
2 changed files with 12 additions and 7 deletions

View File

@@ -131,9 +131,13 @@
## Portfolio Analysis
### Short term
* [ ] Add Brokers (td, alpaca, webull, etc)
* [ ] Merge data from different brokers
* [ ] Refactor
### Long term
* [ ] Summaries / tear sheets
* [ ] Portfolio Optimization
---
## Credit Analysis

View File

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