Skip to content

bullpen hyperliquid pair leverage

Last updated: July 13, 2026

Adjust leverage for an existing Pear pair position

Usage

bullpen hyperliquid pair leverage [OPTIONS] --leverage <LEVERAGE> <POSITION_ID>

Live Help

Adjust leverage for an existing Pear pair position

Usage: bullpen hyperliquid pair leverage [OPTIONS] --leverage <LEVERAGE> <POSITION_ID>

Arguments:
  <POSITION_ID>
          Pear position ID

Options:
      --leverage <LEVERAGE>
          New pair leverage, 1-100

      --no-multi-wallet-warning
          Suppress the table-mode warning shown when multiple EVM wallet accounts exist

      --output <OUTPUT>
          Output format for command results

          [possible values: table, json]

      --env <ENV>
          Target environment to connect to (overrides config.toml)

          [env: BULLPEN_ENV=]
          [possible values: staging, production]

      --preview
          Show the Pear leverage update body without submitting

      --config <CONFIG>
          Path to a custom config.toml file (overrides $BULLPEN_CONFIG and the default location).

          Explicit --config and BULLPEN_CONFIG paths fail closed: if the file is missing, the CLI exits validation instead of silently loading defaults. Credentials still resolve via BULLPEN_HOME, so set BULLPEN_HOME too when isolating a session.

  -y, --yes
          Required confirmation flag for live Pear leverage update

      --read-only
          Enable read-only mode: blocks all mutating commands

      --non-interactive
          Suppress interactive prompts; does NOT imply --yes for money-moving commands

          [env: BULLPEN_NON_INTERACTIVE=]

  -h, --help
          Print help (see a summary with '-h')

EXAMPLES:
  # Preview changing leverage for an open Pear position
  bullpen hyperliquid pair leverage 550e8400-e29b-41d4-a716-446655440003 --leverage 4 --preview

  # Submit a confirmed leverage update
  bullpen hyperliquid pair leverage 550e8400-e29b-41d4-a716-446655440003 --leverage 4 --yes

PEAR PREREQUISITES:
  Use `bullpen status --output json` and `bullpen doctor auth --output json`
  to confirm the active Bullpen-managed EVM wallet. Run `bullpen login` only
  when diagnostics report login is required. Enable `hyperliquid` for reads/status and
  `hyperliquid_trading` before live pair leverage updates. Run
  `bullpen hyperliquid pair status --output json` or
  `bullpen hyperliquid pair setup --preview --output json` to verify setup first.

SAFETY:
  Preview never signs or submits. Live leverage updates call Pear
  POST /positions/{positionId}/adjust-leverage, require completed Pear setup, and
  require --yes. If Pear returns a retryable error after submission starts,
  inspect pair positions and orders before retrying. Setup/deposit blockers
  return guidance before signing or submitting. Pear service-side auth rejection
  after a live write is no-replay.

Example Commands

bullpen hyperliquid pair leverage 550e8400-e29b-41d4-a716-446655440003 --leverage 4 --preview
bullpen hyperliquid pair leverage 550e8400-e29b-41d4-a716-446655440003 --leverage 4 --yes
bullpen hyperliquid pair leverage 550e8400-e29b-41d4-a716-446655440003 --leverage 4 --preview --output json

JSON Output

Contract: JSON Output Contract.

This command supports --output json, but this generated reference page intentionally does not include a synthetic success schema or example.

Use the live command in your target environment to inspect command-specific success fields. Error output follows the shared JSON output contract linked above.

Schema version: 1 when a command emits schema_version; otherwise treat the current command shape as contract version 1.

Stability

Patch releases may add nullable or optional fields. Minor releases may add required fields or increment schema_version. Major releases may remove or rename fields.