INNER CODE UNIT · Python

cmd_systemone_evaluate

initial-d/ml-quant-trading · src/mlquant/cli/main.py:514

def cmd_systemone_evaluate(
    state_path: Path,
    decision_path: Path,
    return_threshold: float,
    output_path: Path,
) -> None:
    """Evaluate typed portfolio decisions with realized offline evidence."""
    state = load_systemone_state(state_path)
    decision = load_systemone_state(decision_path)
    payload = systemone_evaluate_decisions(
        state,
        decision,
        return_threshold=return_threshold,
    )
    save_systemone_json(payload, output_path)
    click.echo(f"wrote {output_path}")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…