Skip to content

hypurrquant/perp-cli

v0.5.0 Feature

This release adds 3 notable features for engineering teams evaluating rollout.

Published 2mo MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-agent arbitrage claude cli defi ethereum
+6 more
funding-rate hyperliquid mcp-server perpetual-futures solana trading-cli

Summary

AI summary

Default bridge cost reduced to zero for same‑chain arbitrage.

Full changelog

v0.5.0 — Arb Consolidation + HIP-3 + TUI Improvements

Arb Command Consolidation

  • Consolidated 25 arb subcommands → 9 (scan, exec, close, auto, status, log, config, alerts, export)
  • arb scan is now the single entry point: --rates, --basis, --gaps, --hip3, --history, --positions, --compare
  • --basis [symbol] / --history [symbol] accept optional symbol argument
  • Default scan mode changed from perp-perpall (shows both spot-perp and perp-perp)

Price Gap Monitoring (NEW)

  • arb scan --gaps — cross-exchange price gap table
  • arb scan --live — continuous auto-refresh monitoring
  • arb scan --track -s ETH — track a symbol's price gap over time
  • arb scan --alert 0.5 -s ETH — alert when gap exceeds threshold

HIP-3 Deployed Dex Support

  • Global asset index scheme (110000 + dexOffset) for HIP-3 order placement
  • Fixed dex orderbook (requires dex-prefixed coin name + dex param)
  • Cancel/trigger orders via raw action (SDK doesn't support dex)
  • --hip3 flag for market list, account positions, account orders
  • Symbol matching supports dex prefix (e.g., market info US500 matches km:US500)

TUI Improvements

  • Orderbook: spread value ($+%), cumulative USD depth, visual depth bars
  • Arb scan tables: proper column alignment via cli-table3
  • Market list: per-exchange tables in multi-exchange mode

Fixes

  • Lighter: toTicks() validation prevents silent 0-size orders on tiny amounts
  • Lighter: position leverage shows actual (notional/equity) not max
  • HL: better error handling for non-JSON API responses
  • HL: triggerOrder() uses raw action wire format (fixes "Unknown asset" errors)
  • Account settings: fix crash when API returns non-array
  • JSON totalSpotValueUsd excludes unified USDC + HIP-3 open orders
  • Liquidity: 10% buffer for executable size calculation
  • Default bridge cost: $0.50 → $0 (same-chain arbs have no bridge cost)

Full Changelog

https://github.com/hypurrquant/perp-cli/compare/v0.4.12...v0.5.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track hypurrquant/perp-cli

Get notified when new releases ship.

Sign up free

About hypurrquant/perp-cli

Multi-DEX perpetual futures trading MCP server for Pacifica (Solana), Hyperliquid (HyperEVM), and Lighter (Ethereum). 18 tools for market data, trade execution with dry-run safety, funding rate arbitrage scanning, portfolio analytics, and cross-exchange comparison.

All releases →

Beta — feedback welcome: [email protected]