Automated trailing stop loss for leveraged perp positions on Hyperliquid. Monitors price via cron, ratchets profit floors upward through configurable tiers, and auto-closes positions on breach — no agent intervention required for the critical path.
The script closes positions directly via mcporter. If the agent is slow, busy, or restarting, the position still gets closed on the next cron tick.
All tier triggers use ROE (Return on Equity): PnL / margin × 100. This means a triggerPct: 10 fires at 10% return on margin, not 10% price move. Leverage is accounted for automatically.
Hyperliquid에서 레버리지 영구 포지션에 대한 자동 추적 손절매입니다. cron을 통해 가격을 모니터링하고, 구성 가능한 계층을 통해 수익 수준을 조정하고, mcporter를 통해 위반 시 포지션을 자동 마감합니다. 주요 경로에 대한 에이전트 개입이 없습니다. LONG 및 SHORT에서 작동합니다. 레버리지를 자동으로 설명하는 ROE 기반(마진 수익률) 계층 트리거입니다. 열려 있는 Hyperliquid perp 포지션을 보호하고, 추적 손절매를 설정하고, 수익 등급을 관리하거나 위반 시 포지션 청산을 자동화할 때 사용합니다. 출처: senpi-ai/senpi-skills.