mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 21:12:16 +00:00
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user