Install & Quick Start
Prerequisites
- Hyperliquid API/Agent wallet (address + private key)
- Optional: CrowdCent API key
Install
If uv is not yet installed:
Install cc-liquid as a CLI tool:
Or run with uvx (no install)
First-time setup
cc-liquid init # interactive setup wizard (recommended)
cc-liquid init --non-interactive # use safe defaults without prompts
The wizard will guide you through:
- Choosing testnet vs mainnet (defaults to testnet for safety)
- Selecting data source (CrowdCent, Numerai, or local)
- Entering API keys (with links to get them)
- Setting up portfolio parameters
- Auto-adding
.env
to.gitignore
for security
Example init result:
Warning
Before running commands, your secrets must be loaded into your shell's environment. cc-liquid
will attempt to load any .env in PATH, but if you are encountering errors it is likely that you need to manually export your environment variables. From the directory with your .env, run:
This command reads your .env
file, filters out comments, and exports the variables. You'll need to run it in each new terminal session.
Enable tab auto-completion in your shell (optional)
Tabs for commands, options, and values.
Manual equivalent:
Restart your shell to activate completion, or run source ~/.bashrc
, source ~/.zshrc
, etc. as needed.
See Click Shell Completion for details.
Quick Start
Configure
View configuration for full configuration details. After running cc-liquid init
, you'll have two files:
1) .env
- Contains your secrets (auto-added to .gitignore):
# Secrets only - NEVER commit this file to git!
CROWDCENT_API_KEY=... # from https://crowdcent.com/profile
HYPERLIQUID_PRIVATE_KEY=0x... # from https://app.hyperliquid.xyz/API
2) cc-liquid-config.yaml
- Your trading configuration:
active_profile: personal
profiles:
personal:
owner: 0xYourMain
vault: null
signer_env: HYPER_AGENT_KEY_PERSONAL
data:
source: crowdcent # crowdcent | numerai | local
path: predictions.parquet
date_column: release_date
asset_id_column: id
prediction_column: pred_10d
portfolio:
num_long: 10
num_short: 10
target_leverage: 1.0
rebalancing:
every_n_days: 10
at_time: "18:15"
execution:
slippage_tolerance: 0.005
First run
cc-liquid config # verify config is loaded
cc-liquid account # view account and positions
cc-liquid rebalance # plan and execute trades (prompts for confirmation)
Autopilot (continuous)
Runs a live dashboard and executes on your schedule.
See the User Guide for a deeper walkthrough.