Perp

•
46
•

Manages perpetual futures trading, arbitrage, and portfolio across multiple decentralized exchanges.

The Perp CLI is a powerful command-line interface designed for multi-DEX perpetual futures trading and management. It enables users to trade, bridge assets, and execute sophisticated arbitrage strategies across major exchanges like Pacifica (Solana), Hyperliquid (HyperEVM), and Lighter (Ethereum). With features like one-command dual-leg funding rate arbitrage, a unified portfolio overview, and various integrated trading bots (TWAP, grid, DCA, trailing-stop), it streamlines complex DeFi operations. Its agent-first design ensures structured JSON outputs, runtime schema introspection, and pre-trade validation, making it highly suitable for AI agent integration and automated trading systems.

Key Features

01Integrated trading bots including TWAP, grid, DCA, and trailing-stop with background job management
02Trade, bridge, and arbitrage across 3 major perpetual futures exchanges (Pacifica, Hyperliquid, Lighter)
03Funding rate arbitrage (perp-perp & spot-perp) with scan and one-command dual-leg execution
0418 GitHub stars
05Unified portfolio overview of balances, positions, and risk across all connected exchanges
06Agent-First CLI design with structured JSON output, runtime schema introspection, and pre-trade validation

Use Cases

01Monitoring and managing a consolidated portfolio of perpetual futures positions and balances across multiple platforms.
02Automated funding rate arbitrage across various decentralized perpetual futures exchanges.
03Executing advanced trading strategies through integrated bots or AI agents like Claude Code and Cursor.