import warnings from urllib3.exceptions import NotOpenSSLWarning warnings.filterwarnings('ignore', category=NotOpenSSLWarning) from trading.menu import print_main_menu, print_technical_scanner_menu from trading.journal import journal_menu from screener.scanner_controller import run_technical_scanner from screener.canslim_controller import run_canslim_screener from trading.main import main as trading_main def main(): while True: print_main_menu() choice = input("\nSelect an option (1-5): ") if choice == "1": run_canslim_screener() elif choice == "2": print_technical_scanner_menu() scanner_choice = input("\nEnter your choice (1-3): ") run_technical_scanner(scanner_choice) elif choice == "3": trading_main() elif choice == "4": journal_menu() elif choice == "5": print("Exiting...") break else: print("Invalid choice. Please try again.") if __name__ == "__main__": main()