INNER CODE UNIT · Python
analyze
TauricResearch/TradingAgents · cli/main.py:37
def analyze(
ctx: typer.Context,
checkpoint: bool | None = typer.Option(
None,
"--checkpoint/--no-checkpoint",
help="Enable/disable checkpoint-resume (save state after each node so a "
"crashed run can resume). Omit to honor TRADINGAGENTS_CHECKPOINT_ENABLED.",
),
clear_checkpoints: bool = typer.Option(
False,
"--clear-checkpoints",
help="Delete all saved checkpoints before running (force fresh start).",
),
portfolio: str = typer.Option(
None,
"--portfolio",
help="JSON file with current holdings and cash, so the trader, risk and "
"portfolio agents size against your actual position.",