mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-09-19 11:15:24 +03:00
- PortfolioContext input, rendered once into state and read by the trader, risk and portfolio agents - --portfolio JSON file on the CLI - a run without it is never treated as a flat book - the checkpoint signature keys on the portfolio
This commit is contained in:
@@ -69,7 +69,7 @@ class _FakeGraph:
|
||||
self.graph = self
|
||||
self.propagator = self
|
||||
|
||||
def create_run_state(self, ticker, trade_date, asset_type="stock"):
|
||||
def create_run_state(self, ticker, trade_date, asset_type="stock", portfolio=None):
|
||||
self.calls.append(("create_run_state", ticker, trade_date))
|
||||
return {"messages": [], "company_of_interest": ticker}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user