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
@@ -13,8 +13,7 @@ def create_market_analyst(llm):
def market_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_stock_data,