Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Guides

Step-by-step guides for common tasks.

Getting Started

Common Patterns

Quick Price Check → Trade

PRICE=$(hlz price BTC -q)
hlz buy BTC 0.1 @${PRICE}

Monitor → React

hlz stream trades BTC | while read -r line; do
  echo "$line" | jq -r '.sz' | xargs -I {} sh -c '
    if [ $(echo "{} > 10" | bc) -eq 1 ]; then
      echo "Whale alert: {} BTC"
    fi
  '
done

Portfolio Snapshot

hlz portfolio --json > portfolio_$(date +%Y%m%d).json

Batch Execution

cat <<EOF | hlz batch --stdin
buy BTC 0.1 @98000
buy ETH 1.0 @3400
sell SOL 100 @180
EOF