hot fix: company -> coin (fundamental & news)
This commit is contained in:
parent
1732b54e0c
commit
19a9c704d9
|
|
@ -8,8 +8,8 @@ from tradingagents.dataflows.config import get_config
|
|||
def create_fundamentals_analyst(llm):
|
||||
def fundamentals_analyst_node(state):
|
||||
current_date = state["trade_date"]
|
||||
ticker = state["company_of_interest"]
|
||||
company_name = state["company_of_interest"]
|
||||
ticker = state["coin_of_interest"]
|
||||
company_name = state["coin_of_interest"]
|
||||
|
||||
tools = [
|
||||
get_fundamentals,
|
||||
|
|
@ -34,7 +34,7 @@ def create_fundamentals_analyst(llm):
|
|||
" If you or any other assistant has the FINAL TRANSACTION PROPOSAL: **BUY/HOLD/SELL** or deliverable,"
|
||||
" prefix your response with FINAL TRANSACTION PROPOSAL: **BUY/HOLD/SELL** so the team knows to stop."
|
||||
" You have access to the following tools: {tool_names}.\n{system_message}"
|
||||
"For your reference, the current date is {current_date}. The company we want to look at is {ticker}",
|
||||
"For your reference, the current date is {current_date}. The coin we want to look at is {ticker}",
|
||||
),
|
||||
MessagesPlaceholder(variable_name="messages"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ from tradingagents.dataflows.config import get_config
|
|||
def create_news_analyst(llm):
|
||||
def news_analyst_node(state):
|
||||
current_date = state["trade_date"]
|
||||
ticker = state["company_of_interest"]
|
||||
ticker = state["coin_of_interest"]
|
||||
|
||||
tools = [
|
||||
get_news,
|
||||
|
|
@ -31,7 +31,7 @@ def create_news_analyst(llm):
|
|||
" If you or any other assistant has the FINAL TRANSACTION PROPOSAL: **BUY/HOLD/SELL** or deliverable,"
|
||||
" prefix your response with FINAL TRANSACTION PROPOSAL: **BUY/HOLD/SELL** so the team knows to stop."
|
||||
" You have access to the following tools: {tool_names}.\n{system_message}"
|
||||
"For your reference, the current date is {current_date}. We are looking at the company {ticker}",
|
||||
"For your reference, the current date is {current_date}. We are looking at the coin {ticker}",
|
||||
),
|
||||
MessagesPlaceholder(variable_name="messages"),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue