kestrel-strategy

Installation
SKILL.md

🦅 KESTREL v2.0 — XYZ Macro Breakout Rider

The first Senpi agent to trade Hyperliquid XYZ DEX (commodities/metals/indices/equities) on a v2 producer architecture.

What v2.0 fixes from v1.x

v1.1 was a v1 full-agency Python scanner that:

  • Called create_position directly (no LLM gate, no chain telemetry)
  • Used ensureExecutionAsTaker: false on entries (resting-on-book bug)
  • Had over-strict scoring math: MOVE_EXHAUSTION penalty cancelled out 4H alignment, leaving most breakouts below MIN_SCORE 6

v2.0 fixes all three:

Architecture: v2 producer + LLM gate + DSL

  • kestrel-producer.py emits scored breakout signals via SenpiClient.push_signal() (direct HTTP POST). NO execution code.
  • Runtime LLM gate is regime-aware — applies macro vetoes (BTC drawdown propagating to risk-off equities, vol expansion spikes) the producer can't see.
  • risk.guard_rails declarative — runtime owns daily caps, drawdown halt, cooldowns.
  • Trade chain DB emits LIFECYCLE / DECISION_EXECUTED / ACTION_RESULT / DSL_CREATED / DSL_CLOSED — first time Kestrel has telemetry.
Related skills
Installs
13
GitHub Stars
77
First Seen
Apr 13, 2026