mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-11-03 16:12:44 +02:00
feat(graph): settle past decisions alongside the analysts (#1428)
- a Memory Log step runs beside the analysts, settles every ticker's due decisions and loads the lessons known by the trade date for the Portfolio Manager; the run no longer settles before it starts - a settlement failure is logged and noted in the report's header instead of ending the run - the checkpoint signature records the new layout
This commit is contained in:
+3
-2
@@ -211,8 +211,9 @@ def run_analysis(checkpoint: bool | None = None, portfolio=None, flags=None):
|
||||
)
|
||||
update_display(layout, spinner_text, stats_handler=stats_handler, start_time=start_time)
|
||||
|
||||
# The same initial state propagate() builds: settled memory log, past
|
||||
# context and resolved instrument identity.
|
||||
# The same initial state propagate() builds, with the resolved
|
||||
# instrument identity; the graph's Memory Log step settles past
|
||||
# decisions and loads their lessons alongside the analysts.
|
||||
init_agent_state = graph.create_run_state(
|
||||
selections["ticker"], selections["analysis_date"], selections["asset_type"], portfolio
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user