Programming, Technology, Data Science, Finance, Investing.
load_dotenv(dotenv_path=dotenv_path) simfin_token = os.environ["SIMFIN_TOKEN"] openai_token = os.environ.get("OPENAI_API_KEY") # Replace with the ticker, year, and period you want to analyze ticker = "AAPL" year = "2023" period = "q1" 7. Run the script. python3 main.py That’s it! In the end, the