Skip to content

bullpen hyperliquid tpsl

Last updated: July 13, 2026

Inspect, preview, or submit take-profit / stop-loss trigger leg lifecycle changes

Usage

bullpen hyperliquid tpsl [OPTIONS] <COMMAND>

Subcommands

Subcommand Description
show Show current TP/SL trigger legs for a coin
modify Preview or submit repricing existing TP/SL legs or creating missing full-position legs
clear Preview or submit canceling existing TP/SL legs without manual OID lookup

Live Help

Inspect, preview, or submit take-profit / stop-loss trigger leg lifecycle changes

Usage: bullpen hyperliquid tpsl [OPTIONS] <COMMAND>

Commands:
  show    Show current TP/SL trigger legs for a coin
  modify  Preview or submit repricing existing TP/SL legs or creating missing full-position legs
  clear   Preview or submit canceling existing TP/SL legs without manual OID lookup
  help    Print this message or the help of the given subcommand(s)

Options:
      --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]

      --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.

      --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:
  # Show current TP/SL trigger legs for BTC on an address
  bullpen hyperliquid tpsl show BTC --address 0x1111111111111111111111111111111111111111

  # Export current TP/SL trigger legs as JSON
  bullpen hyperliquid tpsl show BTC --address 0x1111111111111111111111111111111111111111 --output json

  # Preview repricing or creating full-position TP/SL legs
  bullpen hyperliquid tpsl modify BTC --take-profit 71000 --stop-loss 64000 --preview

  # Preview clearing the current stop-loss without manually finding an OID
  bullpen hyperliquid tpsl clear BTC --stop-loss --preview

  # Submit a confirmed TP/SL replacement after re-reading live state
  bullpen hyperliquid tpsl modify BTC --take-profit 71000 --stop-loss 64000 --yes

SAFETY:
  --preview reads current position/order state and prints planned lifecycle legs
  without signing or submitting /exchange. Live modify and clear require --yes
  or an interactive confirmation, re-read live state before signing, preserve
  --subaccount/--vault scope, and report per-leg mixed or missing statuses.
  Preview JSON uses kind "hyperliquid_tpsl_preview" and includes
  would_submit=false, signature_requested=false, exchange_request_submitted=false,
  builder_fee_approval_submitted=false, and builder_approval_requested=false.

VALIDATION NOTE: Live validation covers disposable-position take-profit create/show/clear
  and final flatness. Full positionTpsl replacement remains validation/deferral gated.

Example Commands

bullpen hyperliquid tpsl show BTC --address 0x1111111111111111111111111111111111111111
bullpen hyperliquid tpsl show BTC --address 0x1111111111111111111111111111111111111111 --output json
bullpen hyperliquid tpsl modify BTC --take-profit 71000 --stop-loss 64000 --preview
bullpen hyperliquid tpsl clear BTC --stop-loss --preview
bullpen hyperliquid tpsl modify BTC --take-profit 71000 --stop-loss 64000 --yes
bullpen hyperliquid tpsl --help