Programming, Technology, Data Science, Finance, Investing.
environment vairables in a .env file SIMFIN_TOKEN=YOUR_SIMFIN_TOKEN OPENAI_API_KEY=YOUR_OPENAI_API_KEY 6. Edit the main.py file to change the ticker, period and year. import json import os from dotenv import load_dotenv from pathlib import Path import openai import simfin dotenv_path = Path(".env")