Merge branch 'main' into gemini
This commit is contained in:
commit
2356e2d764
|
|
@ -725,4 +725,4 @@ def get_fundamentals(ticker, curr_date):
|
|||
search_provider = SearchProviderFactory.create_provider(config)
|
||||
query = f"Search for fundamental analysis data and financial metrics for {ticker} stock from the month before {curr_date} to the month of {curr_date}. Look for earnings reports, financial ratios like PE, PS, cash flow, revenue growth, analyst ratings, and any fundamental analysis discussions. Please present key metrics in a structured format."
|
||||
return search_provider.search(query, ticker, curr_date)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -173,9 +173,9 @@ class TradingAgentsGraph:
|
|||
continue
|
||||
|
||||
message = chunk["messages"][-1]
|
||||
# 중복 메시지 필터링
|
||||
|
||||
if message.content and message.content.strip():
|
||||
# FINAL PROPOSAL 중복 방지
|
||||
|
||||
if "FINAL TRANSACTION PROPOSAL:" in message.content:
|
||||
if not hasattr(self, '_final_printed'):
|
||||
message.pretty_print()
|
||||
|
|
|
|||
Loading…
Reference in New Issue