From 01c8b28333bc87637ff661b9741463eeb4917a8d Mon Sep 17 00:00:00 2001 From: didier Date: Thu, 11 Feb 2021 23:17:50 +0000 Subject: [PATCH] Gamestonk to Gamestonks Terminal --- gamestonk.py => gamestonk_terminal.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename gamestonk.py => gamestonk_terminal.py (98%) diff --git a/gamestonk.py b/gamestonk_terminal.py similarity index 98% rename from gamestonk.py rename to gamestonk_terminal.py index 8bcff342c04..5528d89536c 100644 --- a/gamestonk.py +++ b/gamestonk_terminal.py @@ -11,6 +11,8 @@ from discovery import disc_menu as dm from sentiment import sen_menu as sm from prediction_techniques import pred_menu as pm import res_menu as rm +#import warnings +#warnings.simplefilter("always") # delete this important when automatic loading tesla #i.e. when program is done @@ -184,7 +186,7 @@ def main(): s_interval = "1440min" # Set stock by default to speed up testing - s_ticker = "NIO" + s_ticker = "AMD" s_start = datetime.strptime("2020-06-04", "%Y-%m-%d") ts = TimeSeries(key=cfg.API_KEY_ALPHAVANTAGE, output_format='pandas') df_stock, d_stock_metadata = ts.get_daily_adjusted(symbol=s_ticker, outputsize='full') @@ -199,7 +201,7 @@ def main(): 'disc', 'sen', 'res', 'fa', 'ta', 'dd', 'pred']) # Print first welcome message and help - print("\nWelcome to Didier's Gamestonk\n") + print("\nWelcome to Didier's Gamestonk Terminal\n") print_help(s_ticker, s_start, s_interval, b_is_stock_market_open()) # Loop forever and ever @@ -303,7 +305,7 @@ def main(): b_quit = pm.pred_menu(df_stock, s_ticker, s_start, s_interval) if b_quit: - print("Hope you made money today. Good bye my lover, good bye my friend.\n") + print("Hope you enjoyed the terminal. Remember that stonks only go up. Diamond hands.\n") return else: print_help(s_ticker, s_start, s_interval, b_is_stock_market_open())