mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 13:01:38 +00:00
Update terminal.py
This commit is contained in:
17
terminal.py
17
terminal.py
@@ -122,20 +122,25 @@ def main():
|
||||
|
||||
if s_ticker:
|
||||
candle(
|
||||
s_ticker, (datetime.now() - timedelta(days=180)).strftime("%Y-%m-%d")
|
||||
s_ticker,
|
||||
(datetime.now() - timedelta(days=180)).strftime("%Y-%m-%d"),
|
||||
)
|
||||
|
||||
else:
|
||||
print("No ticker selected. Use 'load ticker' to load the ticker you want to look at.")
|
||||
else:
|
||||
print(
|
||||
"No ticker selected. Use 'load ticker' to load the ticker you want to look at."
|
||||
)
|
||||
main_cmd = True
|
||||
|
||||
elif ns_known_args.opt == "view":
|
||||
|
||||
if s_ticker:
|
||||
view(l_args, s_ticker, s_start, s_interval, df_stock)
|
||||
|
||||
else:
|
||||
print("No ticker selected. Use 'load ticker' to load the ticker you want to look at.")
|
||||
|
||||
else:
|
||||
print(
|
||||
"No ticker selected. Use 'load ticker' to load the ticker you want to look at."
|
||||
)
|
||||
main_cmd = True
|
||||
|
||||
elif ns_known_args.opt == "export":
|
||||
|
||||
Reference in New Issue
Block a user