dsl-dynamic-stop-loss

Implement dynamic trailing stop loss for Hyperliquid perpetual positions.

113|34|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/Senpi-ai/senpi-skills --skill dsl-dynamic-stop-loss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dsl-dynamic-stop-loss
Source: https://github.com/Senpi-ai/senpi-skills/tree/main/dsl-dynamic-stop-loss
Command: npx skills add https://github.com/Senpi-ai/senpi-skills --skill dsl-dynamic-stop-loss

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates dynamic/trailing stops for leveraged Hyperliquid positions, reducing manual monitoring and preventing premature exits.

Core Features & Use Cases

  • ROE-based tiering: triggers adjustable profit floors as positions grow.
  • Phase-based risk: Phase 1 uses a wide retrace and absolute floor; Phase 2 tightens protection with per-tier floors and trailing floors for LONG and SHORT.
  • Per-strategy state isolation: each DSL strategy runs independently and auto-cleans on close.

Quick Start

Configure a DSL strategy for a LONG or SHORT Hyperliquid position and let the system monitor prices and close breaches automatically.

Frequently Asked Questions about dsl-dynamic-stop-loss

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate trailing stop losses for Hyperliquid perpetual positions?

You can automate trailing stop losses for Hyperliquid perpetuals by running a Python3 cron-based strategy with the dsl-v5.py script, which monitors prices and auto-closes positions on retrace breaches.

How does ROE-based tiering protect leveraged trading profits?

ROE-based tiering protects leveraged profits by applying phase-driven floors and per-tier retrace limits. As position ROE grows, the system tightens trailing stops to lock in gains for both LONG and SHORT trades.

Do I need mcporter with Senpi authentication to run dynamic stop loss strategies?

Yes, you need mcporter with Senpi authentication alongside Python3 and a cron-based setup. These dependencies are required to execute the dsl-v5.py script and reconcile your per-strategy state files.

Can I run multiple independent dynamic stop loss strategies simultaneously?

Yes, you can run multiple strategies simultaneously because the engine uses per-strategy state isolation. Each DSL strategy runs independently, maintains its own state file, and auto-cleans when a position closes.

What is the difference between Phase 1 and Phase 2 risk management for dynamic trailing stops?

Phase 1 risk management uses a wide retrace and absolute floor to prevent premature exits, while Phase 2 tightens protection by applying per-tier floors and trailing floors for both LONG and SHORT positions.