Skip to content

CLI Reference

This page provides auto-generated documentation for the cc-liquid CLI tool.

cc-liquid

cc-liquid - A metamodel-based rebalancer for Hyperliquid.

Usage:

cc-liquid [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

cc-liquid account

Show comprehensive account and positions summary.

Usage:

cc-liquid account [OPTIONS]

Options:

  --help  Show this message and exit.

cc-liquid close-all

Close all positions and return to cash.

Usage:

cc-liquid close-all [OPTIONS]

Options:

  --skip-confirm  Skip confirmation prompt for closing positions.
  --set TEXT      Override config values (e.g., --set is_testnet=true)
  --force         Force close positions below min notional by composing a two-
                  step workaround.
  --help          Show this message and exit.

cc-liquid completion

Shell completion utilities.

Usage:

cc-liquid completion [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

cc-liquid completion install

Install shell completion for the current user.

Writes the generated completion script to a standard location and, for Bash/Zsh, appends a source line to the user's rc file idempotently.

Usage:

cc-liquid completion install [OPTIONS]

Options:

  --shell [bash|zsh|fish]  Target shell. Defaults to auto-detect from $SHELL.
  --prog-name TEXT         Program name to install completion for (as
                           installed on PATH).  [default: cc-liquid]
  --help                   Show this message and exit.

cc-liquid config

Show the current configuration.

Usage:

cc-liquid config [OPTIONS]

Options:

  --help  Show this message and exit.

cc-liquid download-crowdcent

Download the CrowdCent meta model.

Usage:

cc-liquid download-crowdcent [OPTIONS]

Options:

  -o, --output TEXT  Output file path (defaults to path in config).
  --help             Show this message and exit.

cc-liquid download-numerai

Download the Numerai meta model.

Usage:

cc-liquid download-numerai [OPTIONS]

Options:

  -o, --output TEXT  Output file path (defaults to path in config).
  --help             Show this message and exit.

cc-liquid init

Interactive setup wizard for first-time users.

Guides you through creating config files with validation and helpful defaults.

Usage:

cc-liquid init [OPTIONS]

Options:

  --non-interactive  Skip interactive setup, use defaults
  --help             Show this message and exit.

cc-liquid profile

Manage configuration profiles (owner/vault/signer).

Usage:

cc-liquid profile [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

cc-liquid profile list

List available profiles from YAML and highlight the active one.

Usage:

cc-liquid profile list [OPTIONS]

Options:

  --help  Show this message and exit.

cc-liquid profile show

Show details for a profile (defaults to active).

Usage:

cc-liquid profile show [OPTIONS] [NAME]

Options:

  --help  Show this message and exit.

cc-liquid profile use

Set active profile and persist to YAML.

Usage:

cc-liquid profile use [OPTIONS] NAME

Options:

  --help  Show this message and exit.

cc-liquid rebalance

Execute rebalancing based on the configured data source.

Usage:

cc-liquid rebalance [OPTIONS]

Options:

  --skip-confirm  Skip confirmation prompt for executing trades.
  --set TEXT      Override config values (e.g., --set data.source=numerai
                  --set portfolio.num_long=10)
  --help          Show this message and exit.

cc-liquid run

Start continuous monitoring and automatic rebalancing with live dashboard.

Usage:

cc-liquid run [OPTIONS]

Options:

  --skip-confirm   Skip confirmation prompt for executing trades.
  --set TEXT       Override config values (e.g., --set is_testnet=true)
  --refresh FLOAT  Dashboard update cadence in seconds.  [default: 1.0]
  --tmux           Run inside a fixed tmux session (attach if exists, else
                   create and run).
  --help           Show this message and exit.