style: inline single-use instrument context vars

This commit is contained in:
CadeYu
2026-03-21 21:31:38 +08:00
parent 08bfe70a69
commit 7d200d834a
6 changed files with 6 additions and 12 deletions
@@ -15,8 +15,7 @@ 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"]
instrument_context = build_instrument_context(ticker)
instrument_context = build_instrument_context(state["company_of_interest"])
tools = [
get_fundamentals,