INNER CODE UNIT · Python
cmd_systemone
initial-d/ml-quant-trading · src/mlquant/cli/main.py:386
def cmd_systemone() -> None:
"""Typed decision adapter for research evidence artifacts."""
@cmd_systemone.command("build-state")
@click.option(
"--artifacts-dir",
"artifacts_dir",
required=True,
type=click.Path(exists=True, file_okay=False, path_type=Path),
help="Directory containing panel.pt, predictions.pt, weights.pt, and optional summary.json.",
)
@click.option(
"--as-of-index",
default=-2,
show_default=True,
type=int,
help="Date index used to build the state. Negative indices count from the end.",