refactor: clean up imports

This commit is contained in:
mogita 2025-08-16 16:44:19 +08:00
parent 80e692a51d
commit 63f9f2e9fc
No known key found for this signature in database
GPG Key ID: A0AA1B9C57A48ECF
1 changed files with 1 additions and 3 deletions

View File

@ -14,6 +14,7 @@ from tqdm import tqdm
import yfinance as yf
from .config import get_config, set_config, DATA_DIR
from tradingagents.utils.provider_utils import get_openai_client
def get_finnhub_news(
ticker: Annotated[
@ -703,7 +704,6 @@ def get_YFin_data(
def get_stock_news_openai(ticker, curr_date):
config = get_config()
from tradingagents.utils.provider_utils import get_openai_client
client = get_openai_client(config)
response = client.responses.create(
@ -739,7 +739,6 @@ def get_stock_news_openai(ticker, curr_date):
def get_global_news_openai(curr_date):
config = get_config()
from tradingagents.utils.provider_utils import get_openai_client
client = get_openai_client(config)
response = client.responses.create(
@ -775,7 +774,6 @@ def get_global_news_openai(curr_date):
def get_fundamentals_openai(ticker, curr_date):
config = get_config()
from tradingagents.utils.provider_utils import get_openai_client
client = get_openai_client(config)
response = client.responses.create(