hydra-strategy
HYDRA v2.0 — Squeeze Detector. Finds crowded trades about to unwind. Funding extreme + SM positioned against the crowd + price starting to move. Goes opposite to the funding crowd. Only liquid assets ($20M+ volume). DSL exit managed by plugin runtime via runtime.yaml.
- License 许可
- MIT
- 最近更新
- 2026-07-02
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- hydra-strategy
- license
- MIT
- metadata
- { "author": "jason-goldberg", "version": "2.0", "exchange": "hyperliquid", "platform": "senpi", "requires": [ "senpi-trading-runtime" ] }
- description
- HYDRA v2.0 — Squeeze Detector. Finds crowded trades about to unwind. Funding extreme + SM positioned against the crowd + price starting to move. Goes opposite to the funding crowd. Only liquid assets ($20M+ volume). DSL exit managed by plugin runtime via runtime.yaml.
02 资源文件 5
- 参考文档config/hydra-config.json55 B
- 参考文档README.md770 B
- 参考文档runtime.yaml1.6 KB
- 脚本scripts/hydra_config.py8.4 KB
- 脚本scripts/hydra-scanner.py18.1 KB
03 SKILL.md 正文
? HYDRA v2.0 — Squeeze Detector
Find the crowd. Go against them. Ride the cascade.
⛔ CRITICAL AGENT RULES
RULE 1: Install path is /data/workspace/skills/hydra-strategy/
RULE 2: THE SCANNER DOES NOT EXIT POSITIONS
DSL is the ONLY exit mechanism. v1.0 had missing wallet fields causing positions to run 3+ days unprotected. v2.0 uses the plugin runtime.
RULE 3: MAX 2 POSITIONS at a time
RULE 4: Verify runtime is installed on every session start
RULE 5: Never modify parameters.
RULE 6: MAX 4 ENTRIES PER DAY
RULE 7: 120-minute per-asset cooldown
RULE 8: NEVER trade illiquid assets (BLUR, STABLE, DOOD, DEGEN, etc.)
v1.0 Post-Mortem
- 30 trades, 20% win rate, -$161 loss
- Only 2 of 6 signal sources ever fired (FDD + LCD at minimum 55 conviction)
- Traded illiquid garbage (BLUR, STABLE, DOOD) with wide spreads
- 100% LONG bias — missed short squeezes entirely
- FDD threshold bug (0.0001 instead of 0.001) let weak signals through
- Missing wallet fields left positions unprotected for 3+ days
What v2.0 Fixes
| v1.0 | v2.0 |
|---|---|
| 6 sources, only 2 fired | 2 clean sources: funding + SM divergence |
| Min conviction 55 | Min score 7 with multi-source confirmation |
| Any asset | $20M+ daily volume only |
| 100% LONG | Direction-agnostic (goes against funding crowd) |
| FDD threshold bug | Clean funding threshold |
| Missing wallet fields | Plugin runtime handles everything |
The Squeeze Thesis
- Funding extreme → crowd is piled one direction and paying for it
- SM against the crowd → smart money disagrees with the crowd
- Price starting to move → the squeeze is beginning
- Hydra enters opposite to the crowd → rides the liquidation cascade
Positive funding = crowd is LONG → Hydra goes SHORT. Negative funding = crowd is SHORT → Hydra goes LONG.
Scoring (10 points max)
| Signal | Points | Description |
|---|---|---|
| Funding extremity | 1-3 | How crowded is the trade? |
| SM against crowd | 1-3 | How committed is smart money against the crowd? |
| Price moving against crowd | 0-2 | Is the squeeze starting? |
| 1H momentum confirms | 0-1 | Short-term follow-through |
| Volume | 0-1 | High volume = more liquidations |
Min score: 7. Requires strong funding + SM divergence + at least one confirming signal.
Runtime Setup
sed -i 's/${WALLET_ADDRESS}/<WALLET>/' /data/workspace/skills/hydra-strategy/runtime.yaml
sed -i 's/${TELEGRAM_CHAT_ID}/<CHAT_ID>/' /data/workspace/skills/hydra-strategy/runtime.yaml
openclaw senpi runtime create --path /data/workspace/skills/hydra-strategy/runtime.yaml
openclaw senpi runtime list
openclaw senpi status
Bootstrap Gate
On EVERY session start, check config/bootstrap-complete.json. If missing:
- Read senpi-trading-runtime skill
- Verify Senpi MCP
- Set wallet and telegram in runtime.yaml
- Install runtime
- Verify:
openclaw senpi runtime listandopenclaw senpi status - Create scanner cron (5 min, main)
- Write
config/bootstrap-complete.json - Send: "? HYDRA v2.0 online. Hunting squeezes. Silence = no crowding."
Risk
| Rule | Value |
|---|---|
| Max positions | 2 |
| Max entries/day | 4 |
| Leverage | 7x |
| Min daily volume | $20M |
| Cooldown | 120 min |
| Banned assets | BLUR, STABLE, DOOD, DEGEN |
Files
| File | Purpose |
|---|---|
scripts/hydra-scanner.py |
Squeeze detector — funding crowd vs SM divergence |
scripts/hydra_config.py |
Config helper |
config/hydra-config.json |
Wallet, strategy ID |
runtime.yaml |
Runtime YAML for DSL plugin |
License
MIT — Built by Senpi (https://senpi.ai).
04 同仓库更多 Skills
supermemory
Supermemory is a state-of-the-art memory and context infrastructure for AI agents. Use this skill when building applications that need persistent memory, user personalization, long-term context retention, or semantic search across knowledge bases. It provides Memory API for learned user context, User Profiles for static/dynamic facts, and RAG for semantic search. Perfect for chatbots, assistants, and knowledge-intensive applications.
wolverine-strategy
WOLVERINE v2.0 — HYPE alpha hunter. Entry-only scanner, DSL-exit-only architecture. v1.1 lost -22.7% because the scanner's thesis exit chopped 25/27 trades before DSL could manage them. v2.0 removes thesis exit entirely. Scanner decides entries (score 8+, 4H/1H aligned, SM consensus). DSL manages all exits (wide Phase 1 for HYPE volatility, trailing tiers starting at +15% ROE). Leverage lowered to 7x. Max 4 entries/day. 3-hour cooldown between entries. DSL exit managed by plugin runtime via runtime.yaml.
wolf-strategy
WOLF v6.3 — Fully autonomous multi-strategy trading for Hyperliquid perps via Senpi MCP. Manages multiple strategies simultaneously, each with independent wallets, budgets, slots, and DSL configs. 5+N cron architecture: 5 shared wolf crons (Emerging Movers 3min, SM Flip 5min, Watchdog 5min, Risk Guardian 5min, Health Check 10min) plus one DSL v5.2 cron per strategy (native Hyperliquid SL sync via dsl-dynamic-stop-loss skill v5.3.1). Same asset can be traded in different strategies simultaneously. Enter early on first jumps, not at confirmed peaks. Dynamic risk-based leverage per strategy. Requires Senpi MCP connection, python3, mcporter CLI, OpenClaw cron system, and dsl-dynamic-stop-loss skill (provides dsl-cli.py + dsl-v5.py).
wolf-howl
HOWL v2 — Hunt, Optimize, Win, Learn. Nightly self-improvement loop for the WOLF autonomous trading strategy. Runs once per day (via cron) to review all trades from the last 24 hours, compute win rates, analyze signal quality correlation, evaluate DSL tier performance, identify missed opportunities, and produce concrete improvement suggestions for the wolf-strategy skill. v2 adds fee drag ratio (FDR) analysis, holding period bucketing, LONG vs SHORT regime detection, rotation cost tracking, cumulative drift detection, and gross vs net profit factor separation. Use when setting up daily trade review automation, analyzing trading performance, or improving an autonomous trading strategy through data-driven feedback loops. Requires Senpi MCP connection, mcporter CLI, and OpenClaw cron system.
whale-index
Auto-mirror top Discovery traders on Hyperliquid. Scans top 50 traders, scores on PnL rank (35%), win rate (25%), consistency (20%), hold time (10%), drawdown (10%). Creates 2-5 mirror strategies with overlap checks. Daily rebalance with 2-day watch period before swaps. Use when setting up trader mirroring, copy trading, or portfolio auto-rebalancing based on Discovery leaderboard performance.
vixen-strategy
VIXEN v1.0 — Dual-mode emerging movers scanner. Built from FOX v1.6 live trading data (+34.5% ROI). Two entry modes: STALKER (steady accumulation, score 6+, catches the SM buildup BEFORE the explosion) and STRIKER (violent FIRST_JUMP, score 9+, with raw volume confirmation to filter blow-off tops). 2-hour per-asset cooldown after Phase 1 exits. DSL High Water Mode mandatory.